diff options
Diffstat (limited to 'include/datetime/menu.h')
-rw-r--r-- | include/datetime/menu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/datetime/menu.h b/include/datetime/menu.h index 39ecc68..acb0c89 100644 --- a/include/datetime/menu.h +++ b/include/datetime/menu.h @@ -41,7 +41,11 @@ namespace datetime { class Menu { public: - enum Profile { Desktop, DesktopGreeter, Phone, PhoneGreeter, NUM_PROFILES }; + 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; Profile profile() const; |