aboutsummaryrefslogtreecommitdiff
path: root/gui/browser.h
diff options
context:
space:
mode:
authorSupSuper2018-11-20 02:11:59 +0000
committerThierry Crozat2018-12-16 10:48:13 +0000
commitfbc9c7d371a4a123f3180ed54f26dfb5799fcc36 (patch)
tree466f031d69e0a6881ec0f9215cb816f67754215a /gui/browser.h
parent5fce1ae46400576c7d65a9ea63ff1c00952cf71c (diff)
downloadscummvm-rg350-fbc9c7d371a4a123f3180ed54f26dfb5799fcc36.tar.gz
scummvm-rg350-fbc9c7d371a4a123f3180ed54f26dfb5799fcc36.tar.bz2
scummvm-rg350-fbc9c7d371a4a123f3180ed54f26dfb5799fcc36.zip
BACKENDS: Hook GUI browser to DialogManager
Diffstat (limited to 'gui/browser.h')
-rw-r--r--gui/browser.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/gui/browser.h b/gui/browser.h
index 557563e0fa..2ef9a9c56e 100644
--- a/gui/browser.h
+++ b/gui/browser.h
@@ -37,35 +37,26 @@ class BrowserDialog : public Dialog {
public:
BrowserDialog(const char *title, bool dirBrowser);
-#ifdef MACOSX
- ~BrowserDialog();
virtual int runModal();
-#else
virtual void open();
-
virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
-#endif
const Common::FSNode &getResult() { return _choice; }
protected:
-#ifdef MACOSX
- const void *_titleRef;
- const void *_chooseRef;
-#else
ListWidget *_fileList;
EditTextWidget *_currentPath;
Common::FSNode _node;
- Common::FSList _nodeContent;
+ Common::FSList _nodeContent;
+
bool _showHidden;
CheckboxWidget *_showHiddenWidget;
-#endif
+
Common::FSNode _choice;
+ const char *_title;
bool _isDirBrowser;
-#ifndef MACOSX
void updateListing();
-#endif
};
} // End of namespace GUI