Revved to 1.0.0; at-spi 1.0 is now API frozen.
[platform/core/uifw/at-spi2-atk.git] / idl / Accessibility_Registry.idl
index 1d2a225..74165cf 100644 (file)
@@ -66,7 +66,7 @@ module Accessibility {
          *
         **/
         void registerGlobalEventListener (in EventListener listener,
-                                           in string eventName);
+                                         in string eventName);
 
        /**
          * deregisterGlobalEventListener:
@@ -200,7 +200,14 @@ module Accessibility {
     boolean is_text;
   };
 
-  typedef sequence< long > KeySet;
+  struct KeyDefinition {
+    long keycode;
+    long keysym;
+    string keystring;
+    long unused;
+  };   
+
+  typedef sequence< KeyDefinition > KeySet;
   typedef sequence< KeyEventType > KeyEventTypeSeq;
 
   interface DeviceEventListener : Bonobo::Unknown {
@@ -219,13 +226,13 @@ module Accessibility {
         *            receive the events synchronously, potentially consuming them,
         *            or just be notified asynchronously of those events that have
         *            been generated.
-        * Returns: void
+        * Returns: %true if successful, %false if not
          *
          * Register to intercept keyboard events, and either pass them on or
          * consume them. 
          *
         **/
-        void registerKeystrokeListener (in DeviceEventListener listener,
+        boolean registerKeystrokeListener (in DeviceEventListener listener,
                                        in KeySet keys,
                                        in ControllerEventMask mask,
                                        in KeyEventTypeSeq type,