From 18013dbb911de3d71ad679f697490f161ec19a34 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 22 Mar 2014 02:25:50 -0500 Subject: make the phone and desktop actions more consistent with each other; eg, 'indicator.desktop.open-calendar-app' + 'indicator.phone.open-calendar-app' --- include/datetime/actions-live.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'include/datetime/actions-live.h') diff --git a/include/datetime/actions-live.h b/include/datetime/actions-live.h index a24b844..0bf48a8 100644 --- a/include/datetime/actions-live.h +++ b/include/datetime/actions-live.h @@ -39,15 +39,18 @@ public: LiveActions(const std::shared_ptr& state_in); ~LiveActions() =default; - void open_desktop_settings(); - void open_phone_settings(); - void open_phone_clock_app(); - bool can_open_planner() const; - void open_planner(); - void open_planner_at(const DateTime&); - void open_appointment(const std::string& uid); + bool desktop_has_calendar_app() const; + void desktop_open_alarm_app(); + void desktop_open_appointment(const Appointment&); + void desktop_open_calendar_app(const DateTime&); + void desktop_open_settings_app(); + + void phone_open_alarm_app(); + void phone_open_appointment(const Appointment&); + void phone_open_calendar_app(const DateTime&); + void phone_open_settings_app(); + void set_location(const std::string& zone, const std::string& name); - void set_calendar_date(const DateTime&); protected: virtual void execute_command(const std::string& command); -- cgit v1.2.3