send custom commands to daemon

+ status button
requires #1618
This commit is contained in:
Jaquee
2017-01-22 23:04:46 +01:00
parent 2e925b530b
commit ef1d7f92f7
8 changed files with 221 additions and 19 deletions

View File

@@ -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;
};