MCPcopy Create free account
hub / github.com/NtQuery/Scylla / readBooleanFromConfigFile

Method readBooleanFromConfigFile

Scylla/ConfigurationHolder.cpp:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145bool ConfigurationHolder::readBooleanFromConfigFile(Configuration & configObject)
146{
147 UINT val = GetPrivateProfileInt(CONFIG_FILE_SECTION_NAME, configObject.getName(), 0, configPath);
148 configObject.setBool(val != 0);
149 return true;
150}
151
152bool ConfigurationHolder::saveBooleanToConfigFile(const Configuration & configObject) const
153{

Callers

nothing calls this directly

Calls 2

getNameMethod · 0.80
setBoolMethod · 0.80

Tested by

no test coverage detected