X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=e7a8c635d39353dc0837cc415f8cae487e912fe1;hb=e212eabe53878a8fa6ecb15909a325ed7dd63283;hp=e0ec7481a3cbb04654896c0e5ea4e6e4a7f78e95;hpb=358e5d557d527675c7bc62e58a4c7ad3b408897c;p=quassel.git diff --git a/src/core/core.h b/src/core/core.h index e0ec7481..e7a8c635 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -40,6 +40,7 @@ #include "authenticator.h" #include "bufferinfo.h" #include "deferredptr.h" +#include "identserver.h" #include "message.h" #include "oidentdconfiggenerator.h" #include "sessionthread.h" @@ -692,6 +693,7 @@ public: static inline QTimer *syncTimer() { return &instance()->_storageSyncTimer; } inline OidentdConfigGenerator *oidentdConfigGenerator() const { return _oidentdConfigGenerator; } + inline IdentServer *identServer() const { return _identServer; } static const int AddClientEventId; @@ -702,6 +704,9 @@ signals: //! Relay from CoreSession::sessionState(). Used for internal connection only void sessionState(const Protocol::SessionState &sessionState); + //! Emitted when database schema upgrade starts or ends + void dbUpgradeInProgress(bool inProgress); + public slots: bool init(); @@ -801,6 +806,8 @@ private: QDateTime _startTime; + IdentServer *_identServer {nullptr}; + bool _initialized{false}; bool _configured{false};