mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 16:42:10 +02:00
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.
4.8 KiB
4.8 KiB