ft_irc 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
NamesCommand.hpp
[詳解]
1
7#ifndef NAMES_COMMAND_HPP
8#define NAMES_COMMAND_HPP
9
10#include "ICommand.hpp"
11
12class Channel; // Forward declaration
13
21class NamesCommand : public ICommand {
22 public:
27 NamesCommand(Server *server);
28
35 void execute(Client *client, const std::vector<std::string> &args);
36
37 private:
43 void sendChannelNames(Client *client, Channel *channel);
44};
45
46#endif
Interface for all IRC commands.
チャンネルのメンバーと状態を管理するクラス。
Definition Channel.hpp:25
Represents an IRC client connected to the server.
Definition Client.hpp:25
Abstract base class (interface) for all IRC commands.
Definition ICommand.hpp:26
Implements the NAMES command.
void execute(Client *client, const std::vector< std::string > &args)
Executes the NAMES command.
Implements the core IRC server functionality as a Singleton.
Definition Server.hpp:49