diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-13 15:46:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-14 00:46:22 +0300 |
commit | 93feb7fbf408ccc9178832d5f21c3806cb2a9f16 (patch) | |
tree | b0ee8c847e5933a86ea53dea5a3f87b8c6533191 /src/gui/windows/logindialog.h | |
parent | 99ecd9ba734a308ae374d4494856d8bb3617f8a0 (diff) | |
download | manaverse-93feb7fbf408ccc9178832d5f21c3806cb2a9f16.tar.gz manaverse-93feb7fbf408ccc9178832d5f21c3806cb2a9f16.tar.bz2 manaverse-93feb7fbf408ccc9178832d5f21c3806cb2a9f16.tar.xz manaverse-93feb7fbf408ccc9178832d5f21c3806cb2a9f16.zip |
Add support for different groups of update servers reading from servers list.
Diffstat (limited to 'src/gui/windows/logindialog.h')
-rw-r--r-- | src/gui/windows/logindialog.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/windows/logindialog.h b/src/gui/windows/logindialog.h index 8feaa39f5..9047bf123 100644 --- a/src/gui/windows/logindialog.h +++ b/src/gui/windows/logindialog.h @@ -33,6 +33,7 @@ class CheckBox; class DropDown; class Label; class LoginData; +class ServerInfo; class TextField; class UpdateListModel; class UpdateTypeModel; @@ -53,8 +54,8 @@ class LoginDialog final : public Window, * @see Window::Window */ LoginDialog(LoginData &data, - std::string serverName, - std::string *const updateHost); + ServerInfo *const server, + std::string *const updateHost) A_NONNULL(3, 4); A_DELETE_COPY(LoginDialog) @@ -86,7 +87,10 @@ class LoginDialog final : public Window, void prepareUpdate(); + void mergeUpdateHosts(); + LoginData *mLoginData A_NONNULLPOINTER; + ServerInfo *mServer A_NONNULLPOINTER; TextField *mUserField A_NONNULLPOINTER; TextField *mPassField A_NONNULLPOINTER; |