Fixes
This commit is contained in:
@@ -9,7 +9,8 @@ enum class EventLevel
|
||||
{
|
||||
Error,
|
||||
Normal,
|
||||
Debug
|
||||
Debug,
|
||||
Verbose
|
||||
};
|
||||
|
||||
EventLevel SIADRIVE_EXPORTABLE EventLevelFromString(const SString& eventLevel);
|
||||
|
@@ -63,21 +63,19 @@ public:
|
||||
friend _CSiaFileTree;
|
||||
|
||||
public:
|
||||
explicit _CSiaFile(CSiaDriveConfig* siaDriveConfig);
|
||||
explicit _CSiaFile(CSiaDriveConfig* siaDriveConfig, const json& fileJson);
|
||||
explicit _CSiaFile(CSiaDriveConfig* siaDriveConfig, const json& fileJson);
|
||||
|
||||
public:
|
||||
virtual ~_CSiaFile();
|
||||
|
||||
// Properties
|
||||
Property(SString, SiaPath, public, public)
|
||||
Property(std::uint64_t, FileSize, public, public)
|
||||
Property(bool, Available, public, public)
|
||||
Property(bool, Renewing, public, public)
|
||||
Property(std::uint32_t, Redundancy, public, public)
|
||||
Property(std::uint32_t, UploadProgress, public, public)
|
||||
Property(std::uint32_t, Expiration, public, public)
|
||||
Property(bool, Removed, public, public)
|
||||
Property(SString, SiaPath, public, private)
|
||||
Property(std::uint64_t, FileSize, public, private)
|
||||
Property(bool, Available, public, private)
|
||||
Property(bool, Renewing, public, private)
|
||||
Property(std::uint32_t, Redundancy, public, private)
|
||||
Property(std::uint32_t, UploadProgress, public, private)
|
||||
Property(std::uint32_t, Expiration, public, private)
|
||||
};
|
||||
|
||||
class SIADRIVE_EXPORTABLE _CSiaFileTree :
|
||||
@@ -100,8 +98,6 @@ public:
|
||||
std::shared_ptr<_CSiaFile> GetFile(const SString& siaPath) const;
|
||||
std::vector<SString> QueryDirectories(SString query) const;
|
||||
bool FileExists(const SString& siaPath) const;
|
||||
void Insert(std::shared_ptr<_CSiaFile> fp);
|
||||
bool IsDirectoryEmpty(const SString& siaPath);
|
||||
};
|
||||
|
||||
class SIADRIVE_EXPORTABLE _CSiaWallet :
|
||||
|
@@ -20,7 +20,6 @@ public:
|
||||
enum class _UploadStatus : unsigned
|
||||
{
|
||||
NotFound,
|
||||
Remove,
|
||||
Queued,
|
||||
Uploading,
|
||||
Complete
|
||||
@@ -73,8 +72,6 @@ public:
|
||||
_UploadStatus GetUploadStatus(const SString& siaPath);
|
||||
CSiaError<_UploadErrorCode> Remove(const SString& siaPath);
|
||||
std::shared_ptr<std::vector<CSiaFilePtr>> GetUploadFileList() const;
|
||||
void ProcessFileTree(CSiaFileTreePtr fileTree);
|
||||
bool CheckFileRemoved(const SString& siaPath);
|
||||
};
|
||||
|
||||
typedef CUploadManager::_UploadStatus UploadStatus;
|
||||
|
Reference in New Issue
Block a user