summaryrefslogtreecommitdiff
path: root/src/net/chathandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/chathandler.h')
-rw-r--r--src/net/chathandler.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/net/chathandler.h b/src/net/chathandler.h
index 237ab929..8e32313a 100644
--- a/src/net/chathandler.h
+++ b/src/net/chathandler.h
@@ -25,32 +25,32 @@
#include <iosfwd>
namespace Net {
- class ChatHandler
- {
- public:
- void talk(const std::string &text);
+class ChatHandler
+{
+ public:
+ virtual void talk(const std::string &text) {}
- void me(const std::string &text);
+ virtual void me(const std::string &text) {}
- void privateMessage(const std::string &recipient,
- const std::string &text);
+ virtual void privateMessage(const std::string &recipient,
+ const std::string &text) {}
- void channelList() {}
+ virtual void channelList() {}
- void enterChannel(int channelId, const std::string &password) {}
+ virtual void enterChannel(int channelId, const std::string &password) {}
- void quitChannel(int channelId) {}
+ virtual void quitChannel(int channelId) {}
- void sendToChannel(int channelId, const std::string &text) {}
+ virtual void sendToChannel(int channelId, const std::string &text) {}
- void userList(int channelId) {}
+ virtual void userList(int channelId) {}
- void setChannelTopic(int channelId, const std::string &text) {}
+ virtual void setChannelTopic(int channelId, const std::string &text) {}
- void setUserMode(int channelId, const std::string &name, int mode) {}
+ virtual void setUserMode(int channelId, const std::string &name, int mode) {}
- void kickUser(int channelId, const std::string &name) {}
- };
+ virtual void kickUser(int channelId, const std::string &name) {}
+};
}
#endif // CHATHANDLER_H