summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-20 18:04:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-20 18:04:19 +0300
commitd4b88a7ebce6222c34928c49925f972515593e89 (patch)
treeab3c8136bcc06ec84194738c83bef8af6df62752 /src/net/ea
parent6bf4a5aa68afb7d95632880c001286f2a721e1f5 (diff)
downloadmanaplus-d4b88a7ebce6222c34928c49925f972515593e89.tar.gz
manaplus-d4b88a7ebce6222c34928c49925f972515593e89.tar.bz2
manaplus-d4b88a7ebce6222c34928c49925f972515593e89.tar.xz
manaplus-d4b88a7ebce6222c34928c49925f972515593e89.zip
Move registrationoptions into separate file.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/loginhandler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index d8bffc0be..053e8500a 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -25,6 +25,8 @@
#include "net/loginhandler.h"
+#include "net/registrationoptions.h"
+
#include "net/ea/token.h"
#include <string>
@@ -47,7 +49,7 @@ class LoginHandler : public Net::LoginHandler
virtual ~LoginHandler();
int supportedOptionalActions() const override A_WARN_UNUSED
- { return SetGenderOnRegister; }
+ { return Net::RegistrationOptions::SetGenderOnRegister; }
virtual bool isRegistrationEnabled() const
override final A_WARN_UNUSED;