33 template <
typename Callback>
TimeDisplayModeSetting TimeDisplayModePreference
Adapts EnumSettingBase to a particular enumeration type.
EnumSetting(Key &&key, EnumValueSymbols symbols, long defaultSymbol, std::vector< Enum > values, const wxString &oldKey={})
An object that sends messages to an open-ended list of subscribed callbacks.
Subscription Subscribe(Callback callback)
Connect a callback to the Publisher; later-connected are called earlier.
std::function< CallbackReturn(const TimeDisplayMode &) > Callback
Type of functions that can be connected to the Publisher.
A move-only handle representing a connection to a Publisher.
bool WriteEnum(TimeDisplayMode value)
Observer::Subscription Subscribe(Callback callback)