1 #ifndef _SPI_LISTENER_H_
2 #define _SPI_LISTENER_H_
7 #endif /* __cplusplus */
9 #include "accessibleeventlistener.h"
10 #include "keystrokelistener.h"
12 #define SPI_KEYSET_ALL_KEYS ((void *)NULL)
17 * Structure used to encapsulate event information
21 typedef Accessibility_Event AccessibleEvent;
25 * Function prototype typedefs for Event Listener Callbacks.
26 * (see libspi/accessibleeventlistener.h for definition of SpiVoidEventListenerCB).
28 * usage: signatures should be
29 * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
31 * boolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystrokeEvent *Event);
34 typedef VoidSpiEventListenerCB AccessibleEventListenerCB;
35 typedef BooleanKeystrokeListenerCB AccessibleKeystrokeListenerCB;
39 #endif /* __cplusplus */