[project @ 2005-07-04 01:48:38 by unknown_lamer]
[clinton/bobotpp.git] / source / Commands.H
CommitLineData
cb21075d 1// Commands.H -*- C++ -*-
2// Copyright (c) 1997, 1998 Etienne BERNARD
3// Copyright (C) 2002 Clinton Ebadi
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
39b022cb 17// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
cb21075d 18
19#ifndef COMMANDS_H
20#define COMMANDS_H
21
22#include <ctime>
23
24#include "String.H"
25#include "Message.H"
26#include "Bot.H"
27#include "ServerConnection.H"
28
29class Commands {
30public:
31 static Message Action(Bot *, String, String);
32 static Message AddUser(Bot *, String, String, int, int, bool,
33 std::time_t, String);
34 static Message AddServer(Bot *, String, int);
35 static Message AddShit(Bot *, String, String, int, std::time_t, String);
36 static Message AddServer(Bot *, String, String);
37 static Message Ban(Bot *, String, String);
38 static Message ChangeLevel(Bot *, String, String, int);
672b7d4e 39 static Message CTCP (Bot*, std::string, std::string, std::string);
40 static Message CTCPReply (Bot*, std::string, std::string, std::string);
cb21075d 41 static Message Cycle(Bot *, String);
42 static Message Deban(Bot *, String, String);
43 static Message DelServer(Bot *, int);
44 static Message DelUser(Bot *, String, String);
45 static Message DelShit(Bot *, String, String);
46 static Message Deop(Bot *, String, String);
47 static Message Die(Bot *, String = "Leaving");
48 static Message Do(Bot *, String);
49 static Message Invite(Bot *, String, String);
50 static Message Join(Bot *, String, String = "");
51 static Message Keep(Bot *, String, String);
52 static Message Kick(Bot *, String, String, String);
53 static Message KickBan(Bot *, String, String, String);
54 static Message Lock(Bot *, String);
55 static Message Mode(Bot *, String, String);
56 static Message Msg(Bot *, String, String);
57 static Message NextServer(Bot *);
58 static Message Nick(Bot *, String);
59 static Message Notice(Bot *, String, String);
60 static Message Op(Bot *, String, String);
61 static Message Part(Bot *, String);
62 static Message Reconnect(Bot *);
63 static Message Say(Bot *, String, String);
64 static Message Server(Bot *, int);
65 static Message SetVersion(Bot *, String);
e171dcce 66 static Message SetFloodRate(Bot*, unsigned int);
cb21075d 67 static Message TBan(Bot *, String, String, int);
68 static Message TKBan(Bot *, String, String, int, String);
69 static Message Topic(Bot *, String, String);
70 static Message Unlock(Bot *, String);
71};
72
73#endif