summaryrefslogtreecommitdiff
path: root/src/net/logindata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-20 13:26:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-20 13:26:40 +0300
commit6bf4a5aa68afb7d95632880c001286f2a721e1f5 (patch)
tree3bfde7b41153e43b7057e92e37bdc87c38d503cb /src/net/logindata.h
parent0369cb5dc2e5dae4acdb0753c3b309ef874c96ae (diff)
downloadmanaverse-6bf4a5aa68afb7d95632880c001286f2a721e1f5.tar.gz
manaverse-6bf4a5aa68afb7d95632880c001286f2a721e1f5.tar.bz2
manaverse-6bf4a5aa68afb7d95632880c001286f2a721e1f5.tar.xz
manaverse-6bf4a5aa68afb7d95632880c001286f2a721e1f5.zip
Move updatetype into separate file.
Diffstat (limited to 'src/net/logindata.h')
-rw-r--r--src/net/logindata.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/net/logindata.h b/src/net/logindata.h
index 69dbfbb66..6e7c285c0 100644
--- a/src/net/logindata.h
+++ b/src/net/logindata.h
@@ -27,6 +27,8 @@
#include "utils/stringvector.h"
+#include "net/updatetype.h"
+
#include <string>
#include "localconsts.h"
@@ -54,14 +56,6 @@ class LoginData final
A_DELETE_COPY(LoginData)
- enum UpdateType
- {
- Upd_Normal = 0,
- Upd_Close = 1,
- Upd_Skip = 2,
- Upd_Custom = 4
- };
-
std::string username;
std::string password;
std::string newPassword;
@@ -88,7 +82,7 @@ class LoginData final
newPassword.clear();
updateHost.clear();
updateHosts.clear();
- updateType = Upd_Normal;
+ updateType = UpdateType::Normal;
email.clear();
captchaResponse.clear();
registerUrl.clear();