| 90 | |
| 91 | private: |
| 92 | void LoadFromRegistry() override { |
| 93 | setting_type Value = GetDefaultSetting(); // // // |
| 94 | { |
| 95 | stOldSettingContext s; |
| 96 | if (m_pSectionSecond) |
| 97 | Value = GetRegValue(m_pSectionSecond, m_pEntrySecond, Value); |
| 98 | Value = GetRegValue(m_pSection, m_pEntry, Value); |
| 99 | } |
| 100 | if (m_pSectionSecond) |
| 101 | Value = GetRegValue(m_pSectionSecond, m_pEntrySecond, Value); |
| 102 | WriteSetting(GetRegValue(m_pSection, m_pEntry, Value)); |
| 103 | } |
| 104 | |
| 105 | void SaveToRegistry() override { |
| 106 | SetRegValue(m_pSection, m_pEntry, ReadSetting()); |
no test coverage detected