diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-11-23 22:33:43 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-11-23 22:33:43 +0100 |
| commit | b1e857cf1471d1871a9396696b22fa531da98249 (patch) | |
| tree | 3923008a8653057698cb339faf6dcfa92e18364b /project-base/src/notification.h | |
| parent | 106bb7fcadf637cec883648916cc8d19529d6199 (diff) | |
add projbase to repo
Diffstat (limited to 'project-base/src/notification.h')
| -rw-r--r-- | project-base/src/notification.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/project-base/src/notification.h b/project-base/src/notification.h new file mode 100644 index 0000000..752204d --- /dev/null +++ b/project-base/src/notification.h @@ -0,0 +1,21 @@ +/* +* BSD 2-Clause “Simplified” License +* Copyright (c) 2019, Aldrik Ramaekers, aldrik.ramaekers@protonmail.com +* All rights reserved. +*/ + +#ifndef INCLUDE_NOTIFICATION +#define INCLUDE_NOTIFICATION + +typedef struct t_notification +{ + char *message; + u16 duration; +} notification; + +array global_notifications; + +void push_notification(char *message); +void update_render_notifications(); + +#endif |
