Restructured network server.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user