protobuf client->server communication almost working

This commit is contained in:
Max-Wilhelm Bruker 2011-12-18 18:35:14 +01:00
parent 4eb9dfc5bf
commit 314f17091d
96 changed files with 1633 additions and 860 deletions

View file

@ -4,6 +4,7 @@
#include "tab.h"
#include <QGroupBox>
#include <QMap>
#include <google/protobuf/message.h>
class AbstractClient;
class UserList;
@ -21,6 +22,7 @@ class Event_LeaveRoom;
class Event_RoomSay;
class ProtocolResponse;
class GameSelector;
class PendingCommand;
class TabRoom : public Tab {
Q_OBJECT
@ -62,6 +64,9 @@ public:
const QMap<int, QString> &getGameTypes() const { return gameTypes; }
QString getChannelName() const { return roomName; }
QString getTabText() const { return roomName; }
PendingCommand *prepareRoomCommand(const ::google::protobuf::Message &cmd);
void sendRoomCommand(PendingCommand *pend);
};
#endif