diff options
Diffstat (limited to 'backends/cloud/cloudmanager.cpp')
-rw-r--r-- | backends/cloud/cloudmanager.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/backends/cloud/cloudmanager.cpp b/backends/cloud/cloudmanager.cpp index e5b2c2a69d..80ee24808c 100644 --- a/backends/cloud/cloudmanager.cpp +++ b/backends/cloud/cloudmanager.cpp @@ -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(); |