diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-10 19:21:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-10 19:21:22 +0300 |
commit | 382d8b04262ba42a4ef334df4e35211f3c03c1b7 (patch) | |
tree | a48e91a1b078d2f19eec4e442d172c49d7702bff /src/client.h | |
parent | 7f3c6d852f8d1ab2b2b5d363d0b937c3593b38e3 (diff) | |
download | plus-382d8b04262ba42a4ef334df4e35211f3c03c1b7.tar.gz plus-382d8b04262ba42a4ef334df4e35211f3c03c1b7.tar.bz2 plus-382d8b04262ba42a4ef334df4e35211f3c03c1b7.tar.xz plus-382d8b04262ba42a4ef334df4e35211f3c03c1b7.zip |
Move errorlistener into separate file.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/client.h b/src/client.h index 25c5b943f..15a851eb1 100644 --- a/src/client.h +++ b/src/client.h @@ -26,11 +26,10 @@ #include "state.h" #include "listeners/configlistener.h" +#include "listeners/errorlistener.h" #include "net/serverinfo.h" -#include "listeners/actionlistener.h" - #include <SDL.h> #ifdef USE_SDL2 @@ -59,14 +58,7 @@ extern unsigned int tmwServerVersion; extern int start_time; extern int textures_count; -class ErrorListener : public ActionListener -{ - public: - void action(const ActionEvent &event) override final; -}; - extern std::string errorMessage; -extern ErrorListener errorListener; extern LoginData loginData; enum PacketTypes |