summaryrefslogtreecommitdiff
path: root/src/gui/login.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/login.h')
-rw-r--r--src/gui/login.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/gui/login.h b/src/gui/login.h
index f4966914..9fd866aa 100644
--- a/src/gui/login.h
+++ b/src/gui/login.h
@@ -73,6 +73,7 @@ class LoginDialog : public Window, public gcn::ActionListener {
bool registration;
void attemptLogin(const std::string& user, const std::string& pass);
+ void checkLogin();
};
/**
@@ -103,19 +104,4 @@ class WrongUsernameNoticeListener : public gcn::ActionListener {
*/
void loginInputHandler(SDL_KeyboardEvent *keyEvent);
-/*enum
-{
- LOGIN_OK = 0,
- LOGIN_WRONG_PASSWORD,
- LOGIN_UNREGISTERED_ID,
- LOGIN_REJECTED,
- LOGIN_BLOCKED,
- LOGIN_EXPIRED,
- LOGIN_NO_CONNECTION,
- LOGIN_USERNAME_TWICE = 9,
- LOGIN_CONNECTING,
- LOGIN_UNKNOWN_ERROR = -1
-
-};*/
-
#endif