[project @ 2003-04-10 01:53:57 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
17// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
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);
39 static Message Cycle(Bot *, String);
40 static Message Deban(Bot *, String, String);
41 static Message DelServer(Bot *, int);
42 static Message DelUser(Bot *, String, String);
43 static Message DelShit(Bot *, String, String);
44 static Message Deop(Bot *, String, String);
45 static Message Die(Bot *, String = "Leaving");
46 static Message Do(Bot *, String);
47 static Message Invite(Bot *, String, String);
48 static Message Join(Bot *, String, String = "");
49 static Message Keep(Bot *, String, String);
50 static Message Kick(Bot *, String, String, String);
51 static Message KickBan(Bot *, String, String, String);
52 static Message Lock(Bot *, String);
53 static Message Mode(Bot *, String, String);
54 static Message Msg(Bot *, String, String);
55 static Message NextServer(Bot *);
56 static Message Nick(Bot *, String);
57 static Message Notice(Bot *, String, String);
58 static Message Op(Bot *, String, String);
59 static Message Part(Bot *, String);
60 static Message Reconnect(Bot *);
61 static Message Say(Bot *, String, String);
62 static Message Server(Bot *, int);
63 static Message SetVersion(Bot *, String);
e171dcce 64 static Message SetFloodRate(Bot*, unsigned int);
cb21075d 65 static Message TBan(Bot *, String, String, int);
66 static Message TKBan(Bot *, String, String, int, String);
67 static Message Topic(Bot *, String, String);
68 static Message Unlock(Bot *, String);
69};
70
71#endif