678ad556ba80a541a545ee936a79c6c88c54a029
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-listener.h
1 #ifndef _SPI_LISTENER_H_
2 #define _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 #define SPI_KEYSET_ALL_KEYS ((void *)NULL)
13
14
15 /*
16  *
17  * Structure used to encapsulate event information
18  *
19  */
20
21 typedef Accessibility_Event AccessibleEvent;
22
23 /*
24  *
25  * Function prototype typedefs for Event Listener Callbacks.
26  * (see libspi/accessibleeventlistener.h for definition of SpiVoidEventListenerCB).
27  *
28  * usage: signatures should be
29  * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
30  *
31  * boolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystrokeEvent *Event);
32  */
33
34 typedef VoidSpiEventListenerCB AccessibleEventListenerCB;
35 typedef BooleanKeystrokeListenerCB    AccessibleKeystrokeListenerCB;
36
37 #ifdef __cplusplus
38 }
39 #endif /* __cplusplus */
40
41
42 #endif