summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-12-12 15:52:42 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-12-12 15:52:42 +0000
commit16cb089845b3adcdd605d138d903bd7ada0f9e03 (patch)
treed43dea9b474d9cceee0de653e23f9aa2c556009e /src/gui/updatewindow.h
parent15d969bb200b3e820982ccc8cb157231d7befa7e (diff)
downloadMana-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.h9
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. */