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 Accessibility_Event AccessibleEvent;
21 * Function prototype typedefs for Event Listener Callbacks.
22 * (see libspi/accessibleeventlistener.h for definition of VoidEventListenerCB).
24 * usage: signatures should be
25 * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
27 * void (*KeystrokeListenerCB) (KeystrokeEvent *Event);
30 typedef VoidEventListenerCB AccessibleEventListenerCB;
31 typedef VoidEventListenerCB KeystrokeListenerCB;
33 typedef struct _KeystrokeListener {
34 KeystrokeListenerCB callback;
39 #endif /* __cplusplus */