MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / SaveSetting

Method SaveSetting

cppcryptfs/ui/CryptSettings.cpp:194–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192
193
194bool CryptSettings::SaveSetting(CryptSettingsRegistryValuesKeys key, int val)
195{
196 auto it = m_settings_registry_map.find(key);
197
198 if (it == m_settings_registry_map.end())
199 return false;
200
201 return theApp.WriteProfileInt(CryptSettingsRegValName, it->second.regval_name.c_str(), val) != FALSE;
202}

Callers 5

SetMethod · 0.80

Calls 2

findMethod · 0.80
WriteProfileIntMethod · 0.80

Tested by

no test coverage detected