From f54505942ce2dcc73fcbad79d4f5cdce991bf8cb Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 8 Dec 2017 10:40:44 +0000 Subject: Make the datetime indicator build on non-Ubuntu systems (which mostly lack url-dispatcher and Ubuntu Touch sound schema files. --- include/datetime/actions-live.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/datetime/actions-live.h') diff --git a/include/datetime/actions-live.h b/include/datetime/actions-live.h index 2c348c6..1dcb122 100644 --- a/include/datetime/actions-live.h +++ b/include/datetime/actions-live.h @@ -45,16 +45,20 @@ public: void desktop_open_calendar_app(const DateTime&) override; void desktop_open_settings_app() override; +#ifdef HAS_URLDISPATCHER void phone_open_alarm_app() override; void phone_open_appointment(const Appointment&) override; void phone_open_calendar_app(const DateTime&) override; void phone_open_settings_app() override; +#endif void set_location(const std::string& zone, const std::string& name) override; protected: virtual void execute_command(const std::string& command); +#ifdef HAS_URLDISPATCHER virtual void dispatch_url(const std::string& url); +#endif }; } // namespace datetime -- cgit v1.2.3