aboutsummaryrefslogtreecommitdiff
path: root/gui/downloaddialog.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-10 11:05:00 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitd5753a484719019af9b322a74c414a9d242f8f83 (patch)
tree77c87f44d9610f44a63886bc9301a06eda6de56f /gui/downloaddialog.h
parent3064b44b92e8d0aff3a7d5b4b721d635ead7c5e9 (diff)
downloadscummvm-rg350-d5753a484719019af9b322a74c414a9d242f8f83.tar.gz
scummvm-rg350-d5753a484719019af9b322a74c414a9d242f8f83.tar.bz2
scummvm-rg350-d5753a484719019af9b322a74c414a9d242f8f83.zip
CLOUD: Add auto-detect for downloaded game
If that's the game, that is. Method is copy-pasted from Launcher, but fixed not to ask the directory and thus doesn't contain the loop.
Diffstat (limited to 'gui/downloaddialog.h')
-rw-r--r--gui/downloaddialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/downloaddialog.h b/gui/downloaddialog.h
index 74dd1e2e39..baa3f153e6 100644
--- a/gui/downloaddialog.h
+++ b/gui/downloaddialog.h
@@ -53,10 +53,12 @@ class DownloadDialog : public Dialog {
ButtonWidget *_cancelButton;
ButtonWidget *_closeButton;
- bool _close, _reflow;
+ Common::String _localDirectory;
+ bool _close, _redraw;
void refreshWidgets();
bool selectDirectories();
+ void addGame();
public:
DownloadDialog(uint32 storageId);