Separated library source code from testing code, fixing #6
[rodin/chimara.git] / libchimara / event.h
diff --git a/libchimara/event.h b/libchimara/event.h
new file mode 100644 (file)
index 0000000..7cf80bd
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef EVENT_H
+#define EVENT_H
+
+#include <glib.h>
+#include "glk.h"
+
+#define EVENT_QUEUE_MAX_LENGTH (100)
+#define evtype_Abort (-1)
+
+G_GNUC_INTERNAL void event_throw(glui32 type, winid_t win, glui32 val1, glui32 val2);
+
+#endif