2001-11-13 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-listener.h
1 #ifndef _SPI_SPI_LISTENER_H_
2 #define _SPI_SPI_LISTENER_H_
3
4
5 #ifdef __cplusplus
6 extern "C" {
7 #endif /* __cplusplus */
8
9 #include "accessibleeventlistener.h"
10 #include "keystrokelistener.h"
11
12
13 /*
14  *
15  * Structure used to encapsulate event information
16  *
17  */
18
19 typedef Accessibility_Event SpiAccessibleEvent;
20
21 /*
22  *
23  * Function prototype typedefs for Event SpiListener Callbacks.
24  * (see libspi/accessibleeventlistener.h for definition of VoidEventListenerCB).
25  *
26  * usage: signatures should be
27  * void (*SpiAccessibleEventListenerCB) (SpiAccessibleEvent *event);
28  *
29  * boolean (*KeystrokeListenerCB) (KeystrokeEvent *Event);
30  */
31
32 typedef VoidEventListenerCB SpiAccessibleEventListenerCB;
33 typedef BooleanKeystrokeListenerCB KeystrokeListenerCB;
34
35 #ifdef __cplusplus
36 }
37 #endif /* __cplusplus */
38
39
40 #endif