CLOUD: Update FolderDownloadRequest
It now keeps track of downloaded bytes.
This commit is contained in:
parent
ca33c0a0a8
commit
0ca7917093
7 changed files with 73 additions and 2 deletions
|
@ -346,6 +346,18 @@ double CloudManager::getDownloadingProgress() {
|
|||
return 1;
|
||||
}
|
||||
|
||||
uint64 CloudManager::getDownloadBytesNumber() {
|
||||
Storage *storage = getCurrentStorage();
|
||||
if (storage) return storage->getDownloadBytesNumber();
|
||||
return 1;
|
||||
}
|
||||
|
||||
uint64 CloudManager::getDownloadTotalBytesNumber() {
|
||||
Storage *storage = getCurrentStorage();
|
||||
if (storage) return storage->getDownloadTotalBytesNumber();
|
||||
return 1;
|
||||
}
|
||||
|
||||
Common::String CloudManager::getDownloadRemoteDirectory() {
|
||||
Storage *storage = getCurrentStorage();
|
||||
if (storage) return storage->getDownloadRemoteDirectory();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue