1 #ifndef _SPI_LISTENER_H_
2 #define _SPI_LISTENER_H_
7 #endif /* __cplusplus */
9 #include "accessibleeventlistener.h"
13 * Structure used to encapsulate event information
17 typedef struct _AccessibleEvent {
26 * Function prototype typedefs for Event Listener Callbacks.
27 * (see libspi/accessibleeventlistener.h for definition of VoidEventListenerCB).
29 * usage: signatures should be
30 * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
32 * void (*KeystrokeListenerCB) (KeystrokeEvent *Event);
35 typedef VoidEventListenerCB AccessibleEventListenerCB;
36 typedef VoidEventListenerCB KeystrokeListenerCB;
38 typedef struct _KeystrokeListener {
39 KeystrokeListenerCB callback;
44 #endif /* __cplusplus */