From 96165a8541b33baace920e26f062b2e282d644c6 Mon Sep 17 00:00:00 2001 From: Finlay Davidson Date: Sat, 7 Jan 2023 21:23:15 +0100 Subject: Format header files In my PR updating clang-format, I forgot to also format the headers. --- src/components/alarm/AlarmController.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/components/alarm') diff --git a/src/components/alarm/AlarmController.h b/src/components/alarm/AlarmController.h index 91f60f5a..8ac0de9a 100644 --- a/src/components/alarm/AlarmController.h +++ b/src/components/alarm/AlarmController.h @@ -26,6 +26,7 @@ namespace Pinetime { namespace System { class SystemTask; } + namespace Controllers { class AlarmController { public: @@ -40,18 +41,23 @@ namespace Pinetime { void StopAlerting(); enum class AlarmState { Not_Set, Set, Alerting }; enum class RecurType { None, Daily, Weekdays }; + uint8_t Hours() const { return hours; } + uint8_t Minutes() const { return minutes; } + AlarmState State() const { return state; } + RecurType Recurrence() const { return recurrence; } + void SetRecurrence(RecurType recurType) { recurrence = recurType; } -- cgit v1.2.3-70-g09d2