X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=102252b6683db4aa405c03c1f134cc7aea207aab;hp=e7a8c635d39353dc0837cc415f8cae487e912fe1;hb=f88bfa81380ceb2c4afce5b15f753570a1ef063d;hpb=b3b83bb123fb3087eba7147539ec0e7a34c6258b diff --git a/src/core/core.h b/src/core/core.h index e7a8c635..102252b6 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -68,6 +68,8 @@ public: Core(); ~Core() override; + void init(); + /*** Storage access ***/ // These methods are threadsafe. @@ -707,8 +709,11 @@ signals: //! Emitted when database schema upgrade starts or ends void dbUpgradeInProgress(bool inProgress); + //! Emitted when a fatal error was encountered during async initialization + void exitRequested(int exitCode, const QString &reason); + public slots: - bool init(); + void initAsync(); /** Persist storage. *