QTfrontend/newnetclient.h
changeset 2821 67815ee123d7
parent 2777 95a1a69d491c
child 3283 18ee933a5864
--- a/QTfrontend/newnetclient.h	Wed Feb 17 17:38:32 2010 +0000
+++ b/QTfrontend/newnetclient.h	Wed Feb 17 19:50:22 2010 +0000
@@ -44,7 +44,11 @@
   void Disconnect();
   bool isRoomChief();
   bool isInRoom();
-
+  int getClientState();
+  QString getNick();
+  QString getRoom();
+  QString getHost();
+  
  private:
   GameUIConfig* config;
   GameCFGWidget* m_pGameCFGWidget;
@@ -52,6 +56,8 @@
 
   bool isChief;
   QString mynick;
+  QString myroom;
+  QString myhost;
   QTcpSocket NetSocket;
   QString seed;
   bool m_game_connected;