95 void save()
const override;
101 mutable bool iModified =
false;
102 bool iRegisteringSetting =
false;
103 mutable std::unique_ptr<xml> iStore;
108 std::map<std::pair<i_setting const*, string>,
string> iFriendlyText;
virtual void register_group(i_string const &aGroupSubkey, i_string const &aGroupTitle=string{})=0
virtual void register_category(i_string const &aCategorySubkey, i_string const &aCategoryTitle=string{})=0
virtual void register_setting(i_setting &aSetting)=0
void apply_changes() override
void discard_changes() override
void changing_setting(i_setting const &aSetting) override
category_titles const & all_categories() const override
i_string const & group_title(i_string const &aGroupSubkey) const override
i_string const & friendly_text(i_setting const &aSetting, i_string const &aText) const override
setting_list const & all_settings() const override
void change_setting(i_setting &aExistingSetting, const i_setting_value &aValue, bool aApplyNow=true) override
i_string const & category_title(i_string const &aCategorySubkey) const override
group_titles const & all_groups() const override
i_setting const & setting(i_string const &aKey) const override
setting_ordered_list const & all_settings_ordered() const override
bool modified() const override
void register_setting(i_setting &aSetting) override
i_setting & setting(i_string const &aKey) override
define_declared_event(SettingChanging, setting_changing, const i_setting &) define_declared_event(SettingChanged
void register_friendly_text(i_setting const &aSetting, i_string const &aText, i_string const &aFriendlyText) override
void register_group(i_string const &aGroupSubkey, i_string const &aGroupTitle=string{}) override
void changed_setting(i_setting const &aSetting) override
void save() const override
void delete_setting(i_setting &aExistingSetting) override
void register_category(i_string const &aCategorySubkey, i_string const &aCategoryTitle=string{}) override
#define define_declared_event(name, declName,...)