aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/cloudmanager.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-14 15:29:47 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit0ca791709329c3e7f24f68fa2da7c86c87dac557 (patch)
tree17ef63035c6226d45c758f3f59b580c174b32d63 /backends/cloud/cloudmanager.h
parentca33c0a0a8ce31b13137f74ba15e226b3855b75a (diff)
downloadscummvm-rg350-0ca791709329c3e7f24f68fa2da7c86c87dac557.tar.gz
scummvm-rg350-0ca791709329c3e7f24f68fa2da7c86c87dac557.tar.bz2
scummvm-rg350-0ca791709329c3e7f24f68fa2da7c86c87dac557.zip
CLOUD: Update FolderDownloadRequest
It now keeps track of downloaded bytes.
Diffstat (limited to 'backends/cloud/cloudmanager.h')
-rw-r--r--backends/cloud/cloudmanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/cloud/cloudmanager.h b/backends/cloud/cloudmanager.h
index 1098bddaa6..0baede7fe9 100644
--- a/backends/cloud/cloudmanager.h
+++ b/backends/cloud/cloudmanager.h
@@ -244,6 +244,12 @@ public:
/** Returns a number in [0, 1] range which represents current download progress (1 = complete). */
double getDownloadingProgress();
+ /** Returns a number of bytes that is downloaded in current download progress. */
+ uint64 getDownloadBytesNumber();
+
+ /** Returns a total number of bytes to be downloaded in current download progress. */
+ uint64 getDownloadTotalBytesNumber();
+
/** Returns remote directory path. */
virtual Common::String getDownloadRemoteDirectory();