Add a time-remaining counter to Launcher

This commit is contained in:
Alexander Bock
2015-06-18 22:46:24 +02:00
parent 0becba370c
commit 4d6663f824
5 changed files with 52 additions and 37 deletions

View File

@@ -45,12 +45,14 @@ public:
FileFuture(std::string file);
// Values that are written by the DownloadManager to be consumed by others
long long currentSize;
long long totalSize;
float progress; // [0,1]
float secondsRemaining;
bool isFinished;
bool isAborted;
std::string filePath;
std::string errorMessage;
bool isAborted;
// Values set by others to be consumed by the DownloadManager
bool abortDownload;