-
Notifications
You must be signed in to change notification settings - Fork 1
/
Command.hpp
46 lines (40 loc) · 1.48 KB
/
Command.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Command.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mgo <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/25 17:35:38 by mgo #+# #+# */
/* Updated: 2022/10/12 11:58:43 by mgo ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef COMMAND_HPP
# define COMMAND_HPP
class Server;
class Protocol;
class Client;
class Command
{
public:
Command(Server* sv, Protocol* proto);
~Command(void);
void pass(Client* clnt);
void nick(Client* clnt);
void user(Client* clnt);
void ping(Client* clnt);
void join(Client* clnt);
void part(Client* clnt);
void privmsg(Client* clnt);
void notice(Client* clnt);
void quit(Client* clnt);
void kick(Client* clnt);
void invite(Client* clnt);
void oper(Client* clnt);
void kill(Client* clnt);
void die(Client* clnt);
private:
Server* sv_;
Protocol* proto_;
};
#endif