X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.h;h=2989932b0b43f2e3dfe1af352363eded9eb704af;hp=fd96ff6c6c58e80e65d4cc5489fe539ca558eabe;hb=e9a8478aa3546063dc39cbadb9280e5566416eeb;hpb=3e8cae7c0724d878ef0e7361d709711750164473 diff --git a/src/core/corenetwork.h b/src/core/corenetwork.h index fd96ff6c..2989932b 100644 --- a/src/core/corenetwork.h +++ b/src/core/corenetwork.h @@ -22,6 +22,7 @@ #define CORENETWORK_H #include "network.h" +#include "coreircchannel.h" class CoreSession; @@ -40,6 +41,9 @@ public slots: virtual void requestDisconnect() const; virtual void requestSetNetworkInfo(const NetworkInfo &info); +protected: + inline virtual IrcChannel *ircChannelFactory(const QString &channelname) { return new CoreIrcChannel(channelname, this); } + private: CoreSession *_coreSession; };