QTfrontend/newnetclient.h
changeset 660 7c155e849602
parent 486 7ea71cd3acd5
child 697 44f167938201
equal deleted inserted replaced
659:5eafb20566f1 660:7c155e849602
    82   void RawSendNet(const QString & buf);
    82   void RawSendNet(const QString & buf);
    83   void RawSendNet(const QByteArray & buf);
    83   void RawSendNet(const QByteArray & buf);
    84   void ParseLine(const QByteArray & line);
    84   void ParseLine(const QByteArray & line);
    85 
    85 
    86  signals:
    86  signals:
       
    87   void AskForRunGame();
    87   void Connected();
    88   void Connected();
    88   void Disconnected();
    89   void Disconnected();
    89   void EnteredGame();
    90   void EnteredGame();
    90   void nickAdded(const QString& nick);
    91   void nickAdded(const QString& nick);
    91   void nickRemoved(const QString& nick);
    92   void nickRemoved(const QString& nick);
    92   void FromNet(const QByteArray & buf);
    93   void FromNet(const QByteArray & buf);
    93   void AddNetTeam(const HWTeam&);
    94   void AddNetTeam(const HWTeam&);
    94   void GameStateChanged(GameState gameState);
       
    95 
    95 
    96   void seedChanged(const QString & seed);
    96   void seedChanged(const QString & seed);
    97   void mapChanged(const QString & map);
    97   void mapChanged(const QString & map);
    98   void themeChanged(const QString & theme);
    98   void themeChanged(const QString & theme);
    99   void initHealthChanged(quint32 health);
    99   void initHealthChanged(quint32 health);
   121   void ClientRead();
   121   void ClientRead();
   122   void OnConnect();
   122   void OnConnect();
   123   void OnDisconnect();
   123   void OnDisconnect();
   124   //void Perform();
   124   //void Perform();
   125   void displayError(QAbstractSocket::SocketError socketError);
   125   void displayError(QAbstractSocket::SocketError socketError);
   126   void ShowErrorMessage(const QString &);
       
   127   //void FlushNetBuf();
   126   //void FlushNetBuf();
   128 };
   127 };
   129 
   128 
   130 #endif // _NEW_NETCLIENT_INCLUDED
   129 #endif // _NEW_NETCLIENT_INCLUDED