uuuu -> iiii for rectangles, to be consistant with other usage
authorMike Gorse <mgorse@boston.site>
Fri, 6 Jun 2008 13:38:11 +0000 (09:38 -0400)
committerMike Gorse <mgorse@boston.site>
Fri, 6 Jun 2008 13:38:11 +0000 (09:38 -0400)
Added relation enum
Move stateset.c into cspi

cspi/stateset.c [moved from atk-adaptor/stateset.c with 100% similarity]
cspi/stateset.h [moved from atk-adaptor/stateset.h with 100% similarity]
xml/Accessibility_Relation.xml [new file with mode: 0644]
xml/org.freedesktop.atspi.Component.xml
xml/org.freedesktop.atspi.Image.xml

similarity index 100%
rename from atk-adaptor/stateset.c
rename to cspi/stateset.c
similarity index 100%
rename from atk-adaptor/stateset.h
rename to cspi/stateset.h
diff --git a/xml/Accessibility_Relation.xml b/xml/Accessibility_Relation.xml
new file mode 100644 (file)
index 0000000..910bda1
--- /dev/null
@@ -0,0 +1,145 @@
+<node name="/node" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+
+<tp:title>AT-SPI - Assistive Technology Service Provider Interface </tp:title>
+<tp:copyright>Copyright 2008 Novell, Inc.</tp:copyright>
+<tp:copyright>Copyright 2001 Sun Microsystems Inc.</tp:copyright>
+<tp:license xmlns="http://www.w3.org/1999/xhtml">
+  <p>This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.</p>
+
+  <p>This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Library General Public License for more details.</p>
+
+  <p>You should have received a copy of the GNU Library General Public
+    License along with this library; if not, write to the
+    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+    Boston, MA 02111-1307, USA.</p>
+</tp:license>
+<tp:enum name="RelationType" type="u">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>RelationType specifies a relationship between objects (possibly one-to-many or many-to-one)
+      outside of the normal parent/child hierarchical relationship.  It allows better semantic
+      identification of how objects are associated with one another.
+      For instance the RELATION_LABELLED_BY relationship may be used to identify labelling information
+      that should accompany the accessibleName property when presenting an object's content or identity
+      to the end user.  Similarly, RELATION_CONTROLLER_FOR can be used to further specify the context
+      in which a valuator is useful, and/or the other UI components which are directly effected by
+      user interactions with the valuator.  Common examples include association of scrollbars with
+      the viewport or panel which they control.</p>
+  </tp:docstring>
+  <tp:enumvalue suffix="RELATION_NULL">
+  <tp:docstring>
+    Not a meaningful relationship; clients should not normally encounter this RelationType value. 
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_LABEL_FOR" value="1">
+  <tp:docstring>
+    Object is a label for one or more other objects. 
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_LABELLED_BY" value="2">
+  <tp:docstring>
+    Object is labelled by one or more other objects. 
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_CONTROLLER_FOR" value="3">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>Object is an interactive object which modifies the state, onscreen location, or other attributes
+      of one or more target objects. </p>
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_CONTROLLED_BY" value="4">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>Object state, position, etc. is modified/controlled by user interaction with one or 
+      more other objects.   For instance a viewport or scroll pane may be CONTROLLED_BY scrollbars. </p>
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_MEMBER_OF" value="5">
+  <tp:docstring>
+    Object has a grouping relationship (e.g. ¨same group as¨) to one or more other objects.  
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_TOOLTIP_FOR" value="6">
+  <tp:docstring>
+    Object is a tooltip associated with another object. 
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_NODE_CHILD_OF" value="7">
+  <tp:docstring>
+    Reserved for future use. 
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_EXTENDED" value="8">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>Used to indicate that a relationship exists, but its type is not specified in the enumeration
+      and must be obtained via a call to getRelationTypeName.  </p>
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_FLOWS_TO" value="9">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>Object renders content which flows logically to another object.  
+      For instance, text in a paragraph may flow to another object which is not the 
+      ¨next sibling¨ in the accessibility hierarchy. </p>
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_FLOWS_FROM" value="10">
+  <tp:docstring>
+    Reciprocal of RELATION_FLOWS_TO. 
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_SUBWINDOW_OF" value="11">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>Object is visually and semantically considered a subwindow of another object, even though
+      it is not the object's child.  Useful when dealing with embedded applications and other cases
+      where the widget hierarchy does not map cleanly to the onscreen presentation.  </p>
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_EMBEDS" value="12">
+  <tp:docstring>
+    Similar to SUBWINDOW_OF, but specifically used for cross-process embedding.  
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_EMBEDDED_BY" value="13">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>Reciprocal of RELATION_EMBEDS; Used to denote content rendered by embedded renderers that
+      live in a separate process space from the embedding context.  </p>
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_POPUP_FOR" value="14">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>Denotes that the object is a transient window or frame associated with another onscreen object.
+      Similar to TOOLTIP_FOR, but more general.  Useful for windows which are technically 
+      toplevels but which, for one or more reasons, do not explicitly cause their associated
+      window to lose ¨window focus¨.   Creation of a ROLE_WINDOW object with the POPUP_FOR relation
+      usually requires some presentation action on the part of assistive technology clients, even though
+      the previous toplevel ROLE_FRAME object may still be the active window.  </p>
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_PARENT_WINDOW_OF" value="15">
+  <tp:docstring>
+    This is the reciprocal relation to RELATION_POPUP_FOR. 
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_DESCRIPTION_FOR" value="16">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>Indicates that an object provides descriptive information 
+      about another object; more verbose than RELATION_LABEL_FOR. </p>
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_DESCRIBED_BY" value="17">
+  <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+    <p>Indicates that another object provides descriptive information 
+      about this object; more verbose than RELATION_LABELLED_BY. </p>
+  </tp:docstring>
+  </tp:enumvalue>
+  <tp:enumvalue suffix="RELATION_LAST_DEFINED" value="18">
+  <tp:docstring>
+    Do not use as a parameter value, used to determine the size of the enumeration. 
+  </tp:docstring>
+  </tp:enumvalue>
+</tp:enum>
+</node>
index be00887..2b42a41 100644 (file)
       Obtain the Component's bounding box, in pixels, relative to the specified coordinate system. 
     </tp:docstring>
     <arg direction="in" name="coord_type" type="n" tp:type="short"/>
-    <arg direction="out" type="(uuuu)" tp:type="BoundingBox">
+    <arg direction="out" type="(iiii)" tp:type="BoundingBox">
     <tp:docstring>
       a BoundingBox which entirely contains the object's onscreen visual representation.
     </tp:docstring>
index fe4552c..2c4da06 100644 (file)
@@ -65,7 +65,7 @@
         relative to the containing window.</p>
     </tp:docstring>
     <arg direction="in" name="coordType" type="n" tp:type="short"/>
-    <arg direction="out" type="(uuuu)" tp:type="BoundingBox">
+    <arg direction="out" type="(iiii)" tp:type="BoundingBox">
     <tp:docstring>
       a BoundingBox enclosing the image's onscreen representation.
     </tp:docstring>