summaryrefslogtreecommitdiff
path: root/src/components/settings/Settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/settings/Settings.h')
-rw-r--r--src/components/settings/Settings.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h
index 871ff3b6..b7e4dcf6 100644
--- a/src/components/settings/Settings.h
+++ b/src/components/settings/Settings.h
@@ -41,6 +41,16 @@ namespace Pinetime {
return settings.clockFace;
};
+ void SetChimesState(uint8_t state) {
+ if (state != settings.chimesState) {
+ settingsChanged = true;
+ }
+ settings.chimesState = state;
+ };
+ uint8_t GetChimesState() const {
+ return settings.chimesState;
+ };
+
void SetPTSColorTime(Colors colorTime) {
if (colorTime != settings.PTS.ColorTime)
settingsChanged = true;
@@ -173,6 +183,7 @@ namespace Pinetime {
Notification notificationStatus = Notification::ON;
uint8_t clockFace = 0;
+ uint8_t chimesState = 0;
PineTimeStyle PTS;