diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-02-25 14:57:39 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-02-25 14:57:39 +0100 |
| commit | 2ed59f41ed7f02cf99f75f34637bfa75ae427097 (patch) | |
| tree | 86fa73ccd030da966cba1a66c15afa659b9632df /src/daemon/DaemonManager.h | |
| parent | ce10016408118eaba0df0d46d156e677aa8fece2 (diff) | |
| download | monzero-gui-2ed59f41ed7f02cf99f75f34637bfa75ae427097.tar.gz monzero-gui-2ed59f41ed7f02cf99f75f34637bfa75ae427097.tar.xz monzero-gui-2ed59f41ed7f02cf99f75f34637bfa75ae427097.zip | |
Daemon manager improvements
Diffstat (limited to 'src/daemon/DaemonManager.h')
| -rw-r--r-- | src/daemon/DaemonManager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/DaemonManager.h b/src/daemon/DaemonManager.h index bd13ef60..b45b369f 100644 --- a/src/daemon/DaemonManager.h +++ b/src/daemon/DaemonManager.h @@ -20,9 +20,13 @@ public: Q_INVOKABLE bool running(bool testnet) const; // Send daemon command from qml and prints output in console window. Q_INVOKABLE bool sendCommand(const QString &cmd, bool testnet) const; + Q_INVOKABLE void exit(); private: + bool sendCommand(const QString &cmd, bool testnet, QString &message) const; + bool startWatcher(bool testnet) const; + bool stopWatcher(bool testnet) const; signals: void daemonStarted() const; void daemonStopped() const; @@ -41,6 +45,7 @@ private: bool initialized = false; QString m_monerod; bool m_has_daemon = true; + bool m_app_exit = false; }; |
