summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r--src/gui/serverdialog.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index aae8b2e0..a222912d 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -135,6 +135,8 @@ class ServerDialog : public Window,
*/
void valueChanged(const gcn::SelectionEvent &event);
+ void mouseClicked(gcn::MouseEvent &mouseEvent);
+
void logic();
protected:
@@ -156,6 +158,11 @@ class ServerDialog : public Window,
void setFieldsReadOnly(bool readOnly);
+ static bool sortByLastUsage(const ServerInfo& serv1, const ServerInfo& serv2);
+ static bool sortByName(const ServerInfo& serv1, const ServerInfo& serv2);
+
+ void reorderList(int orderBy);
+
TextField *mServerNameField;
TextField *mPortField;
Label *mDescription;
@@ -191,9 +198,6 @@ class ServerDialog : public Window,
float mDownloadProgress;
ServerInfos mServers;
-#ifndef MANASERV_SUPPORT
- ServerInfos mManaservServers;
-#endif
ServerInfo *mServerInfo;
};