summaryrefslogtreecommitdiff
path: root/include/modules/pseudoclients/global.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-26 17:13:11 -0400
committerAdam <Adam@anope.org>2013-05-26 17:13:11 -0400
commit22658d63bdb1e52a66f4514af45fa55ca5891345 (patch)
tree673304ab19f7e077b489354248247867518331f8 /include/modules/pseudoclients/global.h
parentf2dee1e1d642b07947f59f91dfba9af34ef84685 (diff)
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
Diffstat (limited to 'include/modules/pseudoclients/global.h')
-rw-r--r--include/modules/pseudoclients/global.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/modules/pseudoclients/global.h b/include/modules/pseudoclients/global.h
new file mode 100644
index 000000000..52afc4a23
--- /dev/null
+++ b/include/modules/pseudoclients/global.h
@@ -0,0 +1,20 @@
+#ifndef GLOBAL_H
+#define GLOBAL_H
+
+class GlobalService : public Service
+{
+ public:
+ GlobalService(Module *m) : Service(m, "GlobalService", "Global")
+ {
+ }
+
+ /** Send out a global message to all users
+ * @param sender Our client which should send the global
+ * @param source The sender of the global
+ * @param message The message
+ */
+ virtual void SendGlobal(const BotInfo *sender, const Anope::string &source, const Anope::string &message) = 0;
+};
+
+#endif // GLOBAL_H
+