diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2009-12-18 21:43:53 +0100 |
---|---|---|
committer | Freeyorp <Freeyorp101@hotmail.com> | 2009-12-19 19:12:15 +1300 |
commit | 6ad0ab8123de1ee3f27ad38300dc7ef896bab569 (patch) | |
tree | 785e9bd0f019e74329b080116d03b7c1b10d82b0 /src/main.h | |
parent | 7018bbb12c0807efb93acc5d90ec20d59cb3f1a9 (diff) | |
download | mana-6ad0ab8123de1ee3f27ad38300dc7ef896bab569.tar.gz mana-6ad0ab8123de1ee3f27ad38300dc7ef896bab569.tar.bz2 mana-6ad0ab8123de1ee3f27ad38300dc7ef896bab569.tar.xz mana-6ad0ab8123de1ee3f27ad38300dc7ef896bab569.zip |
Client now returns to server selection after server disconnection
This resolves http://bugs.manasource.org/view.php?id=37
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -55,6 +55,8 @@ #include "net/logindata.h" +#include <guichan/actionlistener.hpp> + #ifdef HAVE_CONFIG_H #include "../config.h" #elif defined WIN32 @@ -131,8 +133,15 @@ enum State { STATE_FORCE_QUIT }; +class ErrorListener : public gcn::ActionListener +{ + public: + void action(const gcn::ActionEvent &event); +}; + extern State state; extern std::string errorMessage; +extern ErrorListener errorListener; extern LoginData loginData; #endif |