More unit tests
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user