summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-27 14:50:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-27 14:50:47 +0300
commit744b6e62e1252ca50445b21f671ad8d81dd28ea1 (patch)
tree79adc9663a740ed471e33c97932ce6b28de11377 /src/gui/windows/chatwindow.h
parent2ee2f8b060e4fe88feeeba5508189c916e55a70d (diff)
downloadplus-744b6e62e1252ca50445b21f671ad8d81dd28ea1.tar.gz
plus-744b6e62e1252ca50445b21f671ad8d81dd28ea1.tar.bz2
plus-744b6e62e1252ca50445b21f671ad8d81dd28ea1.tar.xz
plus-744b6e62e1252ca50445b21f671ad8d81dd28ea1.zip
Add AttributeListener.
Diffstat (limited to 'src/gui/windows/chatwindow.h')
-rw-r--r--src/gui/windows/chatwindow.h11
1 files changed, 8 insertions, 3 deletions
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);