Improve include dependencies
[clinton/bobotpp.git] / source / Commands.H
CommitLineData
cb21075d 1// Commands.H -*- C++ -*-
2// Copyright (c) 1997, 1998 Etienne BERNARD
c6e7af05 3// Copyright (C) 2002,2005 Clinton Ebadi
cb21075d 4
5// This program is free software; you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation; either version 2 of the License, or
8// any later version.
9
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14
15// You should have received a copy of the GNU General Public License
16// along with this program; if not, write to the Free Software
c99c411a 17// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18// 02110-1301, USA.
cb21075d 19
20#ifndef COMMANDS_H
21#define COMMANDS_H
22
23#include <ctime>
24
25#include "String.H"
cfa82921 26
27class Bot;
28class Message;
cb21075d 29
30class Commands {
31public:
32 static Message Action(Bot *, String, String);
33 static Message AddUser(Bot *, String, String, int, int, bool,
34 std::time_t, String);
35 static Message AddServer(Bot *, String, int);
36 static Message AddShit(Bot *, String, String, int, std::time_t, String);
37 static Message AddServer(Bot *, String, String);
38 static Message Ban(Bot *, String, String);
39 static Message ChangeLevel(Bot *, String, String, int);
672b7d4e 40 static Message CTCP (Bot*, std::string, std::string, std::string);
41 static Message CTCPReply (Bot*, std::string, std::string, std::string);
cb21075d 42 static Message Cycle(Bot *, String);
43 static Message Deban(Bot *, String, String);
44 static Message DelServer(Bot *, int);
45 static Message DelUser(Bot *, String, String);
46 static Message DelShit(Bot *, String, String);
47 static Message Deop(Bot *, String, String);
48 static Message Die(Bot *, String = "Leaving");
49 static Message Do(Bot *, String);
50 static Message Invite(Bot *, String, String);
51 static Message Join(Bot *, String, String = "");
52 static Message Keep(Bot *, String, String);
53 static Message Kick(Bot *, String, String, String);
54 static Message KickBan(Bot *, String, String, String);
55 static Message Lock(Bot *, String);
56 static Message Mode(Bot *, String, String);
57 static Message Msg(Bot *, String, String);
58 static Message NextServer(Bot *);
59 static Message Nick(Bot *, String);
60 static Message Notice(Bot *, String, String);
61 static Message Op(Bot *, String, String);
62 static Message Part(Bot *, String);
63 static Message Reconnect(Bot *);
64 static Message Say(Bot *, String, String);
65 static Message Server(Bot *, int);
66 static Message SetVersion(Bot *, String);
e171dcce 67 static Message SetFloodRate(Bot*, unsigned int);
cb21075d 68 static Message TBan(Bot *, String, String, int);
69 static Message TKBan(Bot *, String, String, int, String);
70 static Message Topic(Bot *, String, String);
71 static Message Unlock(Bot *, String);
c6e7af05 72 static Message Who (Bot *, String);
73 static Message Whois (Bot *, String);
cb21075d 74};
75
76#endif