equal
deleted
inserted
replaced
33 class HWNetServer : public QObject |
33 class HWNetServer : public QObject |
34 { |
34 { |
35 Q_OBJECT |
35 Q_OBJECT |
36 |
36 |
37 public: |
37 public: |
38 void StartServer(quint16 port); |
38 bool StartServer(quint16 port); |
39 void StopServer(); |
39 void StopServer(); |
40 bool isChiefClient(HWConnectedClient* cl) const; |
40 bool isChiefClient(HWConnectedClient* cl) const; |
41 QMap<QString, QStringList> getGameCfg() const; |
41 QMap<QString, QStringList> getGameCfg() const; |
42 void sendAll(QString gameCfg); |
42 void sendAll(QString gameCfg); |
43 void sendOthers(HWConnectedClient* this_cl, QString gameCfg); |
43 void sendOthers(HWConnectedClient* this_cl, QString gameCfg); |