1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

LibCore: Add CConfigFile::open() for opening an arbitrary INI file

This commit is contained in:
Andreas Kling 2019-11-11 09:39:01 +01:00
parent 11fd7aed2a
commit 37329f829b
2 changed files with 6 additions and 0 deletions

View file

@ -11,6 +11,7 @@ class CConfigFile : public RefCounted<CConfigFile> {
public:
static NonnullRefPtr<CConfigFile> get_for_app(const String& app_name);
static NonnullRefPtr<CConfigFile> get_for_system(const String& app_name);
static NonnullRefPtr<CConfigFile> open(const String& path);
~CConfigFile();
bool has_group(const String&) const;