diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-01-22 23:04:46 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-01-22 23:16:46 +0100 |
| commit | ef1d7f92f766f85d17427d0173e5b28f91e25ec5 (patch) | |
| tree | f9b36b4256271897a57a2f316acf62f5928e8d08 /src/daemon/DaemonManager.h | |
| parent | 2e925b530bd9e6a77bb2a08eba972a17f7e865ad (diff) | |
| download | monzero-gui-ef1d7f92f766f85d17427d0173e5b28f91e25ec5.tar.gz monzero-gui-ef1d7f92f766f85d17427d0173e5b28f91e25ec5.tar.xz monzero-gui-ef1d7f92f766f85d17427d0173e5b28f91e25ec5.zip | |
send custom commands to daemon
+ status button
requires #1618
Diffstat (limited to 'src/daemon/DaemonManager.h')
| -rw-r--r-- | src/daemon/DaemonManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/DaemonManager.h b/src/daemon/DaemonManager.h index 7c9730e8..2a2b38df 100644 --- a/src/daemon/DaemonManager.h +++ b/src/daemon/DaemonManager.h @@ -18,6 +18,7 @@ public: // return true if daemon process is started Q_INVOKABLE bool running() const; + Q_INVOKABLE bool sendCommand(const QString &cmd, bool testnet); signals: void daemonStarted(); @@ -37,6 +38,8 @@ private: static QStringList m_clArgs; QProcess *m_daemon; bool initialized = false; + QString m_monerod; + bool m_has_daemon = true; }; |
