File: MyDispatch.h

package info (click to toggle)
kinput2 3.0-19
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,688 kB
  • ctags: 4,649
  • sloc: ansic: 45,508; makefile: 100; sh: 35
file content (39 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* $Id: MyDispatch.h,v 1.3 1991/02/06 10:54:31 ishisone Rel $ */

/*
 *	a simple event dispatch library for non-widget windows
 */

extern void MyDispatchEvent(
#if NeedFunctionPrototypes
	XEvent *	/* event */
#endif
);

extern void MyAddEventHandler(
#if NeedFunctionPrototypes
	Display *	/* dpy */,
	Window		/* window */,
	int		/* type */,
	unsigned long	/* mask */,
	void (*)()	/* func */,
	XtPointer	/* data */
#endif
);

extern void MyRemoveEventHandler(
#if NeedFunctionPrototypes
	Display *	/* dpy */,
	Window		/* window */,
	int		/* type */,
	void (*)()	/* func */,
	XtPointer	/* data */
#endif
);

extern void MyRemoveAllEventHandler(
#if NeedFunctionPrototypes
	Display *	/* dpy */,
	Window		/* window */
#endif
);