summaryrefslogtreecommitdiff
path: root/src/gui/char_server.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 13:31:13 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 13:31:13 +0000
commitbd56bf8afdab16383ed8ad08412a8c807f84af85 (patch)
tree0e963ada63bcbe3c50dd77986aaa15b9ba49816a /src/gui/char_server.h
parent5359640b6f271af31f6423df9d661433eff89a3e (diff)
downloadmana-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.gz
mana-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.bz2
mana-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.xz
mana-bd56bf8afdab16383ed8ad08412a8c807f84af85.zip
Merged NETWORK branch (includes BEING_OVERHAUL).
Diffstat (limited to 'src/gui/char_server.h')
-rw-r--r--src/gui/char_server.h13
1 files changed, 4 insertions, 9 deletions
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 <guichan/actionlistener.hpp>
#include <guichan/listmodel.hpp>
-#include <SDL_events.h>
#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