API revisions: tweaks to key event API, added some reserved slots for
[platform/core/uifw/at-spi2-atk.git] / idl / Accessibility_Component.idl
index 856407e..71e30b7 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
-#include <Event.idl>
+#include <Accessibility_Event.idl>
 
 module Accessibility {
 
+  enum ComponentLayer {
+    LAYER_INVALID,
+    LAYER_BACKGROUND,
+    LAYER_CANVAS,
+    LAYER_WIDGET,
+    LAYER_MDI,
+    LAYER_POPUP,
+    LAYER_OVERLAY,
+    LAYER_LAST_DEFINED
+  };
+
   interface Component : Bonobo::Unknown {
 
-        boolean contains (in long x, in long y);
-        Accessible getAccessibleAtPoint (in long x, in long y);
-        void getExtents (out long x, out long y, out long width, out long height);
-        void getPosition (out long x, out long y);
-        void getPositionOnScreen (out long rootX, out long rootY);
+        boolean contains (in long x, in long y, in short coord_type);
+        Accessible getAccessibleAtPoint (in long x, in long y, in short coord_type);
+        BoundingBox getExtents (in short coord_type);
+        void getPosition (out long x, out long y, in short coord_type);
         void getSize (out long width, out long height);
+       ComponentLayer getLayer ();
+       short getMDIZOrder ();
         void grabFocus ();
         void registerFocusHandler (in EventListener handler);
         void deregisterFocusHandler (in EventListener handler);
-  };  
+
+       /**
+        * unImplemented:
+        *
+        * placeholders for future expansion.
+        */
+       void unImplemented ();
+       void unImplemented2 ();
+  };
 };