QTfrontend/newnetclient.h
changeset 1311 49beb1221c0b
parent 1082 596b1dcdc1df
child 1313 f4c54e9e1b8c
equal deleted inserted replaced
1310:4616e15d566f 1311:49beb1221c0b
    41   HWNewNet(GameUIConfig * config, GameCFGWidget* pGameCFGWidget, TeamSelWidget* pTeamSelWidget);
    41   HWNewNet(GameUIConfig * config, GameCFGWidget* pGameCFGWidget, TeamSelWidget* pTeamSelWidget);
    42   void Connect(const QString & hostName, quint16 port, const QString & nick);
    42   void Connect(const QString & hostName, quint16 port, const QString & nick);
    43   void Disconnect();
    43   void Disconnect();
    44   void JoinRoom(const QString & room);
    44   void JoinRoom(const QString & room);
    45   void CreateRoom(const QString & room);
    45   void CreateRoom(const QString & room);
    46   void StartGame();
    46   void Ready();
    47 
    47 
    48  private:
    48  private:
    49   GameUIConfig* config;
    49   GameUIConfig* config;
    50   GameCFGWidget* m_pGameCFGWidget;
    50   GameCFGWidget* m_pGameCFGWidget;
    51   TeamSelWidget* m_pTeamSelWidget;
    51   TeamSelWidget* m_pTeamSelWidget;
   124 
   124 
   125  private slots:
   125  private slots:
   126   void ClientRead();
   126   void ClientRead();
   127   void OnConnect();
   127   void OnConnect();
   128   void OnDisconnect();
   128   void OnDisconnect();
   129   //void Perform();
       
   130   void displayError(QAbstractSocket::SocketError socketError);
   129   void displayError(QAbstractSocket::SocketError socketError);
   131   //void FlushNetBuf();
       
   132 };
   130 };
   133 
   131 
   134 #endif // _NEW_NETCLIENT_INCLUDED
   132 #endif // _NEW_NETCLIENT_INCLUDED