QTfrontend/newnetclient.h
changeset 1082 596b1dcdc1df
parent 1066 1f1b3686a2b0
child 1311 49beb1221c0b
--- a/QTfrontend/newnetclient.h	Tue Jul 15 16:40:50 2008 +0000
+++ b/QTfrontend/newnetclient.h	Mon Jul 21 09:45:40 2008 +0000
@@ -41,7 +41,8 @@
   HWNewNet(GameUIConfig * config, GameCFGWidget* pGameCFGWidget, TeamSelWidget* pTeamSelWidget);
   void Connect(const QString & hostName, quint16 port, const QString & nick);
   void Disconnect();
-  void JoinGame(const QString & game);
+  void JoinRoom(const QString & room);
+  void CreateRoom(const QString & room);
   void StartGame();
 
  private:
@@ -79,9 +80,11 @@
     emit FromNet(enginemsg);
   }
 
+  QStringList cmdbuf;
+
   void RawSendNet(const QString & buf);
   void RawSendNet(const QByteArray & buf);
-  void ParseLine(const QByteArray & line);
+  void ParseCmd(const QStringList & lst);
 
  signals:
   void AskForRunGame();