main: add index to notification message

This commit is contained in:
Reinhold Gschweicher 2022-08-14 21:22:15 +02:00
parent b00dceb8c6
commit 741db4ea32

View File

@ -548,27 +548,27 @@ public:
// prepared notficitions, one per message category
const std::vector<std::string> notification_messages {
"category:\nUnknown",
"0category:\nUnknown",
"Lorem ipsum\ndolor sit amet,\nconsectetur adipiscing elit,\n",
"SimpleAlert",
"1SimpleAlert",
"sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"Email:",
"2Email:",
"Vitae aliquet nec ullamcorper sit amet.",
"News:",
"3News:",
"Id\naliquet\nrisus\nfeugiat\nin\nante\nmetus\ndictum\nat.",
"IncomingCall:",
"4IncomingCall:",
"Ut porttitor leo a diam sollicitudin.",
"MissedCall:",
"5MissedCall:",
"Ultrices tincidunt arcu non sodales neque sodales ut etiam sit.",
"Sms:",
"6Sms:",
"Pellentesque dignissim enim sit amet.",
"VoiceMail:",
"7VoiceMail:",
"Urna nec tincidunt praesent semper feugiat nibh sed pulvinar proin.",
"Schedule:",
"8Schedule:",
"Tellus id interdum velit laoreet id donec ultrices tincidunt.",
"HighProriotyAlert:",
"9HighProriotyAlert:",
"Viverra maecenas accumsan lacus vel facilisis volutpat est velit egestas.",
"InstantMessage:",
"10InstantMessage:",
"Volutpat consequat mauris nunc congue.",
};
size_t notification_idx = 0; // which message to send next