Added docs and C bindings for AccessibleStateSet and AccessibleRelationSet.
[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 /*
13  *
14  * Structure used to encapsulate event information
15  *
16  */
17
18 typedef Accessibility_Event AccessibleEvent;
19
20 /*
21  *
22  * Function prototype typedefs for Event Listener Callbacks.
23  * (see libspi/accessibleeventlistener.h for definition of SpiVoidEventListenerCB).
24  *
25  * usage: signatures should be
26  * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
27  *
28  * boolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystrokeEvent *Event);
29  */
30
31 typedef VoidSpiEventListenerCB AccessibleEventListenerCB;
32 typedef BooleanKeystrokeListenerCB    AccessibleKeystrokeListenerCB;
33
34 #ifdef __cplusplus
35 }
36 #endif /* __cplusplus */
37
38
39 #endif