X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresession.h;h=9828478f4411ee36f74160af96c5721ee2994e2f;hp=d7b2cebb2688c1b7ae1470b356fe65e97930525e;hb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;hpb=dba66762993507168b1a3de25cfd2d7bff0ff969 diff --git a/src/core/coresession.h b/src/core/coresession.h index d7b2cebb..9828478f 100644 --- a/src/core/coresession.h +++ b/src/core/coresession.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -26,6 +26,7 @@ #include "corecoreinfo.h" #include "corealiasmanager.h" +#include "corehighlightrulemanager.h" #include "coreignorelistmanager.h" #include "peer.h" #include "protocol.h" @@ -87,6 +88,7 @@ public: inline CoreIrcListHelper *ircListHelper() const { return _ircListHelper; } inline CoreIgnoreListManager *ignoreListManager() { return &_ignoreListManager; } + inline HighlightRuleManager *highlightRuleManager() { return &_highlightRuleManager; } inline CoreTransferManager *transferManager() const { return _transferManager; } inline CoreDccConfig *dccConfig() const { return _dccConfig; } @@ -131,6 +133,8 @@ public slots: void changePassword(PeerPtr peer, const QString &userName, const QString &oldPassword, const QString &newPassword); + void kickClient(int peerId); + QHash persistentChannels(NetworkId) const; /** @@ -169,6 +173,8 @@ signals: void passwordChanged(PeerPtr peer, bool success); + void disconnectFromCore(); + protected: virtual void customEvent(QEvent *event); @@ -234,6 +240,7 @@ private: QList _messageQueue; bool _processMessages; CoreIgnoreListManager _ignoreListManager; + CoreHighlightRuleManager _highlightRuleManager; };