QTfrontend/newnetclient.h
changeset 334 85eacbd9827f
parent 329 4c3aad46baa5
child 338 d1e75dcd285f
--- a/QTfrontend/newnetclient.h	Sun Jan 14 19:47:11 2007 +0000
+++ b/QTfrontend/newnetclient.h	Sun Jan 14 20:46:17 2007 +0000
@@ -26,6 +26,7 @@
 #include "team.h"
 
 class GameUIConfig;
+class GameCFGWidget;
 
 extern char delimeter;
 
@@ -34,7 +35,7 @@
   Q_OBJECT
 
  public:
-  HWNewNet(GameUIConfig * config);
+  HWNewNet(GameUIConfig * config, GameCFGWidget* pGameCFGWidget);
   void Connect(const QString & hostName, quint16 port, const QString & nick);
   void Disconnect();
   void JoinGame(const QString & game);
@@ -42,7 +43,9 @@
 
  private:
   GameUIConfig* config;
+  GameCFGWidget* m_pGameCFGWidget;
 
+  bool isChief;
   QString mynick;
   QTcpSocket NetSocket;
   QString seed;