From 744b6e62e1252ca50445b21f671ad8d81dd28ea1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 27 Apr 2014 14:50:47 +0300 Subject: Add AttributeListener. --- src/gui/windows/chatwindow.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/chatwindow.h') diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h index e755e43f2..d345b5abc 100644 --- a/src/gui/windows/chatwindow.h +++ b/src/gui/windows/chatwindow.h @@ -23,9 +23,9 @@ #ifndef GUI_WINDOWS_CHATWINDOW_H #define GUI_WINDOWS_CHATWINDOW_H -#include "listeners/depricatedlistener.h" - +#include "listeners/attributelistener.h" #include "listeners/configlistener.h" +#include "listeners/depricatedlistener.h" #include "gui/widgets/window.h" @@ -86,7 +86,8 @@ class ChatWindow final : public Window, public ActionListener, public KeyListener, public DepricatedListener, - public ConfigListener + public ConfigListener, + public AttributeListener { public: /** @@ -294,6 +295,10 @@ class ChatWindow final : public Window, bool isTabPresent(const ChatTab *const tab) const A_WARN_UNUSED; + void attributeChanged(const int id, + const int oldVal, + const int newVal) override final; + static void localPetSay(const std::string &nick, const std::string &text); -- cgit v1.2.3-60-g2f50