summaryrefslogtreecommitdiff
path: root/src/net/chathandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-13 00:19:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-13 00:19:04 +0300
commitd431a16b6e75232b664a67741898aa8179057c00 (patch)
tree92586a82f3d891227c3255ba37fe74e39394a516 /src/net/chathandler.h
parentc37ae6c52273c01f634a0635c5255319f385e7fb (diff)
downloadmanaplus-d431a16b6e75232b664a67741898aa8179057c00.tar.gz
manaplus-d431a16b6e75232b664a67741898aa8179057c00.tar.bz2
manaplus-d431a16b6e75232b664a67741898aa8179057c00.tar.xz
manaplus-d431a16b6e75232b664a67741898aa8179057c00.zip
Add special method in charHandler to send message to channel.
Diffstat (limited to 'src/net/chathandler.h')
-rw-r--r--src/net/chathandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/chathandler.h b/src/net/chathandler.h
index ede516f06..133b64c87 100644
--- a/src/net/chathandler.h
+++ b/src/net/chathandler.h
@@ -53,6 +53,9 @@ class ChatHandler notfinal
virtual void privateMessage(const std::string &restrict recipient,
const std::string &restrict text) = 0;
+ virtual void channelMessage(const std::string &restrict channel,
+ const std::string &restrict text) = 0;
+
virtual void who() const = 0;
virtual void sendRaw(const std::string &args) const = 0;