This commit is contained in:
Zero Fanker 2024-04-07 00:46:30 -04:00
parent e851695045
commit 01ec96e810
2 changed files with 30 additions and 33 deletions

View file

@ -280,6 +280,9 @@ public:
const CString& GetString(const CString& section, const CString& key) const {
return GetSection(section).GetString(key);
}
const CString& GetStringOr(const CString& section, const CString& key, const CString& def) const {
return GetSection(section).GetStringOr(key, def);
}
const bool GetBool(const CString& section, const CString& key, bool def = false) const {
return this->GetSection(section).GetBool(key, def);
}