X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cspi%2Fspi-listener.h;h=1da413ab17007a6805e12b60d277fd8878dd8d52;hb=ebd9b297363b8b3bd6708e6f0c6c7673e5cc32d6;hp=e37390e329b7e43b47bdd862bcee668f5e56fbca;hpb=603a2658423b90a55c27c24aaeb3fb0d68c9ca5d;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/cspi/spi-listener.h b/cspi/spi-listener.h index e37390e..1da413a 100644 --- a/cspi/spi-listener.h +++ b/cspi/spi-listener.h @@ -26,9 +26,11 @@ typedef enum { typedef struct { long keyID; short keycode; + char * keystring; long timestamp; AccessibleKeyEventType type; unsigned short modifiers; + SPIBoolean is_text; } AccessibleKeystroke; /* @@ -40,10 +42,10 @@ typedef struct { * * SPIBoolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystrokeEvent *Event); */ -typedef void (*AccessibleEventListenerCB) (AccessibleEvent *event, - void *user_data); -typedef SPIBoolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystroke *stroke, - void *user_data); +typedef void (*AccessibleEventListenerCB) (const AccessibleEvent *event, + void *user_data); +typedef SPIBoolean (*AccessibleKeystrokeListenerCB) (const AccessibleKeystroke *stroke, + void *user_data); #ifdef __cplusplus }