diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-12-12 15:52:42 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-12-12 15:52:42 +0000 |
commit | 16cb089845b3adcdd605d138d903bd7ada0f9e03 (patch) | |
tree | d43dea9b474d9cceee0de653e23f9aa2c556009e /src/gui/updatewindow.h | |
parent | 15d969bb200b3e820982ccc8cb157231d7befa7e (diff) | |
download | mana-16cb089845b3adcdd605d138d903bd7ada0f9e03.tar.gz mana-16cb089845b3adcdd605d138d903bd7ada0f9e03.tar.bz2 mana-16cb089845b3adcdd605d138d903bd7ada0f9e03.tar.xz mana-16cb089845b3adcdd605d138d903bd7ada0f9e03.zip |
Added Adler32 checksum for updates
Diffstat (limited to 'src/gui/updatewindow.h')
-rw-r--r-- | src/gui/updatewindow.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/updatewindow.h b/src/gui/updatewindow.h index 5016036d..d2d1d68f 100644 --- a/src/gui/updatewindow.h +++ b/src/gui/updatewindow.h @@ -146,6 +146,11 @@ class UpdaterWindow : public Window, public gcn::ActionListener std::string mCurrentFile; /** + * The Adler32 checksum of the file currently downloading. + */ + unsigned long mCurrentChecksum; + + /** * Absolute path to locally save downloaded files. */ std::string mBasePath; @@ -184,12 +189,12 @@ class UpdaterWindow : public Window, public gcn::ActionListener /** * List of files to download */ - std::vector<std::string> mFiles; + std::vector<std::string> mLines; /** * Index of the file to be downloaded */ - unsigned int mFileIndex; + unsigned int mLineIndex; gcn::Label *mLabel; /**< Progress bar caption. */ Button *mCancelButton; /**< Button to stop the update process. */ |