diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-03-23 02:20:12 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-03-23 02:20:33 +0300 |
commit | 481760c9865fe1d39d80b99c398a0b6b9b9ecdd9 (patch) | |
tree | 2b2abaae6787af849d5c0a1a0de5716a44df86cc /src/Connection.h | |
parent | a2958190538867c389c2a1b2cc1de362310f88b0 (diff) |
ProtoBuf for murmur (no DBus/Ice yet)
Diffstat (limited to 'src/Connection.h')
-rw-r--r-- | src/Connection.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Connection.h b/src/Connection.h index 8955b406a..18b0cfc89 100644 --- a/src/Connection.h +++ b/src/Connection.h @@ -33,8 +33,7 @@ #include "murmur_pch.h" #include "CryptState.h" - -class Message; +#include "Mumble.pb.h" class Connection : public QObject { private: @@ -68,7 +67,7 @@ class Connection : public QObject { public: Connection(QObject *parent, QSslSocket *qtsSocket); ~Connection(); - void sendMessage(const Message *mMsg); + void sendMessage(const ::google::protobuf::Message &msg, unsigned int msgType, QByteArray &cache); void sendMessage(const QByteArray &qbaMsg); void disconnectSocket(bool force=false); void forceFlush(); |