X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fpeerfactory.h;h=79a0c3554bbd29b4fd404c320ca682f202b2b996;hp=967371195ae1dc5967c98bb87b1fa9dd8217727e;hb=9c0ca310ca1b6938cf100c9f7772d39ede630b31;hpb=31414ddaa421b1f8091eab8149da74545f7c47ab diff --git a/src/common/peerfactory.h b/src/common/peerfactory.h index 96737119..79a0c355 100644 --- a/src/common/peerfactory.h +++ b/src/common/peerfactory.h @@ -39,6 +39,8 @@ public: typedef QPair ProtoDescriptor; typedef QVector ProtoList; + static ProtoList supportedProtocols(); + static RemotePeer *createPeer(const ProtoDescriptor &protocol, AuthHandler *authHandler, QTcpSocket *socket, QObject *parent = 0); static RemotePeer *createPeer(const ProtoList &protocols, AuthHandler *authHandler, QTcpSocket *socket, QObject *parent = 0);