X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.h;h=e6288977585613d7c8b60adbb25748a75dca7783;hp=9243608ff9ee51b5450767fc2af4b6434d1b5250;hb=6efa7d5a4cd38bc21ecfafd04d25a6c952d1e097;hpb=299541db5d6586c0b09e036816dfd28477ebc249;ds=sidebyside diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index 9243608f..e6288977 100644 --- a/src/common/signalproxy.h +++ b/src/common/signalproxy.h @@ -55,6 +55,11 @@ public: HeartBeatReply }; + enum ClientConnectionType { + SignalProxyConnection, + IODeviceConnection + }; + SignalProxy(QObject *parent); SignalProxy(ProxyMode mode, QObject *parent); SignalProxy(ProxyMode mode, QIODevice *device, QObject *parent); @@ -227,16 +232,6 @@ private: // currently a communication object can either be an arbitrary QIODevice or another SignalProxy typedef QHash PeerHash; PeerHash _peers; - -// // Hash of used QIODevices -// struct peerInfo { -// quint32 byteCount; -// bool usesCompression; -// int sentHeartBeats; -// int lag; -// peerInfo() : byteCount(0), usesCompression(false), sentHeartBeats(0) {} -// }; -// QHash _peers; // containg a list of argtypes for fast access QHash _classInfo;