aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-02-20 19:04:56 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-03-16 14:27:57 +0300
commit930bed7074c6a54601105bda8f26638ca45e60fd (patch)
tree8c7fff973121add66effcb7554f8095e83225c51 /src/wallet/wallet2_api.h
parentwallet2 public api. initial commit (diff)
downloadmonero-930bed7074c6a54601105bda8f26638ca45e60fd.tar.xz
tests for wallet2_api
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r--src/wallet/wallet2_api.h8
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;
};