diff options
Diffstat (limited to 'src/daemon/DaemonManager.h')
| -rw-r--r-- | src/daemon/DaemonManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon/DaemonManager.h b/src/daemon/DaemonManager.h index 428630e1..2b9c8b84 100644 --- a/src/daemon/DaemonManager.h +++ b/src/daemon/DaemonManager.h @@ -4,6 +4,7 @@ #include <QObject> #include <QUrl> #include <QProcess> +#include <QVariantMap> class DaemonManager : public QObject { @@ -13,7 +14,7 @@ public: static DaemonManager * instance(const QStringList *args); - Q_INVOKABLE bool start(const QString &flags, bool testnet); + Q_INVOKABLE bool start(const QString &flags, bool testnet, const QString &dataDir = ""); Q_INVOKABLE bool stop(bool testnet); // return true if daemon process is started @@ -21,6 +22,7 @@ public: // 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(); + Q_INVOKABLE QVariantMap validateDataDir(const QString &dataDir) const; private: |
