2001-12-07 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / idl / Accessibility_Relation.idl
index 018c6b5..b562ffc 100644 (file)
 #ifndef _ACCESSIBILITY_RELATION_IDL
 #define _ACCESSIBILITY_RELATION_IDL
 
-#if !defined(__ACCESSIBILITY_RELATION_COMPILATION) && defined(__ORBIT_IDL__)
-%{
-#pragma include_defs Relation.h
-%}
-#pragma inhibit push
-#endif
-
 module Accessibility {
 
   enum RelationType {
@@ -37,23 +30,20 @@ module Accessibility {
     RELATION_LABELLED_BY,
     RELATION_CONTROLLER_FOR,
     RELATION_CONTROLLED_BY,
-    RELATION_MEMBER_OF
+    RELATION_MEMBER_OF,
+    RELATION_TOOLTIP_FOR,
+    RELATION_LEAFNODE_OF
   };
 
   /*
-   *
    * This interface inherits from a base class implementing ref counts.
-   *
    */
 
-  interface Relation {
+  interface Relation : Bonobo::Unknown {
     RelationType        getRelationType ();
-    Object             getTarget ();
+    short               getNTargets ();
+    Object             getTarget (in short index);
   };
 };
 
-#if !defined(__ACCESSIBILITY_RELATION_COMPILATION) && defined(__ORBIT_IDL__)
-#pragma inhibit pop
-#endif
-
 #endif