X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=idl%2FAccessibility_Registry.idl;h=96da28be05fac85e626ab8f6d7b3a3a137f85fe3;hb=31dcfbfe1181a558e4e1b8381ca397943bb96a78;hp=3308029f801f31a9448b808edd1bbd470019e8bc;hpb=e5a9e644107d0a366d8f4036fc8d363a4ff82255;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/idl/Accessibility_Registry.idl b/idl/Accessibility_Registry.idl index 3308029..96da28b 100644 --- a/idl/Accessibility_Registry.idl +++ b/idl/Accessibility_Registry.idl @@ -20,7 +20,7 @@ * Boston, MA 02111-1307, USA. */ -#include +#include #include #include #include @@ -179,6 +179,9 @@ module Accessibility { unsigned short modifiers; }; + typedef sequence< long > KeySet; + typedef sequence< KeyEventType > KeyEventTypeSeq; + interface KeystrokeListener { boolean keyEvent (in KeyStroke key); }; @@ -188,15 +191,24 @@ module Accessibility { /** * registerKeystrokeListener: * @listener: a @KeystrokeListener which will intercept key events. + * @keys: a @KeySet indicating which keys to intercept, or KEYSET_ALL_KEYS. * @mask: a @ControllerEventMask filtering the intercepted key events. + * @type: an @EventType mask that may created by ORing event types together. + * @is_synchronous: a @boolean indicating whether the listener should + * receive the events synchronously, potentially consuming them, + * or just be notified asynchronously of those events that have + * been generated. * Returns: void * * Register to intercept keyboard events, and either pass them on or * consume them. * **/ - void registerKeystrokeListener (in KeystrokeListener listener, - in ControllerEventMask mask); + void registerKeystrokeListener (in KeystrokeListener listener, + in KeySet keys, + in ControllerEventMask mask, + in KeyEventTypeSeq type, + in boolean is_synchronous); /** * generateKeyEvent: