More work on server selection. Currently untested.

This commit is contained in:
lotodore
2009-04-05 12:31:12 +00:00
parent 59a6b35dd1
commit 534b6066a8
6 changed files with 90 additions and 5 deletions
+16
View File
@@ -188,6 +188,22 @@ protected:
ClientStateReadingServerList();
};
// State: Waiting for the user to choose a server.
class ClientStateWaitChooseServer : public ClientState
{
public:
static ClientStateWaitChooseServer &Instance();
virtual ~ClientStateWaitChooseServer();
virtual int Process(ClientThread &client);
protected:
// Protected constructor - this is a singleton.
ClientStateWaitChooseServer();
};
// State: Initiate server connection.
class ClientStateStartConnect : public ClientState
{