summaryrefslogtreecommitdiff
path: root/src/components/Ble/NotificationManager.h
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2020-10-02 19:16:48 (GMT)
committerAvamander <avamander@gmail.com>2020-10-02 19:16:48 (GMT)
commit6c86d1d9d706706fcb6f214aba8259e61ed68755 (patch)
tree2f4137a9916869cee18fd01449aa83ee586b9604 /src/components/Ble/NotificationManager.h
parent4daab2692692d47af24a9384eb0f402821527882 (diff)
Fixed all the includes that were broken due to the renames
Diffstat (limited to 'src/components/Ble/NotificationManager.h')
-rw-r--r--src/components/Ble/NotificationManager.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/components/Ble/NotificationManager.h b/src/components/Ble/NotificationManager.h
deleted file mode 100644
index daa1571..0000000
--- a/src/components/Ble/NotificationManager.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-#include <array>
-
-namespace Pinetime {
- namespace Controllers {
- class NotificationManager {
- public:
- enum class Categories {Unknown, SimpleAlert, Email, News, IncomingCall, MissedCall, Sms, VoiceMail, Schedule, HighProriotyAlert, InstantMessage };
- static constexpr uint8_t MessageSize{18};
-
- struct Notification {
- std::array<char, MessageSize+1> message;
- Categories category = Categories::Unknown;
- };
-
- void Push(Categories category, const char* message, uint8_t messageSize);
- Notification Pop();
-
-
- private:
- static constexpr uint8_t TotalNbNotifications = 5;
- std::array<Notification, TotalNbNotifications> notifications;
- uint8_t readIndex = 0;
- uint8_t writeIndex = 0;
- bool empty = true;
- };
- }
-} \ No newline at end of file