1
0

More unit tests

This commit is contained in:
Scott E. Graves
2017-02-03 17:04:00 -06:00
parent 316d20c495
commit edf1818255
3 changed files with 15 additions and 4 deletions

View File

@@ -17,6 +17,13 @@ public:
WalletNotCreated
};
enum class _SiaSeedLanguage
{
English,
German,
Japanese
};
class AFX_EXT_CLASS _CSiaWallet
{
friend CSiaApi;
@@ -34,7 +41,7 @@ public:
Property(bool, Locked, public, private)
public:
_SiaApiError Create(String& seed);
_SiaApiError Create(const _SiaSeedLanguage& seedLanguage, String& seed);
_SiaApiError Restore(const String& seed);
_SiaApiError Lock();
_SiaApiError Unlock();
@@ -57,6 +64,7 @@ public:
};
typedef CSiaApi::_SiaApiError SiaApiError;
typedef CSiaApi::_SiaSeedLanguage SiaSeedLanguage;
typedef CSiaApi::_CSiaWallet CSiaWallet;
typedef std::shared_ptr<CSiaApi::_CSiaWallet> CSiaWalletPtr;