aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/events.h
diff options
context:
space:
mode:
authorGravatar koral <koral@mailoo.org>2011-02-10 14:57:01 +0100
committerGravatar koral <koral@mailoo.org>2011-02-10 14:57:01 +0100
commitece7f8a0bc6f4b45e931ce2634f79fe6c84a18c9 (patch)
treee820930903e5da1cab71ef1129ccbb6db80a8eaf /src/events.h
parentaa565b52f9f82b6c137b2af2178d7ffb9297f310 (diff)
Moves I/O functions to a dedicated source file.
Diffstat (limited to 'src/events.h')
-rw-r--r--src/events.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/events.h b/src/events.h
index 3c7b933..4edc5ab 100644
--- a/src/events.h
+++ b/src/events.h
@@ -3,6 +3,11 @@
** (c) 2009 by Robert Manea
*/
+#ifndef __EVENTS__
+#define __EVENTS__
+
+#include <glib.h>
+
/* Event system */
enum event_type {
LOAD_START, LOAD_COMMIT, LOAD_FINISH, LOAD_ERROR,
@@ -37,3 +42,5 @@ send_event(int type, const gchar *details, const gchar *custom_event);
void
key_to_event(guint keyval, gint mode);
+
+#endif