summaryrefslogtreecommitdiff
path: root/c/hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/hooks.h')
-rw-r--r--c/hooks.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/c/hooks.h b/c/hooks.h
deleted file mode 100644
index 477c8124..00000000
--- a/c/hooks.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef __hooks_h
-#define __hooks_h
-
-#include "eventdata.h"
-
-void hooks_startup();
-void hooks_shutdown();
-
-void hooks_fire(EventData *data);
-
-void hooks_fire_keyboard(EventData *data);
-
-void hooks_fire_pointer(EventData *data);
-
-#define LOGICALHOOK(type, context, client) \
-{ EventData *data = eventdata_new_logical(Logical_##type, \
- context, client); \
- g_assert(data != NULL); \
- hooks_fire(data); \
- eventdata_free(data); \
-}
-
-#endif