CLOUD: Upgrade FolderDownloadRequest::getProgress()

Now NetworkReadStream, which is used in DownloadRequest, which is used
in FolderDownloadRequest, returns progress information provided by
libcurl.
This commit is contained in:
Alexander Tkachev 2016-07-14 10:17:26 +06:00
parent e25338ec24
commit dfd68306de
9 changed files with 72 additions and 5 deletions

View file

@ -56,7 +56,7 @@ public:
virtual void restart();
/** Returns a number in range [0, 1], where 1 is "complete". */
double getProgress();
double getProgress() const;
/** Returns remote directory path. */
Common::String getRemotePath() { return _remoteDirectoryPath; }