24 #ifndef GNC_OPTION_UI_HPP_ 25 #define GNC_OPTION_UI_HPP_ 32 using GncOptionUIItemPtr = std::unique_ptr<GncOptionUIItem>;
52 virtual void set_dirty(
bool status) noexcept { m_dirty = status; }
53 virtual bool get_dirty()
const noexcept {
return m_dirty; }
54 virtual void set_selectable(
bool selectable)
const noexcept = 0;
55 virtual void clear_ui_item() = 0;
56 virtual void set_ui_item_from_option(
GncOption& option) noexcept = 0;
57 virtual void set_option_from_ui_item(
GncOption& option) noexcept = 0;
63 #endif //GNC_OPTION_UI_HPP__
Represents the public interface for an option.
Holds a pointer to the UI item which will control the option and an enum representing the type of the...
GncOptionUIType
Used by GncOptionClassifier to indicate to dialog-options what control should be displayed for the op...