summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-09 20:28:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-09 20:28:04 +0300
commit4ee5c0ce8a8ded1f4aa30212948c3acefb2b6242 (patch)
tree4b1c059f1f422982cf957bd968d7062de4ebdfae /src/gui/windows/chatwindow.h
parent50a5ff8c29c9df133104d9113debafbc5424d0ab (diff)
downloadmanaverse-4ee5c0ce8a8ded1f4aa30212948c3acefb2b6242.tar.gz
manaverse-4ee5c0ce8a8ded1f4aa30212948c3acefb2b6242.tar.bz2
manaverse-4ee5c0ce8a8ded1f4aa30212948c3acefb2b6242.tar.xz
manaverse-4ee5c0ce8a8ded1f4aa30212948c3acefb2b6242.zip
Impliment DebugMessageListener in chat window.
Diffstat (limited to 'src/gui/windows/chatwindow.h')
-rw-r--r--src/gui/windows/chatwindow.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h
index dd28ca74f..7dbe104c6 100644
--- a/src/gui/windows/chatwindow.h
+++ b/src/gui/windows/chatwindow.h
@@ -31,6 +31,7 @@
#include "listeners/actionlistener.h"
#include "listeners/attributelistener.h"
+#include "listeners/debugmessagelistener.h"
#include "listeners/keylistener.h"
#include "listeners/statlistener.h"
@@ -60,7 +61,8 @@ class ChatWindow final : public Window,
public KeyListener,
public ConfigListener,
public AttributeListener,
- public StatListener
+ public StatListener,
+ public DebugMessageListener
{
public:
/**
@@ -361,6 +363,8 @@ class ChatWindow final : public Window,
int mRainbowColor;
+ void debugMessage(const std::string &msg) override final;
+
private:
void fillCommands();