comparison include/MyDispatch.h @ 0:92745d501b9a

initial import from kinput2-v3.1
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 04:44:30 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92745d501b9a
1 /* $Id: MyDispatch.h,v 1.3 1991/02/06 10:54:31 ishisone Rel $ */
2
3 /*
4 * a simple event dispatch library for non-widget windows
5 */
6
7 extern void MyDispatchEvent(
8 #if NeedFunctionPrototypes
9 XEvent * /* event */
10 #endif
11 );
12
13 extern void MyAddEventHandler(
14 #if NeedFunctionPrototypes
15 Display * /* dpy */,
16 Window /* window */,
17 int /* type */,
18 unsigned long /* mask */,
19 void (*)() /* func */,
20 XtPointer /* data */
21 #endif
22 );
23
24 extern void MyRemoveEventHandler(
25 #if NeedFunctionPrototypes
26 Display * /* dpy */,
27 Window /* window */,
28 int /* type */,
29 void (*)() /* func */,
30 XtPointer /* data */
31 #endif
32 );
33
34 extern void MyRemoveAllEventHandler(
35 #if NeedFunctionPrototypes
36 Display * /* dpy */,
37 Window /* window */
38 #endif
39 );