From a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 27 Apr 2014 16:24:12 +0300 Subject: Add StatListener. --- src/gui/windows/chatwindow.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/gui/windows/chatwindow.h') diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h index d345b5abc..3999d6b8a 100644 --- a/src/gui/windows/chatwindow.h +++ b/src/gui/windows/chatwindow.h @@ -23,14 +23,13 @@ #ifndef GUI_WINDOWS_CHATWINDOW_H #define GUI_WINDOWS_CHATWINDOW_H -#include "listeners/attributelistener.h" -#include "listeners/configlistener.h" -#include "listeners/depricatedlistener.h" - #include "gui/widgets/window.h" #include "listeners/actionlistener.h" +#include "listeners/attributelistener.h" +#include "listeners/configlistener.h" #include "listeners/keylistener.h" +#include "listeners/statlistener.h" #include #include @@ -85,9 +84,9 @@ struct CHATLOG final class ChatWindow final : public Window, public ActionListener, public KeyListener, - public DepricatedListener, public ConfigListener, - public AttributeListener + public AttributeListener, + public StatListener { public: /** @@ -194,9 +193,6 @@ class ChatWindow final : public Window, */ void mousePressed(MouseEvent &event) override final; - void processEvent(const Channels channel, - const DepricatedEvent &event) override final; - /** * Scrolls the chat window * @@ -299,6 +295,10 @@ class ChatWindow final : public Window, const int oldVal, const int newVal) override final; + void statChanged(const int id, + const int oldVal1, + const int oldVal2) override final; + static void localPetSay(const std::string &nick, const std::string &text); -- cgit v1.2.3-70-g09d2