summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 765b84b8..4938e80d 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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