summaryrefslogtreecommitdiff
path: root/src/gui/updaterwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-28 21:52:49 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-28 21:52:49 +0300
commita9345c0e74408538488b0a329202ce611a4a0072 (patch)
tree9e8df5b62f4337286f4785fa7b62a3b256b81b57 /src/gui/updaterwindow.h
parent1d5e1e10214b2f992888045dc750c8d8b7937b21 (diff)
downloadmanaplus-a9345c0e74408538488b0a329202ce611a4a0072.tar.gz
manaplus-a9345c0e74408538488b0a329202ce611a4a0072.tar.bz2
manaplus-a9345c0e74408538488b0a329202ce611a4a0072.tar.xz
manaplus-a9345c0e74408538488b0a329202ce611a4a0072.zip
Add support for auto download content fixes.
Diffstat (limited to 'src/gui/updaterwindow.h')
-rw-r--r--src/gui/updaterwindow.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/gui/updaterwindow.h b/src/gui/updaterwindow.h
index a1dc556d5..e9a45241f 100644
--- a/src/gui/updaterwindow.h
+++ b/src/gui/updaterwindow.h
@@ -146,7 +146,9 @@ private:
UPDATE_COMPLETE,
UPDATE_NEWS,
UPDATE_RESOURCES,
- UPDATE_PATCH
+ UPDATE_PATCH,
+ UPDATE_LIST2,
+ UPDATE_RESOURCES2
};
/** Status of the current download. */
@@ -158,6 +160,8 @@ private:
/** Place where the updates are stored (absolute path). */
std::string mUpdatesDir;
+ std::string mUpdatesDirReal;
+
/** The file currently downloading. */
std::string mCurrentFile;
@@ -194,9 +198,15 @@ private:
/** List of files to download. */
std::vector<updateFile> mUpdateFiles;
+ /** List of temp files to download. */
+ std::vector<updateFile> mTempUpdateFiles;
+
/** Index of the file to be downloaded. */
unsigned int mUpdateIndex;
+ /** Index offset for disaplay downloaded file. */
+ unsigned int mUpdateIndexOffset;
+
/** Tells ~UpdaterWindow() if it should load updates */
bool mLoadUpdates;
@@ -208,6 +218,7 @@ private:
ProgressBar *mProgressBar; /**< Update progress bar. */
BrowserBox *mBrowserBox; /**< Box to display news. */
ScrollArea *mScrollArea; /**< Used to scroll news box. */
+ std::string mUpdateServerPath;
};
#endif