aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble/NotificationManager.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-04-09 21:16:21 +0200
committerJean-François Milants <jf@codingfield.com>2021-04-09 21:16:21 +0200
commit15b3b8e282dd5b2132b0095716cd9d88740d4579 (patch)
treec26870103f8baaa933399cfb86cca25aa7e60d8b /src/components/ble/NotificationManager.h
parent9ac4be8b759bb2cedeb999ce5e87d983261beded (diff)
parent57b4c3f0edc6acfa31bd2160abdcd6091920ba63 (diff)
Merge branch 'develop' into motion-sensor
# Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/DisplayApp.h # src/displayapp/lv_pinetime_theme.c # src/displayapp/screens/ApplicationList.cpp # src/drivers/TwiMaster.cpp # src/systemtask/SystemTask.h
Diffstat (limited to 'src/components/ble/NotificationManager.h')
-rw-r--r--src/components/ble/NotificationManager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/ble/NotificationManager.h b/src/components/ble/NotificationManager.h
index 075a9a45..486bba15 100644
--- a/src/components/ble/NotificationManager.h
+++ b/src/components/ble/NotificationManager.h
@@ -17,8 +17,12 @@ namespace Pinetime {
Id id;
bool valid = false;
uint8_t index;
+ uint8_t size;
std::array<char, MessageSize+1> message;
Categories category = Categories::Unknown;
+
+ const char* Message() const;
+ const char* Title() const;
};
Notification::Id nextId {0};