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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index f1d9c9b8..a222912d 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -158,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;