diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-01 19:13:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-01 19:13:11 +0300 |
commit | a260aeab234704ace8ba672b1d1ce57e18425e07 (patch) | |
tree | e215c6eeeae7e6c2ca4f4453718cef6ca9a8af6a /src/client.h | |
parent | 382067b05c4fe97bcf0da0143405375ec295f7c6 (diff) | |
parent | 2c62286a7ecf246e8a445dd7d00f618efae2a96a (diff) | |
download | mv-a260aeab234704ace8ba672b1d1ce57e18425e07.tar.gz mv-a260aeab234704ace8ba672b1d1ce57e18425e07.tar.bz2 mv-a260aeab234704ace8ba672b1d1ce57e18425e07.tar.xz mv-a260aeab234704ace8ba672b1d1ce57e18425e07.zip |
Merge branch 'master' into stable
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/client.h b/src/client.h index 22567ae94..0e6528ca3 100644 --- a/src/client.h +++ b/src/client.h @@ -23,11 +23,11 @@ #ifndef CLIENT_H #define CLIENT_H -#include "configlistener.h" +#include "listeners/configlistener.h" #include "net/serverinfo.h" -#include <guichan/actionlistener.hpp> +#include "listeners/actionlistener.h" #include <SDL.h> @@ -57,10 +57,10 @@ 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; + void action(const ActionEvent &event) override final; }; extern std::string errorMessage; @@ -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: /** @@ -301,7 +302,7 @@ public: void optionChanged(const std::string &name) override final; - void action(const gcn::ActionEvent &event) override final; + void action(const ActionEvent &event) override final; void initTradeFilter() const; |