summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-01 19:13:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-01 19:13:11 +0300
commita260aeab234704ace8ba672b1d1ce57e18425e07 (patch)
treee215c6eeeae7e6c2ca4f4453718cef6ca9a8af6a /src/client.h
parent382067b05c4fe97bcf0da0143405375ec295f7c6 (diff)
parent2c62286a7ecf246e8a445dd7d00f618efae2a96a (diff)
downloadmv-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.h13
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;