aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
Diffstat (limited to 'include/datetime')
-rw-r--r--include/datetime/menu.h3
-rw-r--r--include/datetime/settings-live.h1
-rw-r--r--include/datetime/settings-shared.h1
-rw-r--r--include/datetime/settings.h1
4 files changed, 5 insertions, 1 deletions
diff --git a/include/datetime/menu.h b/include/datetime/menu.h
index 0074ea5..5673bc1 100644
--- a/include/datetime/menu.h
+++ b/include/datetime/menu.h
@@ -53,7 +53,8 @@ public:
static std::vector<Appointment> get_display_appointments(
const std::vector<Appointment>&,
const DateTime& start,
- unsigned int max_items=5);
+ unsigned int max_items=5,
+ const bool include_alarms=true);
protected:
Menu (Profile profile_in, const std::string& name_in);
diff --git a/include/datetime/settings-live.h b/include/datetime/settings-live.h
index 85071ce..6a923f3 100644
--- a/include/datetime/settings-live.h
+++ b/include/datetime/settings-live.h
@@ -52,6 +52,7 @@ private:
void update_show_day();
void update_show_detected_locations();
void update_show_events();
+ void update_show_alarms();
void update_show_locations();
void update_show_seconds();
void update_show_week_numbers();
diff --git a/include/datetime/settings-shared.h b/include/datetime/settings-shared.h
index 7280c16..6e97328 100644
--- a/include/datetime/settings-shared.h
+++ b/include/datetime/settings-shared.h
@@ -40,6 +40,7 @@ TimeFormatMode;
#define SETTINGS_SHOW_CALENDAR_S "show-calendar"
#define SETTINGS_SHOW_WEEK_NUMBERS_S "show-week-numbers"
#define SETTINGS_SHOW_EVENTS_S "show-events"
+#define SETTINGS_SHOW_ALARMS_S "show-alarms"
#define SETTINGS_SHOW_LOCATIONS_S "show-locations"
#define SETTINGS_SHOW_DETECTED_S "show-auto-detected-location"
#define SETTINGS_LOCATIONS_S "locations"
diff --git a/include/datetime/settings.h b/include/datetime/settings.h
index af9227d..29905fd 100644
--- a/include/datetime/settings.h
+++ b/include/datetime/settings.h
@@ -49,6 +49,7 @@ public:
core::Property<bool> show_day;
core::Property<bool> show_detected_location;
core::Property<bool> show_events;
+ core::Property<bool> show_alarms;
core::Property<bool> show_locations;
core::Property<bool> show_seconds;
core::Property<bool> show_week_numbers;