summaryrefslogtreecommitdiff
path: root/src/components/ble/NotificationManager.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-04-09 18:47:39 (GMT)
committerJean-François Milants <jf@codingfield.com>2021-04-09 18:47:39 (GMT)
commit4560e9ed60aeacbd7d1c7c1221fe8fdc4d1bb130 (patch)
treeb8ee17d8bfdc57c3b80b7c918f3431d198939856 /src/components/ble/NotificationManager.h
parent9096d1db4c6be9f4a2cc8af99a994c219f25108c (diff)
parent63584b6561cbc31095354b06e356f700dcf0e32b (diff)
Merge branch 'notification-title' into develop
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 075a9a4..486bba1 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};