From bd56bf8afdab16383ed8ad08412a8c807f84af85 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Sun, 22 Jan 2006 13:31:13 +0000 Subject: Merged NETWORK branch (includes BEING_OVERHAUL). --- src/gui/char_server.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/gui/char_server.h') diff --git a/src/gui/char_server.h b/src/gui/char_server.h index f36ee76e..ed6e4c14 100644 --- a/src/gui/char_server.h +++ b/src/gui/char_server.h @@ -26,12 +26,13 @@ #include #include -#include #include "window.h" #include "../guichanfwd.h" +class SERVER_INFO; + /** * The list model for the server list. */ @@ -68,9 +69,9 @@ class ServerSelectDialog : public Window, public gcn::ActionListener { void action(const std::string& eventId); /** - * Updates dialog logic + * Returns the index of the selected server */ - void logic(); + SERVER_INFO* getServerInfo(); private: ServerListModel *serverListModel; @@ -78,12 +79,6 @@ class ServerSelectDialog : public Window, public gcn::ActionListener { gcn::Button *okButton; gcn::Button *cancelButton; gcn::ScrollArea *scrollArea; - int mStatus; - - void attemptServerSelect(int index); - void checkServerSelect(); }; -void charServerInputHandler(SDL_KeyboardEvent *keyEvent); - #endif -- cgit v1.2.3-70-g09d2