equal
deleted
inserted
replaced
47 QString getHedgehogsDescription() const; |
47 QString getHedgehogsDescription() const; |
48 |
48 |
49 bool readyToStart; |
49 bool readyToStart; |
50 QStringList gameCfg; |
50 QStringList gameCfg; |
51 class ShouldDisconnectException {}; |
51 class ShouldDisconnectException {}; |
52 |
52 |
53 QString client_nick; |
53 QString client_nick; |
54 void ParseLine(const QByteArray & line); |
54 void ParseLine(const QByteArray & line); |
55 |
55 |
56 HWNetServer* m_hwserver; |
56 HWNetServer* m_hwserver; |
57 QTcpSocket* m_client; |
57 QTcpSocket* m_client; |
75 Q_OBJECT |
75 Q_OBJECT |
76 |
76 |
77 public: |
77 public: |
78 void StartServer(); |
78 void StartServer(); |
79 void StopServer(); |
79 void StopServer(); |
80 bool isCheefClient(HWConnectedClient* cl) const; |
80 bool isChiefClient(HWConnectedClient* cl) const; |
81 void sendAll(QString gameCfg); |
81 void sendAll(QString gameCfg); |
82 void sendOthers(HWConnectedClient* this_cl, QString gameCfg); |
82 void sendOthers(HWConnectedClient* this_cl, QString gameCfg); |
83 bool haveNick(const QString& nick) const; |
83 bool haveNick(const QString& nick) const; |
84 QString getRunningHostName() const; |
84 QString getRunningHostName() const; |
85 quint16 getRunningPort() const; |
85 quint16 getRunningPort() const; |