diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-08 10:40:44 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-08 10:40:44 +0000 |
commit | f54505942ce2dcc73fcbad79d4f5cdce991bf8cb (patch) | |
tree | 9aab8e9b612adfff946a93365cd0d2fea9aeb74c /include/datetime/actions.h | |
parent | 4a6ec712275b179decd1844232dce44bc9f9dc19 (diff) | |
download | ayatana-indicator-datetime-f54505942ce2dcc73fcbad79d4f5cdce991bf8cb.tar.gz ayatana-indicator-datetime-f54505942ce2dcc73fcbad79d4f5cdce991bf8cb.tar.bz2 ayatana-indicator-datetime-f54505942ce2dcc73fcbad79d4f5cdce991bf8cb.zip |
Make the datetime indicator build on non-Ubuntu systems (which mostly lack url-dispatcher and Ubuntu Touch sound schema files.
Diffstat (limited to 'include/datetime/actions.h')
-rw-r--r-- | include/datetime/actions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/datetime/actions.h b/include/datetime/actions.h index 4780990..1a47adb 100644 --- a/include/datetime/actions.h +++ b/include/datetime/actions.h @@ -49,10 +49,12 @@ public: virtual void desktop_open_calendar_app(const DateTime&) =0; virtual void desktop_open_settings_app() =0; +#ifdef HAS_URLDISPATCHER virtual void phone_open_alarm_app() =0; virtual void phone_open_appointment(const Appointment&) =0; virtual void phone_open_calendar_app(const DateTime&) =0; virtual void phone_open_settings_app() =0; +#endif virtual void set_location(const std::string& zone, const std::string& name)=0; |