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/statuswindow.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/gui/windows/statuswindow.h') diff --git a/src/gui/windows/statuswindow.h b/src/gui/windows/statuswindow.h index 11aa2ad05..797e7647f 100644 --- a/src/gui/windows/statuswindow.h +++ b/src/gui/windows/statuswindow.h @@ -27,7 +27,7 @@ #include "listeners/actionlistener.h" #include "listeners/attributelistener.h" -#include "listeners/depricatedlistener.h" +#include "listeners/statlistener.h" #include @@ -45,8 +45,8 @@ class VertContainer; */ class StatusWindow final : public Window, public ActionListener, - public DepricatedListener, - public AttributeListener + public AttributeListener, + public StatListener { public: /** @@ -56,9 +56,6 @@ class StatusWindow final : public Window, A_DELETE_COPY(StatusWindow) - void processEvent(const Channels channel, - const DepricatedEvent &event) override; - void setPointsNeeded(const int id, const int needed); void addAttribute(const int id, const std::string &restrict name, @@ -92,6 +89,10 @@ class StatusWindow final : public Window, const int oldVal, const int newVal) override final; + void statChanged(const int id, + const int oldVal1, + const int oldVal2) override final; + private: static std::string translateLetter(const char *const letters); static std::string translateLetter2(std::string letters); -- cgit v1.2.3-60-g2f50