CLOUD: Calculate FolderDownload download speed
This commit is contained in:
parent
85adefdb86
commit
c431ae6d84
9 changed files with 47 additions and 6 deletions
|
@ -349,13 +349,19 @@ double CloudManager::getDownloadingProgress() {
|
|||
uint64 CloudManager::getDownloadBytesNumber() {
|
||||
Storage *storage = getCurrentStorage();
|
||||
if (storage) return storage->getDownloadBytesNumber();
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint64 CloudManager::getDownloadTotalBytesNumber() {
|
||||
Storage *storage = getCurrentStorage();
|
||||
if (storage) return storage->getDownloadTotalBytesNumber();
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint64 CloudManager::getDownloadSpeed() {
|
||||
Storage *storage = getCurrentStorage();
|
||||
if (storage) return storage->getDownloadSpeed();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Common::String CloudManager::getDownloadRemoteDirectory() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue