projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #116 from mamarley/splitfix2
[quassel.git]
/
src
/
common
/
peer.h
diff --git
a/src/common/peer.h
b/src/common/peer.h
index
a21e9c1
..
02eb3c0
100644
(file)
--- a/
src/common/peer.h
+++ b/
src/common/peer.h
@@
-35,6
+35,7
@@
class Peer : public QObject
public:
Peer(AuthHandler *authHandler, QObject *parent = 0);
public:
Peer(AuthHandler *authHandler, QObject *parent = 0);
+ virtual Protocol::Type protocol() const = 0;
virtual QString description() const = 0;
virtual SignalProxy *signalProxy() const = 0;
virtual QString description() const = 0;
virtual SignalProxy *signalProxy() const = 0;
@@
-86,6
+87,9
@@
private:
typedef Peer * PeerPtr;
Q_DECLARE_METATYPE(PeerPtr)
typedef Peer * PeerPtr;
Q_DECLARE_METATYPE(PeerPtr)
+QDataStream &operator<<(QDataStream &out, PeerPtr ptr);
+QDataStream &operator>>(QDataStream &in, PeerPtr &ptr);
+
// Template method needed in the header
template<typename T> inline
// Template method needed in the header
template<typename T> inline