Unified use of settings. Removed a couple of unused functions.

This commit is contained in:
a3d4
2020-03-19 14:02:39 +01:00
parent 3b9e926559
commit f4d9f6772f
10 changed files with 30 additions and 40 deletions
-2
View File
@@ -40,11 +40,9 @@ public:
std::string simpleExpectations();
bool hasSetting(std::string const& _name) const;
bool boolSetting(std::string const& _name, bool _defaultValue);
size_t sizetSetting(std::string const& _name, size_t _defaultValue);
std::string stringSetting(std::string const& _name, std::string const& _defaultValue);
void setSetting(std::string const& _name, std::string const& _value);
void ensureAllSettingsRead() const;