diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-16 21:23:57 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-16 21:23:57 -0600 |
commit | 2e9d3bb48946ccebf49cff64ab5de67e5714e1e3 (patch) | |
tree | aa8fc3b514a49b58dc797a2083af5f6417adf0f5 /include | |
parent | 6f2e235e660094f6ec27a0a099428ac3fe852ff7 (diff) | |
download | ayatana-indicator-datetime-2e9d3bb48946ccebf49cff64ab5de67e5714e1e3.tar.gz ayatana-indicator-datetime-2e9d3bb48946ccebf49cff64ab5de67e5714e1e3.tar.bz2 ayatana-indicator-datetime-2e9d3bb48946ccebf49cff64ab5de67e5714e1e3.zip |
get timezone, clock tests running again with Settings & State
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime/actions-live.h | 7 | ||||
-rw-r--r-- | include/datetime/actions.h | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/include/datetime/actions-live.h b/include/datetime/actions-live.h index 2059a4d..3d04660 100644 --- a/include/datetime/actions-live.h +++ b/include/datetime/actions-live.h @@ -36,15 +36,14 @@ namespace datetime { class LiveActions: public Actions { public: - LiveActions(std::shared_ptr<State>& state): Actions(state) {} + LiveActions(const std::shared_ptr<State>& state): Actions(state) {} ~LiveActions() =default; void open_desktop_settings(); void open_phone_settings(); - void open_phone_clock(); - void open_phone_planner(); + void open_phone_clock_app(); + void open_planner(); void open_planner_at(const DateTime&); - void open_calendar_at(const DateTime&); void open_appointment(const std::string& uid); void set_location(const std::string& zone, const std::string& name); void set_calendar_date(const DateTime&); diff --git a/include/datetime/actions.h b/include/datetime/actions.h index ed45c3c..a4c6017 100644 --- a/include/datetime/actions.h +++ b/include/datetime/actions.h @@ -51,7 +51,7 @@ public: std::shared_ptr<State> state() { return m_state; } protected: - Actions(std::shared_ptr<State>& state); + Actions(const std::shared_ptr<State>& state); virtual ~Actions(); private: |