aboutsummaryrefslogtreecommitdiff
path: root/common/dialogs.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/dialogs.h')
-rw-r--r--common/dialogs.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/common/dialogs.h b/common/dialogs.h
index 70c4837aa5..76a5174822 100644
--- a/common/dialogs.h
+++ b/common/dialogs.h
@@ -24,7 +24,7 @@
#define COMMON_DIALOG_MANAGER_H
#include "common/scummsys.h"
-#include "common/str.h"
+#include "common/fs.h"
#if defined(USE_SYSDIALOGS)
@@ -48,9 +48,14 @@ public:
virtual ~DialogManager() {}
/**
- * Displays a dialog for selecting a file or folder.
+ * Displays a dialog for selecting a file or folder in the filesystem.
+ *
+ * @param title The dialog title
+ * @param choice The path selected by the user
+ * @param isDirBrowser Restrict selection to directories
+ * @return The dialog result
*/
- virtual DialogResult showFileBrowser() { return kDialogError; }
+ virtual DialogResult showFileBrowser(const char *title, FSNode &choice, bool isDirBrowser = false) { return kDialogError; }
};
} // End of namespace Common