Improve include dependencies
[clinton/bobotpp.git] / source / ScriptCommands.H
1 // ScriptCommands.H -*- C++ -*-
2 // Copyright (c) 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., 51 Franklin Street, Fifth Floor, Boston, MA
18 // 02110-1301, USA.
19
20 #ifndef SCRIPTCOMMANDS_H
21 #define SCRIPTCOMMANDS_H
22
23 #ifdef HAVE_CONFIG_H
24 #include "config.h"
25 #endif
26
27 #ifdef USESCRIPTS
28
29 #include <libguile.h>
30
31 class ScriptCommands {
32 public:
33 static SCM Action(SCM, SCM);
34 static SCM AddUser(SCM, SCM, SCM, SCM, SCM, SCM, SCM);
35 static SCM AddServer(SCM, SCM);
36 static SCM AddShit(SCM, SCM, SCM, SCM, SCM);
37 static SCM Ban(SCM, SCM);
38 static SCM ChangeCommandLevel(SCM, SCM);
39 static SCM CTCP(SCM, SCM, SCM);
40 static SCM CTCPReply(SCM, SCM, SCM);
41 static SCM Cycle(SCM);
42 static SCM Deban(SCM, SCM);
43 static SCM DelServer(SCM);
44 static SCM DelUser(SCM, SCM);
45 static SCM DelShit(SCM, SCM);
46 static SCM Deop(SCM, SCM);
47 static SCM Die(SCM);
48 static SCM Do(SCM);
49 static SCM Invite(SCM, SCM);
50 static SCM Join(SCM, SCM);
51 static SCM Keep(SCM, SCM);
52 static SCM Kick(SCM, SCM, SCM);
53 static SCM KickBan(SCM, SCM, SCM);
54 static SCM Lock(SCM);
55 static SCM LogPort(void);
56 static SCM Mode(SCM, SCM);
57 static SCM Msg(SCM, SCM);
58 static SCM NextServer(void);
59 static SCM Nick(SCM);
60 static SCM Notice (SCM, SCM);
61 static SCM Op(SCM, SCM);
62 static SCM Part(SCM);
63 static SCM Reconnect(void);
64 static SCM Say(SCM, SCM);
65 static SCM Server(SCM); // ACK NAMING CLASH
66 static SCM SetFloodRate(SCM);
67 static SCM SetVersion(SCM);
68 static SCM TBan(SCM, SCM, SCM);
69 static SCM TKBan(SCM, SCM, SCM, SCM);
70 static SCM Topic(SCM, SCM);
71 static SCM Unlock(SCM);
72 static SCM Who(SCM);
73 static SCM Whois(SCM);
74
75 static SCM getNickname(void);
76 static SCM getServer(void);
77 static SCM getServerList(void);
78 static SCM flushQueue(void);
79 static SCM flushPort(void);
80 static SCM random(SCM);
81 static SCM addCommand(SCM, SCM, SCM, SCM, SCM);
82 static SCM delCommand(SCM);
83 static SCM AddHook(SCM, SCM, SCM, SCM, SCM, SCM);
84 static SCM AddTimer(SCM, SCM);
85 static SCM DelTimer(SCM);
86
87 // DCC CHAT
88 static SCM sendDCCChatMessage (SCM, SCM);
89
90 /*
91 SCM sendChannelMode(SCM);
92 SCM sendChannelMode(SCM, SCM, SCM);
93 SCM sendInvite(SCM, SCM);
94 SCM sendJoin(SCM, SCM);
95 SCM sendKick(SCM, SCM, SCM);
96 SCM sendNick(SCM);
97 */
98 /*
99 SCM sendPart(SCM);
100 SCM sendPass(SCM);
101 SCM sendPing(SCM);
102 SCM sendPong(SCM);
103 SCM sendPrivmsg(SCM, SCM);
104 SCM sendQuit(SCM);
105 SCM sendTopic(SCM, SCM);
106 SCM sendUser(SCM, SCM);
107 SCM sendUserMode(SCM, SCM);
108 SCM sendUserhost(SCM);
109 SCM sendWho(SCM);
110 SCM sendWhois(SCM);
111 */
112 };
113
114 #endif
115 #endif