diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-07-31 16:48:00 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-07-31 16:48:00 -0500 |
commit | 4148750ea93e67e5d9aaa15ebc8e3c7a5a5554f1 (patch) | |
tree | 377c816b3c5401a9571573661aad8a6f09974c4c /include/datetime | |
parent | 43e0fb826aa3a5acfd8937438989231804b4c400 (diff) | |
download | ayatana-indicator-datetime-4148750ea93e67e5d9aaa15ebc8e3c7a5a5554f1.tar.gz ayatana-indicator-datetime-4148750ea93e67e5d9aaa15ebc8e3c7a5a5554f1.tar.bz2 ayatana-indicator-datetime-4148750ea93e67e5d9aaa15ebc8e3c7a5a5554f1.zip |
configurable haptic mode, part 1 of 3: add haptic feedback mode to the GSettings schema and to our Settings object
Diffstat (limited to 'include/datetime')
-rw-r--r-- | include/datetime/settings-live.h | 1 | ||||
-rw-r--r-- | include/datetime/settings-shared.h | 1 | ||||
-rw-r--r-- | include/datetime/settings.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/datetime/settings-live.h b/include/datetime/settings-live.h index 4db2d40..4850e69 100644 --- a/include/datetime/settings-live.h +++ b/include/datetime/settings-live.h @@ -58,6 +58,7 @@ private: void update_alarm_sound(); void update_alarm_volume(); void update_alarm_duration(); + void update_alarm_haptic(); GSettings* m_settings; diff --git a/include/datetime/settings-shared.h b/include/datetime/settings-shared.h index 23d2e1c..a211821 100644 --- a/include/datetime/settings-shared.h +++ b/include/datetime/settings-shared.h @@ -48,5 +48,6 @@ TimeFormatMode; #define SETTINGS_ALARM_SOUND_S "alarm-default-sound" #define SETTINGS_ALARM_VOLUME_S "alarm-default-volume" #define SETTINGS_ALARM_DURATION_S "alarm-duration-minutes" +#define SETTINGS_ALARM_HAPTIC_S "alarm-haptic-feedback" #endif // INDICATOR_DATETIME_SETTINGS_SHARED diff --git a/include/datetime/settings.h b/include/datetime/settings.h index e5f885e..c6fe13b 100644 --- a/include/datetime/settings.h +++ b/include/datetime/settings.h @@ -57,6 +57,7 @@ public: core::Property<TimeFormatMode> time_format_mode; core::Property<std::string> timezone_name; core::Property<std::string> alarm_sound; + core::Property<std::string> alarm_haptic; core::Property<unsigned int> alarm_volume; core::Property<unsigned int> alarm_duration; }; |