summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/loginhandler.cpp6
-rw-r--r--src/net/ea/loginhandler.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index 2c6ac1d2..e27eccf8 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -209,6 +209,12 @@ void LoginHandler::disconnect()
mNetwork->disconnect();
}
+void LoginHandler::getRegistrationDetails()
+{
+ // Not supported, so move on
+ state = STATE_REGISTER;
+}
+
void LoginHandler::loginAccount(LoginData *loginData)
{
sendLoginRegister(loginData->username, loginData->password);
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index ac3bf4f4..16c5fe95 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -49,6 +49,8 @@ class LoginHandler : public MessageHandler, public Net::LoginHandler
int supportedOptionalActions() const
{ return SetGenderOnRegister; }
+ void getRegistrationDetails();
+
void loginAccount(LoginData *loginData);
void logout();