diff options
| author | JF <jf@codingfield.com> | 2021-02-14 15:37:28 (GMT) |
|---|---|---|
| committer | Gitea <gitea@fake.local> | 2021-02-14 15:37:28 (GMT) |
| commit | 9d7955b6c0128a72475742495dabb57134dbe56d (patch) | |
| tree | 27bdf0ae697453f31e0fa6952d3bf0ecbea48c68 /src/components/ble/NotificationManager.h | |
| parent | f534fb0356762122842ea49b481619cb963a5d27 (diff) | |
| parent | 324c7dab326ea23a6c8502bbb8c6e9b9d87a839f (diff) | |
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/components/ble/NotificationManager.h')
| -rw-r--r-- | src/components/ble/NotificationManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/ble/NotificationManager.h b/src/components/ble/NotificationManager.h index 036d2ed..075a9a4 100644 --- a/src/components/ble/NotificationManager.h +++ b/src/components/ble/NotificationManager.h @@ -28,6 +28,8 @@ namespace Pinetime { Notification GetPrevious(Notification::Id id); bool ClearNewNotificationFlag(); bool AreNewNotificationsAvailable(); + bool IsVibrationEnabled(); + void ToggleVibrations(); static constexpr size_t MaximumMessageSize() { return MessageSize; }; size_t NbNotifications() const; @@ -40,6 +42,7 @@ namespace Pinetime { uint8_t writeIndex = 0; bool empty = true; std::atomic<bool> newNotification{false}; + bool vibrationEnabled = true; }; } }
\ No newline at end of file |
