Initial revision
[platform/core/uifw/at-spi2-atk.git] / idl / Relation.idl
1 #ifndef _ACCESSIBILITY_RELATION_IDL
2 #define _ACCESSIBILITY_RELATION_IDL
3
4 #if !defined(__ACCESSIBILITY_RELATION_COMPILATION) && defined(__ORBIT_IDL__)
5 %{
6 #pragma include_defs Relation.h
7 %}
8 #pragma inhibit push
9 #endif
10
11 module Accessibility {
12
13   enum RelationType {
14     RELATION_LABEL_FOR,
15     RELATION_LABELLED_BY,
16     RELATION_CONTROLLER_FOR,
17     RELATION_CONTROLLED_BY,
18     RELATION_MEMBER_OF
19   };
20
21   /*
22    *
23    * This interface inherits from a base class implementing ref counts.
24    *
25    */
26
27   interface Relation {
28     RelationType        getRelationType ();
29     Object              getTarget ();
30   };
31 };
32
33 #if !defined(__ACCESSIBILITY_RELATION_COMPILATION) && defined(__ORBIT_IDL__)
34 #pragma inhibit pop
35 #endif
36
37 #endif