aboutsummaryrefslogtreecommitdiff
path: root/gui/browser.h
diff options
context:
space:
mode:
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();
};