mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09: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:
parent
c71fc0683f
commit
9ae97c8cb1
Notes:
sideshowbarker
2024-07-17 12:02:22 +09:00
Author: https://github.com/LucasChollet
Commit: 9ae97c8cb1
Pull-request: https://github.com/SerenityOS/serenity/pull/16368
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/sin-ack ✅
Reviewed-by: https://github.com/timschumi
12 changed files with 16 additions and 16 deletions
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue