diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-15 23:14:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-15 23:14:41 +0300 |
commit | 9502e9c968fac129ab57d7b0496c874086995b04 (patch) | |
tree | 3709ed6883222be555d39f7a606b674fb67ebb52 /src/client.h | |
parent | e3ec854f275cc6f79129bbdd3129be277100908f (diff) | |
download | mv-9502e9c968fac129ab57d7b0496c874086995b04.tar.gz mv-9502e9c968fac129ab57d7b0496c874086995b04.tar.bz2 mv-9502e9c968fac129ab57d7b0496c874086995b04.tar.xz mv-9502e9c968fac129ab57d7b0496c874086995b04.zip |
move actionlistener from base into listeners.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client.h b/src/client.h index f020087ea..aedad4569 100644 --- a/src/client.h +++ b/src/client.h @@ -27,7 +27,7 @@ #include "net/serverinfo.h" -#include "gui/base/actionlistener.hpp" +#include "listeners/actionlistener.h" #include <SDL.h> @@ -57,7 +57,7 @@ extern unsigned int tmwServerVersion; extern int start_time; extern int textures_count; -class ErrorListener : public gcn::ActionListener +class ErrorListener : public ActionListener { public: void action(const gcn::ActionEvent &event) override final; @@ -142,7 +142,8 @@ struct PacketLimit * The core part of the client. This class initializes all subsystems, runs * the event loop, and shuts everything down again. */ -class Client final : public ConfigListener, public gcn::ActionListener +class Client final : public ConfigListener, + public ActionListener { public: /** |