| 74 | }; |
| 75 | |
| 76 | class CryptComboBoxSetting : public CryptSettingControl { |
| 77 | |
| 78 | protected: |
| 79 | std::function<void(CComboBox*, int val)> m_set_from_registry; |
| 80 | std::function<bool(CComboBox*, int& val)> m_get_from_control; |
| 81 | public: |
| 82 | CryptComboBoxSetting(CCryptPropertyPage& dlg, int id, CryptSettingsRegistryValuesKeys key, std::function<void(CComboBox*, int val)> set_from_registry, std::function<bool(CComboBox*, int& val)> get_from_control) |
| 83 | : CryptSettingControl(dlg, id, key), m_set_from_registry(set_from_registry), m_get_from_control(get_from_control) {} |
| 84 | virtual ~CryptComboBoxSetting() = default; |
| 85 | |
| 86 | virtual void Set(SetType set_type, bool save = true) override; |
| 87 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected