ManaPlus
|
#include "gui/windows/serverdialog.h"
#include "chatlogger.h"
#include "client.h"
#include "configuration.h"
#include "main.h"
#include "settings.h"
#include "net/download.h"
#include "fs/paths.h"
#include "gui/widgets/checkbox.h"
#include "gui/widgets/createwidget.h"
#include "gui/widgets/desktop.h"
#include "gui/windows/editserverdialog.h"
#include "gui/windows/logindialog.h"
#include "gui/windows/serverinfowindow.h"
#include "gui/widgets/button.h"
#include "gui/widgets/label.h"
#include "gui/widgets/layout.h"
#include "gui/widgets/serverslistbox.h"
#include "gui/widgets/scrollarea.h"
#include "utils/delete2.h"
#include "utils/foreach.h"
#include "utils/langs.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
static std::string | serverTypeToString (const ServerTypeT type) |
static uint16_t | defaultPortForServerType (const ServerTypeT type) |
static void | loadHostsGroup (const xmlNodePtr node, ServerInfo &server) |
static void | loadServerSourcesList (const xmlNodePtr node, std::vector< ServerUrlInfo > &list) |
static void | loadServerSources (const xmlNodePtr node, ServerInfo &server) |
Variables | |
static const int | MAX_SERVERLIST = 15 |
|
static |
Definition at line 83 of file serverdialog.cpp.
References ServerType::EATHENA, ServerType::EVOL2, ServerType::TMWATHENA, and ServerType::UNKNOWN.
Referenced by ServerDialog::loadCustomServers(), and ServerDialog::loadServers().
|
static |
Definition at line 491 of file serverdialog.cpp.
References _, checkPath(), for_each_xml_child_node, HostsGroup::hosts, XML::langProperty(), Logger::log1(), logger, HostsGroup::name, and ServerInfo::updateHosts.
Referenced by ServerDialog::loadServers().
|
static |
Definition at line 543 of file serverdialog.cpp.
References for_each_xml_child_node, ServerInfo::freeSources, loadServerSourcesList(), and ServerInfo::nonFreeSources.
Referenced by ServerDialog::loadServers().
|
static |
Definition at line 521 of file serverdialog.cpp.
References for_each_xml_child_node, XML::langProperty(), and Actions::url().
Referenced by ServerDialog::loadServers(), and loadServerSources().
|
static |
Definition at line 61 of file serverdialog.cpp.
References ServerType::EATHENA, ServerType::EVOL2, ServerType::TMWATHENA, and ServerType::UNKNOWN.
Referenced by ServerDialog::saveCustomServers().
|
static |
Definition at line 59 of file serverdialog.cpp.
Referenced by ServerDialog::loadCustomServers(), and ServerDialog::saveCustomServers().