mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 22:17:45 +00:00
LibCore: Add a CConfigFile class, a simple INI file parser.
You open the configuration for an app like so: auto config = CConfigFile::get_for_app("MyApp"); This will then open ~/MyApp.ini and parse it for you. Immediately start using it in Minesweeper to load the field size and mine count from a config file.
This commit is contained in:
parent
37c27e2e39
commit
bc5148354f
5 changed files with 269 additions and 3 deletions
|
@ -13,6 +13,7 @@ OBJS = \
|
|||
CObject.o \
|
||||
CTimer.o \
|
||||
CEventLoop.o \
|
||||
CConfigFile.o \
|
||||
CEvent.o
|
||||
|
||||
LIBRARY = libcore.a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue