diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-02 19:05:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-02 19:05:34 +0300 |
commit | f924674239571a40b0806136a49b4da3edcadbbf (patch) | |
tree | 5a5cd954acf5832e6cf01c59b8960d6b06657fa3 /src/gui/dialogsmanager.h | |
parent | 1003a7a74f72f17f59f4a74eacf95a1744a64506 (diff) | |
download | manaplus-f924674239571a40b0806136a49b4da3edcadbbf.tar.gz manaplus-f924674239571a40b0806136a49b4da3edcadbbf.tar.bz2 manaplus-f924674239571a40b0806136a49b4da3edcadbbf.tar.xz manaplus-f924674239571a40b0806136a49b4da3edcadbbf.zip |
Move weight notification from playerhander.
Diffstat (limited to 'src/gui/dialogsmanager.h')
-rw-r--r-- | src/gui/dialogsmanager.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/dialogsmanager.h b/src/gui/dialogsmanager.h index b9625ae07..b45b3b12c 100644 --- a/src/gui/dialogsmanager.h +++ b/src/gui/dialogsmanager.h @@ -23,6 +23,7 @@ #ifndef GUI_DIALOGSMANAGER_H #define GUI_DIALOGSMANAGER_H +#include "listeners/attributelistener.h" #include "listeners/playerdeathlistener.h" #include <string> @@ -31,7 +32,8 @@ class Window; -class DialogsManager final : public PlayerDeathListener +class DialogsManager final : public AttributeListener, + public PlayerDeathListener { public: DialogsManager(); @@ -45,6 +47,10 @@ class DialogsManager final : public PlayerDeathListener const bool modal); void playerDeath() override final; + + void attributeChanged(const int id, + const int oldVal, + const int newVal) override final; }; extern DialogsManager *dialogsManager; |