~charlesk/indicator-datetime/lp-1424966-fix-ecanceled-errno-rtm-14.09

« back to all changes in this revision

Viewing changes to include/datetime/actions-live.h

  • Committer: Charles Kerr
  • Date: 2014-03-22 07:25:50 UTC
  • mto: This revision was merged to the branch mainline in revision 332.
  • Revision ID: charles.kerr@canonical.com-20140322072550-5qwg2pkpigb4b0qv
make the phone and desktop actions more consistent with each other; eg, 'indicator.desktop.open-calendar-app' + 'indicator.phone.open-calendar-app'

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    LiveActions(const std::shared_ptr<State>& state_in);
40
40
    ~LiveActions() =default;
41
41
 
42
 
    void open_desktop_settings();
43
 
    void open_phone_settings();
44
 
    void open_phone_clock_app();
45
 
    bool can_open_planner() const;
46
 
    void open_planner();
47
 
    void open_planner_at(const DateTime&);
48
 
    void open_appointment(const std::string& uid);
 
42
    bool desktop_has_calendar_app() const;
 
43
    void desktop_open_alarm_app();
 
44
    void desktop_open_appointment(const Appointment&);
 
45
    void desktop_open_calendar_app(const DateTime&);
 
46
    void desktop_open_settings_app();
 
47
 
 
48
    void phone_open_alarm_app();
 
49
    void phone_open_appointment(const Appointment&);
 
50
    void phone_open_calendar_app(const DateTime&);
 
51
    void phone_open_settings_app();
 
52
 
49
53
    void set_location(const std::string& zone, const std::string& name);
50
 
    void set_calendar_date(const DateTime&);
51
54
 
52
55
protected:
53
56
    virtual void execute_command(const std::string& command);