diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-02-26 21:48:31 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-26 21:48:31 +0200 |
commit | 96150f1aeacf55d311c41ffe12d9e754b1cda001 (patch) | |
tree | 94252db740b9c2b6ad8122523baa732c0b913fbc /src/gui/updatewindow.h | |
parent | 4c04665b29cd7304717cefe49d70d881d8b38ca3 (diff) | |
download | mv-96150f1aeacf55d311c41ffe12d9e754b1cda001.tar.gz mv-96150f1aeacf55d311c41ffe12d9e754b1cda001.tar.bz2 mv-96150f1aeacf55d311c41ffe12d9e754b1cda001.tar.xz mv-96150f1aeacf55d311c41ffe12d9e754b1cda001.zip |
Add ability to redownload update files if file checksum incorrect.
Diffstat (limited to 'src/gui/updatewindow.h')
-rw-r--r-- | src/gui/updatewindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/updatewindow.h b/src/gui/updatewindow.h index 1246c9b35..13b72f3a8 100644 --- a/src/gui/updatewindow.h +++ b/src/gui/updatewindow.h @@ -136,6 +136,8 @@ private: static size_t memoryWrite(void *ptr, size_t size, size_t nmemb, void *stream); + bool validateFile(std::string filePath, long hash); + enum UpdateDownloadStatus { UPDATE_ERROR = 0, |