<2001-10-13 Louise Miller <louise.miller@sun.com>
[platform/core/uifw/at-spi2-atk.git] / idl / Accessible.idl
index 5f5bf96..09735cb 100644 (file)
 #ifndef _ACCESSIBILITY_ACCESSIBLE_IDL
 #define _ACCESSIBILITY_ACCESSIBLE_IDL
 
-
-#include <Bonobo.idl>
-
-#if !defined(__ACCESSIBILITY_ACCESSIBLE_COMPILATION) && defined(__ORBIT_IDL__)
-%{
-#pragma include_defs Accessible.h
-%}
-#pragma inhibit push
-#endif
+#include <Bonobo_Unknown.idl>
 
 #include "Relation.idl"
 #include "State.idl"
@@ -44,7 +36,7 @@ module Accessibility {
   interface Accessible : Bonobo::Unknown {
 
     /**
-     * #attribute description: a (short) @string representing the object's name.
+     * #attribute name: a (short) @string representing the object's name.
      **/
     attribute string name;
 
@@ -68,6 +60,14 @@ module Accessibility {
     readonly attribute long            childCount;
 
     /**
+     * isEqual:
+     * @object: an #Accessible object reference to compare to
+     * return values: a #boolean indicating whether the two object references
+     *         point to the same object. 
+     **/
+    boolean isEqual (in Accessible obj);
+
+    /**
      * getChildAtIndex:
      * @index: an in parameter indicating which child is requested (zero-indexed).
      * return values: the 'nth' @Accessible child of this object.
@@ -114,9 +114,5 @@ module Accessibility {
   };
 };
 
-#if !defined(__ACCESSIBILITY_ACCESSIBLE_COMPILATION) && defined(__ORBIT_IDL__)
-#pragma inhibit pop
-#endif
-
 #endif