aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/datetime/actions-live.h2
-rw-r--r--include/datetime/actions.h2
-rw-r--r--include/datetime/menu.h2
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;