summaryrefslogtreecommitdiff
path: root/src/gui/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/connection.h')
-rw-r--r--src/gui/connection.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/gui/connection.h b/src/gui/connection.h
index 342b9f8d..7a072d2e 100644
--- a/src/gui/connection.h
+++ b/src/gui/connection.h
@@ -24,14 +24,8 @@
#ifndef _TMW_CONNECTION_H
#define _TMW_CONNECTION_H
-#include <iosfwd>
-#include <guichan/actionlistener.hpp>
-#include <SDL_events.h>
-
#include "window.h"
-#include "../guichanfwd.h"
-
class ProgressBar;
/**
@@ -39,7 +33,7 @@ class ProgressBar;
*
* \ingroup Interface
*/
-class ConnectionDialog : public Window, public gcn::ActionListener
+class ConnectionDialog : public Window
{
public:
/**
@@ -49,25 +43,11 @@ class ConnectionDialog : public Window, public gcn::ActionListener
*/
ConnectionDialog();
- /**
- * Called when receiving actions from the widgets.
- */
- void action(const std::string& eventId);
-
void logic();
private:
ProgressBar *mProgressBar;
float mProgress;
- int mStatus;
-
- void attemptMapLogin();
- void checkMapLogin();
};
-/**
- * Handle input
- */
-void connectionInputHandler(SDL_KeyboardEvent *keyEvent);
-
#endif