| 124 | |
| 125 | |
| 126 | bool CryptSettings::GetSettingCurrent(CryptSettingsRegistryValuesKeys key, int& current) |
| 127 | { |
| 128 | auto it = m_settings_registry_map.find(key); |
| 129 | assert(it != m_settings_registry_map.end()); |
| 130 | if (it == m_settings_registry_map.end()) |
| 131 | return false; |
| 132 | |
| 133 | auto val = theApp.GetProfileInt(CryptSettingsRegValName, it->second.regval_name.c_str(), it->second.default); |
| 134 | |
| 135 | current = val; |
| 136 | |
| 137 | return true; |
| 138 | } |
| 139 | |
| 140 | bool CryptSettings::GetSettingCurrent(CryptSettingsRegistryValuesKeys key, bool& current) |
| 141 | { |
no test coverage detected