+ void saveSessionState() const;
+
+private:
+ void processMessages();
+
+ void loadSettings();
+ void initScriptEngine();
+
+ /// Hook for converting events to the old displayMsg() handlers
+ Q_INVOKABLE void processMessageEvent(MessageEvent *event);
+
+ UserId _user;
+
+ SignalProxy *_signalProxy;
+ CoreAliasManager _aliasManager;
+ // QHash<NetworkId, NetworkConnection *> _connections;
+ QHash<NetworkId, CoreNetwork *> _networks;
+ // QHash<NetworkId, CoreNetwork *> _networksToRemove;
+ QHash<IdentityId, CoreIdentity *> _identities;
+
+ CoreBufferSyncer *_bufferSyncer;
+ CoreBacklogManager *_backlogManager;
+ CoreBufferViewManager *_bufferViewManager;
+ CoreDccConfig *_dccConfig;
+ CoreIrcListHelper *_ircListHelper;
+ CoreNetworkConfig *_networkConfig;
+ CoreCoreInfo _coreInfo;
+ CoreTransferManager *_transferManager;
+
+ EventManager *_eventManager;
+ EventStringifier *_eventStringifier; // should eventually move into client
+ CoreSessionEventProcessor *_sessionEventProcessor;
+ CtcpParser *_ctcpParser;
+ IrcParser *_ircParser;
+
+ QScriptEngine *scriptEngine;
+
+ /**
+ * This method obtains the prefixes of the message's sender within a channel, by looking up their channelmodes, and
+ * processing them to prefixes based on the network's settings.
+ * @param sender The hostmask of the sender
+ * @param bufferInfo The BufferInfo object of the buffer
+ */
+ QString senderPrefixes(const QString &sender, const BufferInfo &bufferInfo) const;
+ QList<RawMessage> _messageQueue;
+ bool _processMessages;
+ CoreIgnoreListManager _ignoreListManager;
+};