projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: Improve handling of core initialization errors
[quassel.git]
/
src
/
core
/
core.h
diff --git
a/src/core/core.h
b/src/core/core.h
index
e7a8c63
..
102252b
100644
(file)
--- a/
src/core/core.h
+++ b/
src/core/core.h
@@
-68,6
+68,8
@@
public:
Core();
~Core() override;
Core();
~Core() override;
+ void init();
+
/*** Storage access ***/
// These methods are threadsafe.
/*** 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 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:
public slots:
-
bool init
();
+
void initAsync
();
/** Persist storage.
*
/** Persist storage.
*