diff options
| author | xiphon <xiphon@protonmail.com> | 2020-02-16 15:01:17 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-02-16 15:01:17 +0000 |
| commit | 636ca1c41dc5fb56b9af4140f4896508de779e64 (patch) | |
| tree | 49215c4bde3301f33fcc9c23998078502cd4e15b /src/daemon/DaemonManager.h | |
| parent | eb7fae92ef0ed01a1d17e56fac217c6450716ccc (diff) | |
| download | monzero-gui-636ca1c41dc5fb56b9af4140f4896508de779e64.tar.gz monzero-gui-636ca1c41dc5fb56b9af4140f4896508de779e64.tar.xz monzero-gui-636ca1c41dc5fb56b9af4140f4896508de779e64.zip | |
DaemonManager: async stop, simple mode wizard - show splash on stop
Diffstat (limited to 'src/daemon/DaemonManager.h')
| -rw-r--r-- | src/daemon/DaemonManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/DaemonManager.h b/src/daemon/DaemonManager.h index 4bbd3133..774aecb3 100644 --- a/src/daemon/DaemonManager.h +++ b/src/daemon/DaemonManager.h @@ -45,7 +45,7 @@ public: static DaemonManager * instance(const QStringList *args); Q_INVOKABLE bool start(const QString &flags, NetworkType::Type nettype, const QString &dataDir = "", const QString &bootstrapNodeAddress = "", bool noSync = false); - Q_INVOKABLE bool stop(NetworkType::Type nettype); + Q_INVOKABLE void stopAsync(NetworkType::Type nettype, const QJSValue& callback); Q_INVOKABLE bool noSync() const noexcept; // return true if daemon process is started |
