]> Dogcows Code - chaz/openbox/blob - c/hooks.h
477c8124e48870de91c1c425243b6233e7c1f4e3
[chaz/openbox] / c / hooks.h
1 #ifndef __hooks_h
2 #define __hooks_h
3
4 #include "eventdata.h"
5
6 void hooks_startup();
7 void hooks_shutdown();
8
9 void hooks_fire(EventData *data);
10
11 void hooks_fire_keyboard(EventData *data);
12
13 void hooks_fire_pointer(EventData *data);
14
15 #define LOGICALHOOK(type, context, client) \
16 { EventData *data = eventdata_new_logical(Logical_##type, \
17 context, client); \
18 g_assert(data != NULL); \
19 hooks_fire(data); \
20 eventdata_free(data); \
21 }
22
23 #endif
This page took 0.033673 seconds and 4 git commands to generate.