X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cspi%2Fspi-listener.h;h=ec8b265012dcd6d2c963e78a53e6a83d3c431c7c;hb=783e63cad5945ddb6df3ee129d20d5b53c6cce04;hp=c03851fd8c1014e7a8a5f065a2b8c6c6cfe886a1;hpb=838ffbd98cd6acfaad67fd6b3a08ac69b9f68f9d;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/cspi/spi-listener.h b/cspi/spi-listener.h index c03851f..ec8b265 100644 --- a/cspi/spi-listener.h +++ b/cspi/spi-listener.h @@ -7,6 +7,7 @@ extern "C" { #endif /* __cplusplus */ #include "accessibleeventlistener.h" +#include "keystrokelistener.h" /* * @@ -19,20 +20,16 @@ typedef Accessibility_Event AccessibleEvent; /* * * Function prototype typedefs for Event Listener Callbacks. - * (see libspi/accessibleeventlistener.h for definition of VoidEventListenerCB). + * (see libspi/accessibleeventlistener.h for definition of SpiVoidEventListenerCB). * * usage: signatures should be * void (*AccessibleEventListenerCB) (AccessibleEvent *event); * - * void (*KeystrokeListenerCB) (KeystrokeEvent *Event); + * boolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystrokeEvent *Event); */ -typedef VoidEventListenerCB AccessibleEventListenerCB; -typedef VoidEventListenerCB KeystrokeListenerCB; - -typedef struct _KeystrokeListener { - KeystrokeListenerCB callback; -} KeystrokeListener; +typedef VoidSpiEventListenerCB AccessibleEventListenerCB; +typedef BooleanKeystrokeListenerCB AccessibleKeystrokeListenerCB; #ifdef __cplusplus }