diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-26 19:55:23 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-26 19:55:23 +0000 |
commit | b39526c27c44302c34fce26163919a0c4c7aecd3 (patch) | |
tree | be0d3759a081f90b73aa90e0cf1b5a2a6a9783f3 /include/datetime | |
parent | 8dbc66cab4eadfdde3809340d03c4cc10b2032eb (diff) | |
download | ayatana-indicator-datetime-b39526c27c44302c34fce26163919a0c4c7aecd3.tar.gz ayatana-indicator-datetime-b39526c27c44302c34fce26163919a0c4c7aecd3.tar.bz2 ayatana-indicator-datetime-b39526c27c44302c34fce26163919a0c4c7aecd3.zip |
URL dispatcher support: Build phone code, even if URL dispatcher is unavailable.
Diffstat (limited to 'include/datetime')
-rw-r--r-- | include/datetime/actions-live.h | 2 | ||||
-rw-r--r-- | include/datetime/actions.h | 2 | ||||
-rw-r--r-- | include/datetime/menu.h | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/include/datetime/actions-live.h b/include/datetime/actions-live.h index 1dcb122..ea27f36 100644 --- a/include/datetime/actions-live.h +++ b/include/datetime/actions-live.h @@ -45,12 +45,10 @@ 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; diff --git a/include/datetime/actions.h b/include/datetime/actions.h index 1a47adb..4780990 100644 --- a/include/datetime/actions.h +++ b/include/datetime/actions.h @@ -49,12 +49,10 @@ 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; diff --git a/include/datetime/menu.h b/include/datetime/menu.h index acb0c89..acd9ed8 100644 --- a/include/datetime/menu.h +++ b/include/datetime/menu.h @@ -42,9 +42,7 @@ class Menu { public: enum Profile { Desktop, DesktopGreeter, -#ifdef HAS_URLDISPATCHER Phone, PhoneGreeter, -#endif NUM_PROFILES }; enum Section { Calendar, Appointments, Locations, Settings, NUM_SECTIONS }; const std::string& name() const; |