Allow peer-specific sending and receiving of remote signals
[quassel.git] / src / common / types.h
index 4139aa4..d683879 100644 (file)
 #include <QHostAddress>
 #include <QDataStream>
 
+// We need to special-case Peer* in attached signals/slots, so typedef it for the meta type system
+class Peer;
+typedef Peer * PeerPtr;
+Q_DECLARE_METATYPE(PeerPtr)
+
 class SignedId
 {
 protected: