summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-15 23:14:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-15 23:14:41 +0300
commit9502e9c968fac129ab57d7b0496c874086995b04 (patch)
tree3709ed6883222be555d39f7a606b674fb67ebb52 /src/client.h
parente3ec854f275cc6f79129bbdd3129be277100908f (diff)
downloadplus-9502e9c968fac129ab57d7b0496c874086995b04.tar.gz
plus-9502e9c968fac129ab57d7b0496c874086995b04.tar.bz2
plus-9502e9c968fac129ab57d7b0496c874086995b04.tar.xz
plus-9502e9c968fac129ab57d7b0496c874086995b04.zip
move actionlistener from base into listeners.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h7
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:
/**