Renamed "target" member of Event to "source".
[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
11 /*
12  *
13  * Structure used to encapsulate event information
14  *
15  */
16
17 typedef Accessibility_Event AccessibleEvent;
18
19 /*
20  *
21  * Function prototype typedefs for Event Listener Callbacks.
22  * (see libspi/accessibleeventlistener.h for definition of VoidEventListenerCB).
23  *
24  * usage: signatures should be
25  * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
26  *
27  * void (*KeystrokeListenerCB) (KeystrokeEvent *Event);
28  */
29
30 typedef VoidEventListenerCB AccessibleEventListenerCB;
31 typedef VoidEventListenerCB KeystrokeListenerCB;
32
33 typedef struct _KeystrokeListener {
34    KeystrokeListenerCB callback;
35 } KeystrokeListener;
36
37 #ifdef __cplusplus
38 }
39 #endif /* __cplusplus */
40
41
42 #endif