QTfrontend/newnetclient.h
changeset 339 7535ab6c3820
parent 338 d1e75dcd285f
child 341 184230eb4151
--- a/QTfrontend/newnetclient.h	Sun Jan 14 23:13:24 2007 +0000
+++ b/QTfrontend/newnetclient.h	Mon Jan 15 18:45:07 2007 +0000
@@ -27,6 +27,7 @@
 
 class GameUIConfig;
 class GameCFGWidget;
+class TeamSelWidget;
 
 extern char delimeter;
 
@@ -35,7 +36,7 @@
   Q_OBJECT
 
  public:
-  HWNewNet(GameUIConfig * config, GameCFGWidget* pGameCFGWidget);
+  HWNewNet(GameUIConfig * config, GameCFGWidget* pGameCFGWidget, TeamSelWidget* pTeamSelWidget);
   void Connect(const QString & hostName, quint16 port, const QString & nick);
   void Disconnect();
   void JoinGame(const QString & game);
@@ -44,6 +45,7 @@
  private:
   GameUIConfig* config;
   GameCFGWidget* m_pGameCFGWidget;
+  TeamSelWidget* m_pTeamSelWidget;
 
   bool isChief;
   QString mynick;
@@ -83,7 +85,7 @@
   void EnteredGame();
   void FromNet(const QByteArray & buf);
   void LocalCFG(const QString & team);
-  void AddNetTeam(const QString&);
+  void AddNetTeam(const HWTeam&);
 
   void seedChanged(const QString & seed);
   void mapChanged(const QString & map);