Dokan changes
This commit is contained in:
@@ -26,6 +26,22 @@ public:
|
||||
Japanese
|
||||
};
|
||||
|
||||
class AFX_EXT_CLASS _CSiaFileTree
|
||||
{
|
||||
friend CSiaApi;
|
||||
private:
|
||||
_CSiaFileTree(CSiaCurl& siaCurl);
|
||||
|
||||
public:
|
||||
~_CSiaFileTree();
|
||||
|
||||
private:
|
||||
CSiaCurl& _siaCurl;
|
||||
|
||||
public:
|
||||
void BuildTree(const json& result);
|
||||
};
|
||||
|
||||
class AFX_EXT_CLASS _CSiaWallet
|
||||
{
|
||||
friend CSiaApi;
|
||||
@@ -69,6 +85,8 @@ public:
|
||||
_SiaApiError FileExists(const String& siaPath, bool& exists) const;
|
||||
_SiaApiError DeleteFile(const String& siaPath);
|
||||
_SiaApiError DownloadFile(const String& siaPath, const String& location) const;
|
||||
_SiaApiError QueueUploadFile(const String& siaPath, const String& filePath);
|
||||
_SiaApiError GetFileTree(std::shared_ptr<_CSiaFileTree>& siaFileTree) const;
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -94,5 +112,7 @@ typedef CSiaApi::_CSiaWallet CSiaWallet;
|
||||
typedef CSiaApi::_CSiaRenter CSiaRenter;
|
||||
typedef std::shared_ptr<CSiaWallet> CSiaWalletPtr;
|
||||
typedef std::shared_ptr<CSiaRenter> CSiaRenterPtr;
|
||||
typedef CSiaApi::_CSiaFileTree CSiaFileTree;
|
||||
typedef std::shared_ptr<CSiaFileTree> CSiaFileTreePtr;
|
||||
|
||||
NS_END(2)
|
Reference in New Issue
Block a user