aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
Diffstat (limited to 'include/datetime')
-rw-r--r--include/datetime/actions-live.h8
-rw-r--r--include/datetime/actions.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/include/datetime/actions-live.h b/include/datetime/actions-live.h
index 6f536c4..857c3a6 100644
--- a/include/datetime/actions-live.h
+++ b/include/datetime/actions-live.h
@@ -40,10 +40,10 @@ public:
virtual ~LiveActions() =default;
bool desktop_has_calendar_app() const override;
- void open_alarm_app() override;
- void open_appointment(const Appointment&, const DateTime&) override;
- void open_calendar_app(const DateTime&) override;
- void open_settings_app() override;
+ std::string open_alarm_app() override;
+ std::string open_appointment(const Appointment&, const DateTime&) override;
+ std::string open_calendar_app(const DateTime&) override;
+ std::string open_settings_app() override;
void set_location(const std::string& zone, const std::string& name) override;
};
diff --git a/include/datetime/actions.h b/include/datetime/actions.h
index d866b00..5927967 100644
--- a/include/datetime/actions.h
+++ b/include/datetime/actions.h
@@ -45,10 +45,10 @@ public:
virtual bool desktop_has_calendar_app() const =0;
- virtual void open_alarm_app() =0;
- virtual void open_appointment(const Appointment&, const DateTime&) =0;
- virtual void open_calendar_app(const DateTime&) =0;
- virtual void open_settings_app() =0;
+ virtual std::string open_alarm_app() =0;
+ virtual std::string open_appointment(const Appointment&, const DateTime&) =0;
+ virtual std::string open_calendar_app(const DateTime&) =0;
+ virtual std::string open_settings_app() =0;
virtual void set_location(const std::string& zone, const std::string& name)=0;