diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-16 15:10:39 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-16 15:10:39 -0600 |
commit | bcff13b6bce18604472e5954eb5ab7af4bb43b0f (patch) | |
tree | 3490b944b2f8be1e93312b643f21489d97ca84a9 /include/datetime/settings.h | |
parent | ee64bb2698adfe27e55615a8856b0e2c78ad8469 (diff) | |
download | ayatana-indicator-datetime-bcff13b6bce18604472e5954eb5ab7af4bb43b0f.tar.gz ayatana-indicator-datetime-bcff13b6bce18604472e5954eb5ab7af4bb43b0f.tar.bz2 ayatana-indicator-datetime-bcff13b6bce18604472e5954eb5ab7af4bb43b0f.zip |
Implement Settings, a properties-cpp wrapper around GSettings
Diffstat (limited to 'include/datetime/settings.h')
-rw-r--r-- | include/datetime/settings.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/include/datetime/settings.h b/include/datetime/settings.h index 3d4bc33..418bc33 100644 --- a/include/datetime/settings.h +++ b/include/datetime/settings.h @@ -42,17 +42,19 @@ public: Settings() =default; virtual ~Settings() =default; - core::Property<TimeFormatMode> time_format_mode; - core::Property<bool> show_clock; - core::Property<bool> show_day; - core::Property<bool> show_year; - core::Property<bool> show_seconds; core::Property<std::string> custom_time_format; + core::Property<std::vector<std::string>> locations; core::Property<bool> show_calendar; + core::Property<bool> show_clock; + core::Property<bool> show_date; + core::Property<bool> show_day; + core::Property<bool> show_detected_location; core::Property<bool> show_events; core::Property<bool> show_locations; - core::Property<bool> show_auto_detected_location; - core::Property<std::vector<std::string>> locations; + core::Property<bool> show_seconds; + core::Property<bool> show_week_numbers; + core::Property<bool> show_year; + core::Property<TimeFormatMode> time_format_mode; core::Property<std::string> timezone_name; }; |