X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresession.h;h=7144fe2b0d37723eabddea943dd3f0d114ee0659;hp=1403c744511e91138ac9897f6c7dceae9f33115c;hb=52df0969e22249e6758714eec9e5afd7d4fe9b83;hpb=f3fc0324c8860dff6af722dafbeb05fcb69a0c41 diff --git a/src/core/coresession.h b/src/core/coresession.h index 1403c744..7144fe2b 100644 --- a/src/core/coresession.h +++ b/src/core/coresession.h @@ -24,14 +24,16 @@ #include #include +#include "corecoreinfo.h" #include "message.h" class BufferSyncer; class CoreBacklogManager; class CoreBufferViewManager; +class CoreIrcListHelper; class Identity; class NetworkConnection; -class Network; +class CoreNetwork; struct NetworkInfo; class SignalProxy; @@ -46,7 +48,7 @@ public: QList buffers() const; UserId user() const; - Network *network(NetworkId) const; + CoreNetwork *network(NetworkId) const; NetworkConnection *networkConnection(NetworkId) const; Identity *identity(IdentityId) const; @@ -54,6 +56,8 @@ public: SignalProxy *signalProxy() const; + inline CoreIrcListHelper *ircListHelper() const { return _ircListHelper; } + void attachNetworkConnection(NetworkConnection *conn); //! Return necessary data for restoring the session after restarting the core @@ -178,13 +182,15 @@ private: SignalProxy *_signalProxy; QHash _connections; - QHash _networks; - QHash _networksToRemove; + QHash _networks; + // QHash _networksToRemove; QHash _identities; BufferSyncer *_bufferSyncer; CoreBacklogManager *_backlogManager; CoreBufferViewManager *_bufferViewManager; + CoreIrcListHelper *_ircListHelper; + CoreCoreInfo _coreInfo; QScriptEngine *scriptEngine;