Upload manager changes
This commit is contained in:
@@ -159,9 +159,7 @@ public:
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -193,6 +191,7 @@ public:
|
||||
~CSiaApi();
|
||||
|
||||
private:
|
||||
SiaHostConfig _hostConfig;
|
||||
CSiaCurl _siaCurl;
|
||||
CSiaDriveConfig* _siaDriveConfig;
|
||||
std::shared_ptr<_CSiaWallet> _wallet;
|
||||
@@ -207,6 +206,7 @@ public:
|
||||
std::shared_ptr<_CSiaRenter> GetRenter() const;
|
||||
std::shared_ptr<_CSiaConsensus> GetConsensus() const;
|
||||
String GetServerVersion() const;
|
||||
SiaHostConfig GetHostConfig() const;
|
||||
};
|
||||
|
||||
typedef CSiaApi::_SiaApiError SiaApiError;
|
||||
|
Reference in New Issue
Block a user