diff options
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r-- | src/wallet/wallet2_api.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index b7e1f31a1..e1cd29de1 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -54,13 +54,13 @@ struct Wallet struct WalletManager { //! creates new wallet - Wallet * createWallet(const std::string &path, const std::string &password, const std::string &language); + virtual Wallet * createWallet(const std::string &path, const std::string &password, const std::string &language) = 0; //! opens existing wallet - Wallet * openWallet(const std::string &path, const std::string &password); + virtual Wallet * openWallet(const std::string &path, const std::string &password) = 0; - bool walletExists(const std::string &path); + virtual bool walletExists(const std::string &path) = 0; - int lastError() const; + virtual int lastError() const = 0; }; |