mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:37:44 +00:00
LibGUI:: Let open/save specify starting directory in FilePicker
This commit is contained in:
parent
3ba86e3156
commit
8afe013069
2 changed files with 6 additions and 6 deletions
|
@ -47,8 +47,8 @@ public:
|
|||
Save
|
||||
};
|
||||
|
||||
static Optional<String> get_open_filepath(Window* parent_window, const String& window_title = {});
|
||||
static Optional<String> get_save_filepath(Window* parent_window, const String& title, const String& extension);
|
||||
static Optional<String> get_open_filepath(Window* parent_window, const String& window_title = {}, const StringView& path = Core::StandardPaths::home_directory());
|
||||
static Optional<String> get_save_filepath(Window* parent_window, const String& title, const String& extension, const StringView& path = Core::StandardPaths::home_directory());
|
||||
|
||||
virtual ~FilePicker() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue