summaryrefslogtreecommitdiff
path: root/project-base/src/notification.h
diff options
context:
space:
mode:
Diffstat (limited to 'project-base/src/notification.h')
-rw-r--r--project-base/src/notification.h21
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