mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibFileSystemAccessClient: Rename try_save_file =>
`try_save_file_deprecated` This precedes the addition of a new api using `Core::Stream`
This commit is contained in:
committed by
Linus Groh
parent
c71fc0683f
commit
9ae97c8cb1
@@ -93,7 +93,7 @@ DeprecatedResult Client::try_open_file(GUI::Window* parent_window, DeprecatedStr
|
||||
return handle_promise(id);
|
||||
}
|
||||
|
||||
DeprecatedResult Client::try_save_file(GUI::Window* parent_window, DeprecatedString const& name, DeprecatedString const ext, Core::OpenMode requested_access)
|
||||
DeprecatedResult Client::try_save_file_deprecated(GUI::Window* parent_window, DeprecatedString const& name, DeprecatedString const ext, Core::OpenMode requested_access)
|
||||
{
|
||||
auto const id = get_new_id();
|
||||
m_promises.set(id, PromiseAndWindow { Core::Promise<DeprecatedResult>::construct(), parent_window });
|
||||
|
||||
Reference in New Issue
Block a user