Restructured network server.

This commit is contained in:
lotodore
2007-05-14 21:18:24 +00:00
parent 80a11af74c
commit 5f033730da
19 changed files with 103 additions and 338 deletions
+4 -5
View File
@@ -22,7 +22,7 @@
#include <guiinterface.h>
class ConfigFile;
class GenericServerGui;
class Session;
class ServerGuiWrapper : public GuiInterface
{
@@ -35,9 +35,6 @@ public:
Session &getSession();
void setSession(boost::shared_ptr<Session> session);
bool isNetworkServer() const;
void waitForNetworkAction(GameState state, unsigned uniquePlayerId);
void refreshSet() const;
void refreshCash() const;
void refreshAction(int =-1, int =-1) const;
@@ -95,7 +92,9 @@ public:
private:
boost::shared_ptr<GenericServerGui> myGui;
boost::shared_ptr<Session> mySession;
ConfigFile *myConfig;
ClientCallback *myClientcb;
ServerCallback *myServercb;
};