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.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index f1d9c9b8..d34fbb9f 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -111,16 +111,8 @@ class ServerDialog : public Window,
public gcn::SelectionListener
{
public:
- /**
- * Constructor
- *
- * @see Window::Window
- */
ServerDialog(ServerInfo *serverInfo, const std::string &dir);
- /**
- * Destructor
- */
~ServerDialog();
/**
@@ -158,6 +150,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;