diff options
Diffstat (limited to 'src/gui/char_server.h')
-rw-r--r-- | src/gui/char_server.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/gui/char_server.h b/src/gui/char_server.h index 575518ce..521aa4c9 100644 --- a/src/gui/char_server.h +++ b/src/gui/char_server.h @@ -32,8 +32,21 @@ #include "../net/network.h" #include "gui.h" +// The action listener for the server select dialog +class ServerSelectListener : public gcn::ActionListener { + public: + void action(const std::string& eventId); +}; + +// The list model for the server list +class ServerListModel : public gcn::ListModel { + public: + int getNumberOfElements(); + std::string getElementAt(int i); +}; + void char_server(); -void server_char_server(); +void server_char_server(int serverIndex); char *server_list(int index, int *size); #endif |