ft_irc 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
UserCommand.hpp
[詳解]
1
7#ifndef USER_COMMAND_HPP
8#define USER_COMMAND_HPP
9
10#include "ICommand.hpp"
11
20class UserCommand : public ICommand {
21 private:
26 void registerClient(Client *client);
27
28 public:
33 UserCommand(Server *server);
34
43 void execute(Client *client, const std::vector<std::string> &args);
44};
45
46#endif
Interface for all IRC commands.
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 core IRC server functionality as a Singleton.
Definition Server.hpp:49
Implements the USER command.
void execute(Client *client, const std::vector< std::string > &args)
Executes the USER command.