aboutsummaryrefslogtreecommitdiff
path: root/gui/browser.h
diff options
context:
space:
mode:
authorMax Horn2002-11-19 01:36:47 +0000
committerMax Horn2002-11-19 01:36:47 +0000
commitce3cde15a027fd092d0d27fa165f0166d4ecb927 (patch)
tree6da6d74fef1a1bf25b6380eed687f6fcc1f1068a /gui/browser.h
parentf2007606a9155190ffe061dfde90fd1711ec73e8 (diff)
downloadscummvm-rg350-ce3cde15a027fd092d0d27fa165f0166d4ecb927.tar.gz
scummvm-rg350-ce3cde15a027fd092d0d27fa165f0166d4ecb927.tar.bz2
scummvm-rg350-ce3cde15a027fd092d0d27fa165f0166d4ecb927.zip
added some preliminary game auto detect code to the launcher; this required a small change to the FS API, Windows/Morphos code will have to be adapted slightly I fear. Also, not all games are detected correctly, and some probably never will be, so we still have to add a dialog for cases where auto detect doesn't work
svn-id: r5600
Diffstat (limited to 'gui/browser.h')
-rw-r--r--gui/browser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/browser.h b/gui/browser.h
index 4fda0b1596..139ac3d26a 100644
--- a/gui/browser.h
+++ b/gui/browser.h
@@ -36,16 +36,20 @@ class BrowserDialog : public Dialog {
typedef ScummVM::StringList StringList;
public:
BrowserDialog(NewGui *gui);
+ virtual ~BrowserDialog();
virtual void open();
virtual void close();
virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
+
+ FilesystemNode *getResult() { return _choice; };
protected:
ListWidget *_fileList;
StaticTextWidget*_currentPath;
FilesystemNode *_node;
FSList *_nodeContent;
+ FilesystemNode *_choice;
void updateListing();
};