X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Fwalletmodel.h;h=e78773f8a334f616159def3315b0f0ee30c24a3e;hb=3374c3ef094b328e6c6957fdaf5a9abff0c53a33;hp=e04ae8790c056b145e04ce3fd03f9817ca643f6f;hpb=5f4fee559e3a30d967b104ddadb82283788a9f8a;p=novacoin.git diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index e04ae87..e78773f 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -17,7 +17,7 @@ struct SendCoinsRecipient qint64 amount; }; -// Interface to Bitcoin wallet from Qt view code +/** Interface to Bitcoin wallet from Qt view code. */ class WalletModel : public QObject { Q_OBJECT @@ -76,6 +76,8 @@ public: // Passphrase only needed when unlocking bool setWalletLocked(bool locked, const SecureString &passPhrase=SecureString()); bool changePassphrase(const SecureString &oldPass, const SecureString &newPass); + // Wallet backup + bool backupWallet(const QString &filename); // RAI object for unlocking wallet, returned by requestUnlock() class UnlockContext