"Unfixed" some things :-). cleaned up and made some of the namespace changes more...
[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  *
15  * Structure used to encapsulate event information
16  *
17  */
18
19 typedef Accessibility_Event AccessibleEvent;
20
21 /*
22  *
23  * Function prototype typedefs for Event Listener Callbacks.
24  * (see libspi/accessibleeventlistener.h for definition of VoidEventListenerCB).
25  *
26  * usage: signatures should be
27  * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
28  *
29  * boolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystrokeEvent *Event);
30  */
31
32 typedef VoidEventListenerCB AccessibleEventListenerCB;
33 typedef BooleanKeystrokeListenerCB AccessibleKeystrokeListenerCB;
34
35 #ifdef __cplusplus
36 }
37 #endif /* __cplusplus */
38
39
40 #endif