diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-22 10:01:20 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-22 10:01:20 -0600 |
commit | 2db8f6e7c4b7148377800400c72bb2e59b793d3a (patch) | |
tree | 2f5d1b1bfdd1f6886c74ac24fb0b1eeb7787cafd /include | |
parent | 47ab9adad438b137b5e7e9b33ce503e184e019f8 (diff) | |
download | ayatana-indicator-datetime-2db8f6e7c4b7148377800400c72bb2e59b793d3a.tar.gz ayatana-indicator-datetime-2db8f6e7c4b7148377800400c72bb2e59b793d3a.tar.bz2 ayatana-indicator-datetime-2db8f6e7c4b7148377800400c72bb2e59b793d3a.zip |
remove the State.timezones property. Timezones is a helper class for LiveClock and doesn't need to be public in State.
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime/state.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/datetime/state.h b/include/datetime/state.h index e735b6f..b14908e 100644 --- a/include/datetime/state.h +++ b/include/datetime/state.h @@ -52,11 +52,20 @@ namespace datetime { */ struct State { + /** \brief The current time. Used by the header, by the date menuitem, + and by the locations for relative timestamp */ std::shared_ptr<Clock> clock; + + /** \brief The locations to be displayed in the Locations + section of the #Menu */ std::shared_ptr<Locations> locations; + + /** \brief The appointments to be displayed in the Calendar and + Appointments sections of the #Menu */ std::shared_ptr<Planner> planner; + + /** \brief Configuration options that modify the view */ std::shared_ptr<Settings> settings; - std::shared_ptr<Timezones> timezones; core::Property<DateTime> calendar_day; }; |