mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:38:12 +00:00
LibCore: Add ConfigFile::get_for_lib()
This commit is contained in:
parent
1176865276
commit
afbeb8f977
2 changed files with 9 additions and 0 deletions
|
@ -37,6 +37,7 @@ namespace Core {
|
|||
|
||||
class ConfigFile : public RefCounted<ConfigFile> {
|
||||
public:
|
||||
static NonnullRefPtr<ConfigFile> get_for_lib(const String& lib_name);
|
||||
static NonnullRefPtr<ConfigFile> get_for_app(const String& app_name);
|
||||
static NonnullRefPtr<ConfigFile> get_for_system(const String& app_name);
|
||||
static NonnullRefPtr<ConfigFile> open(const String& path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue