1 #ifndef _SPI_LISTENER_H_
2 #define _SPI_LISTENER_H_
4 #include <libspi/accessibleeventlistener.h>
5 #include <libspi/keystrokelistener.h>
11 * Structure used to encapsulate event information
15 typedef Accessibility_Event AccessibleEvent;
19 * Function prototype typedefs for Event Listener Callbacks.
20 * (see libspi/accessibleeventlistener.h for definition of SpiVoidEventListenerCB).
22 * usage: signatures should be
23 * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
25 * boolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystrokeEvent *Event);
28 typedef VoidSpiEventListenerCB AccessibleEventListenerCB;
29 typedef BooleanKeystrokeListenerCB AccessibleKeystrokeListenerCB;