diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-12-19 17:54:03 -0500 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-12-19 17:54:03 -0500 |
commit | d93d83cec0e4232924a098b11f391abcf903075e (patch) | |
tree | ba848c6273295ffec244adde569ea7eb64d08786 /src/gui/updatewindow.h | |
parent | cbc14c8a3c6614987d2331057e114d92336cbac0 (diff) | |
download | mana-d93d83cec0e4232924a098b11f391abcf903075e.tar.gz mana-d93d83cec0e4232924a098b11f391abcf903075e.tar.bz2 mana-d93d83cec0e4232924a098b11f391abcf903075e.tar.xz mana-d93d83cec0e4232924a098b11f391abcf903075e.zip |
Fixes functionality change broke in cbc14c8a3c6614987d2331057e114d92336cbac0, where updates are loaded even if the -d option is given
Diffstat (limited to 'src/gui/updatewindow.h')
-rw-r--r-- | src/gui/updatewindow.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/updatewindow.h b/src/gui/updatewindow.h index 55415938..e0712d61 100644 --- a/src/gui/updatewindow.h +++ b/src/gui/updatewindow.h @@ -64,9 +64,12 @@ class UpdaterWindow : public Window, public gcn::ActionListener, * @param updateHost Host where to get the updated files. * @param updatesDir Directory where to store updates (should be absolute * and already created). + * @param applyUpdates If true, the update window will pass the updates to teh + * resource manager */ UpdaterWindow(const std::string &updateHost, - const std::string &updatesDir); + const std::string &updatesDir, + bool applyUpdates); /** * Destructor @@ -181,6 +184,9 @@ private: /** Index of the file to be downloaded. */ unsigned int mUpdateIndex; + /** Tells ~UpdaterWindow() if it should load updates */ + bool mLoadUpdates; + gcn::Label *mLabel; /**< Progress bar caption. */ Button *mCancelButton; /**< Button to stop the update process. */ Button *mPlayButton; /**< Button to start playing. */ |