Closed yuyoyuppe closed 6 years ago
possible API:
class SettingsCategory { // ... public: const char * get_value(const char * configValue); }; class ConfigManager { // ... public: SettingsCategory& get_category(const char * categoryName) };
example:
config.ini
[Input] SHOOT = 73 [Audio] MasterVolume = 30
usage example:
configManager->GetCategory("Input")->get_value("SHOOT"); // "73"
possible API:
example:
config.ini
usage example: