--- a/QTfrontend/newnetclient.h Sun Jan 14 13:16:55 2007 +0000
+++ b/QTfrontend/newnetclient.h Sun Jan 14 13:23:15 2007 +0000
@@ -38,7 +38,6 @@
void Connect(const QString & hostName, quint16 port, const QString & nick);
void Disconnect();
void JoinGame(const QString & game);
- void AddTeam(const HWTeam & team);
void StartGame();
private:
@@ -54,7 +53,7 @@
template <typename T>
void SendCfgStrNet(T a) {
QByteArray strmsg;
- strmsg.append(a);
+ strmsg.append(a);
quint8 sz = strmsg.size();
QByteArray enginemsg = QByteArray((char *)&sz, 1) + strmsg;
QString _msg = delimeter + QString(enginemsg.toBase64());
@@ -85,6 +84,7 @@
public slots:
void SendNet(const QByteArray & buf);
+ void AddTeam(const HWTeam & team);
private slots:
void ClientRead();