2002-03-27 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / idl / Accessibility_Accessible.idl
index 7068a82..d3e7e40 100644 (file)
 
 #include <Bonobo_Unknown.idl>
 
-#include "Relation.idl"
-#include "State.idl"
-#include "Role.idl"
+#include "Accessibility_Relation.idl"
+#include "Accessibility_State.idl"
+#include "Accessibility_Role.idl"
 
 module Accessibility {
   
   typedef sequence<Relation> RelationSet;
-  exception ChildGone {} ;
 
   struct BoundingBox {
          long x;
@@ -82,8 +81,7 @@ module Accessibility {
      *
      * Returns: the 'nth' @Accessible child of this object.
      **/
-    Accessible         getChildAtIndex (in long index)
-           raises (ChildGone);
+    Accessible         getChildAtIndex (in long index);
 
     /**
      * getIndexInParent:
@@ -112,6 +110,14 @@ module Accessibility {
     Role               getRole ();
 
     /**
+     * getRoleName:
+     * Get a string indicating the type of UI role played by this object.
+     *
+     * Returns: a UTF-8 string indicating the type of UI role played by this object.
+     **/
+    string             getRoleName ();
+
+    /**
      * getState:
      *
      * Get the current state of the object as a @StateSet.