QTfrontend/netserver.h
changeset 317 e95340dbfc1d
parent 315 73003488240b
child 319 7f3bd9e31f18
--- a/QTfrontend/netserver.h	Thu Jan 11 20:45:59 2007 +0000
+++ b/QTfrontend/netserver.h	Thu Jan 11 22:04:08 2007 +0000
@@ -32,7 +32,9 @@
 {
   Q_OBJECT
 
- public:
+ friend class HWNetServer;
+
+ private:
   HWConnectedClient(HWNetServer* hwserver, QTcpSocket* client);
   ~HWConnectedClient();
   QString getClientNick() const;
@@ -44,8 +46,8 @@
 
   QString getHedgehogsDescription() const;
 
- private:
   bool readyToStart;
+  QStringList gameCfg;
   class ShouldDisconnectException {};
   
   QString client_nick;
@@ -75,6 +77,8 @@
  public:
   void StartServer();
   void StopServer();
+  bool isCheefClient(HWConnectedClient* cl) const;
+  void startAll(QString gameCfg);
   bool haveNick(const QString& nick) const;
   QString getRunningHostName() const;
   quint16 getRunningPort() const;