2001-11-23 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-listener.h
1 #ifndef _SPI_LISTENER_H_
2 #define _SPI_LISTENER_H_
3
4 #include <libspi/accessibleeventlistener.h>
5 #include <libspi/keystrokelistener.h>
6
7 G_BEGIN_DECLS
8
9 /*
10  *
11  * Structure used to encapsulate event information
12  *
13  */
14
15 typedef Accessibility_Event AccessibleEvent;
16
17 /*
18  *
19  * Function prototype typedefs for Event Listener Callbacks.
20  * (see libspi/accessibleeventlistener.h for definition of SpiVoidEventListenerCB).
21  *
22  * usage: signatures should be
23  * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
24  *
25  * boolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystrokeEvent *Event);
26  */
27
28 typedef VoidSpiEventListenerCB AccessibleEventListenerCB;
29 typedef BooleanKeystrokeListenerCB    AccessibleKeystrokeListenerCB;
30
31 G_END_DECLS
32
33 #endif