More stuff
This commit is contained in:
@@ -8,6 +8,23 @@
|
||||
NS_BEGIN(Sia)
|
||||
NS_BEGIN(Api)
|
||||
|
||||
class SIADRIVE_EXPORTABLE CSiaTransaction
|
||||
{
|
||||
public:
|
||||
CSiaTransaction();
|
||||
|
||||
~CSiaTransaction();
|
||||
|
||||
Property(SString, Date, public, private)
|
||||
Property(SString, Amount, public, private)
|
||||
Property(SString, Address, public, private)
|
||||
Property(SString, TransactionId, public, private)
|
||||
};
|
||||
|
||||
typedef std::shared_ptr<CSiaTransaction> CSiaTransactionPtr;
|
||||
typedef std::vector<CSiaTransactionPtr> CSiaTransactionList;
|
||||
typedef std::shared_ptr<CSiaTransactionList> CSiaTransactionListPtr;
|
||||
|
||||
class CSiaDriveConfig;
|
||||
class SIADRIVE_EXPORTABLE CSiaBase
|
||||
{
|
||||
@@ -134,6 +151,7 @@ public:
|
||||
CSiaError<_SiaApiErrorCode> Lock();
|
||||
CSiaError<_SiaApiErrorCode> Unlock(const SString& password);
|
||||
CSiaError<_SiaApiErrorCode> Send(const SString& address, const SiaCurrency& amount);
|
||||
CSiaTransactionListPtr GetTransactionHistory();
|
||||
};
|
||||
|
||||
class SIADRIVE_EXPORTABLE _CSiaRenter :
|
||||
|
Reference in New Issue
Block a user