mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
Everywhere: Rename get in ConfigFile::get_for_{lib,app,system} to open
This patch brings the ConfigFile helpers for opening lib, app and system configs more inline with the regular ConfigFile::open functions.
This commit is contained in:
parent
938051feb8
commit
acde7d12b0
Notes:
sideshowbarker
2024-07-18 05:25:19 +09:00
Author: https://github.com/networkException
Commit: acde7d12b0
Pull-request: https://github.com/SerenityOS/serenity/pull/9501
Reviewed-by: https://github.com/awesomekling
37 changed files with 51 additions and 51 deletions
|
@ -24,9 +24,9 @@ public:
|
|||
No,
|
||||
};
|
||||
|
||||
static NonnullRefPtr<ConfigFile> get_for_lib(String const& lib_name, AllowWriting = AllowWriting::No);
|
||||
static NonnullRefPtr<ConfigFile> get_for_app(String const& app_name, AllowWriting = AllowWriting::No);
|
||||
static NonnullRefPtr<ConfigFile> get_for_system(String const& app_name, AllowWriting = AllowWriting::No);
|
||||
static NonnullRefPtr<ConfigFile> open_for_lib(String const& lib_name, AllowWriting = AllowWriting::No);
|
||||
static NonnullRefPtr<ConfigFile> open_for_app(String const& app_name, AllowWriting = AllowWriting::No);
|
||||
static NonnullRefPtr<ConfigFile> open_for_system(String const& app_name, AllowWriting = AllowWriting::No);
|
||||
static NonnullRefPtr<ConfigFile> open(String const& filename, AllowWriting = AllowWriting::No);
|
||||
static NonnullRefPtr<ConfigFile> open(String const& filename, int fd);
|
||||
~ConfigFile();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue