X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreeventmanager.h;h=28b96ed2c9afa2a79299120bfac89c5f31f0ed4f;hp=b64e7bf918c40ba492cd1e8ef3d662059af9564f;hb=HEAD;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e diff --git a/src/core/coreeventmanager.h b/src/core/coreeventmanager.h index b64e7bf9..28b96ed2 100644 --- a/src/core/coreeventmanager.h +++ b/src/core/coreeventmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -25,24 +25,21 @@ #include "coresession.h" #include "eventmanager.h" -class CoreSession; - class CoreEventManager : public EventManager { Q_OBJECT public: - CoreEventManager(CoreSession *session) + CoreEventManager(CoreSession* session) : EventManager(session) , _coreSession(session) {} protected: - inline Network *networkById(NetworkId id) const { return _coreSession->network(id); } + inline Network* networkById(NetworkId id) const override { return _coreSession->network(id); } private: - CoreSession *_coreSession; + CoreSession* _coreSession; }; - #endif