diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-03-16 17:14:57 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-03-16 17:14:57 +0100 |
| commit | f55a69f8cc9f8ede29183494c0b36a41c914f737 (patch) | |
| tree | 815d1d26164db3498731b530dd4961bb44f76dc8 /src/notification.h | |
| parent | a6f78aad38333e216ced74e6c51f3449c17dd7b7 (diff) | |
notifications
Diffstat (limited to 'src/notification.h')
| -rw-r--r-- | src/notification.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/notification.h b/src/notification.h new file mode 100644 index 0000000..752204d --- /dev/null +++ b/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 |
