diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime/settings-shared.h | 10 | ||||
-rw-r--r-- | include/datetime/settings.h | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/include/datetime/settings-shared.h b/include/datetime/settings-shared.h index bfddd88..23d2e1c 100644 --- a/include/datetime/settings-shared.h +++ b/include/datetime/settings-shared.h @@ -30,16 +30,6 @@ typedef enum } TimeFormatMode; -typedef enum -{ - ALARM_VOLUME_VERY_QUIET, - ALARM_VOLUME_QUIET, - ALARM_VOLUME_NORMAL, - ALARM_VOLUME_LOUD, - ALARM_VOLUME_VERY_LOUD -} -AlarmVolume; - #define SETTINGS_INTERFACE "com.canonical.indicator.datetime" #define SETTINGS_SHOW_CLOCK_S "show-clock" #define SETTINGS_TIME_FORMAT_S "time-format" diff --git a/include/datetime/settings.h b/include/datetime/settings.h index a941f05..26d4ed0 100644 --- a/include/datetime/settings.h +++ b/include/datetime/settings.h @@ -57,7 +57,7 @@ public: core::Property<TimeFormatMode> time_format_mode; core::Property<std::string> timezone_name; core::Property<std::string> alarm_sound; - core::Property<AlarmVolume> alarm_volume; + core::Property<int> alarm_volume; core::Property<int> alarm_duration; }; |