Add "GetReadingMaterial" interface method
[platform/upstream/at-spi2-atk.git] / atk-adaptor / introspection.c
index 0fb1d9f..800bff2 100644 (file)
  */
 
 
-const char *spi_org_freedesktop_atspi_Accessible = 
-"<interface name=\"org.freedesktop.atspi.Accessible\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Accessible = 
+"<interface name=\"org.a11y.atspi.Accessible\" version=\"0.1.7\">"
 ""
-"  <property access=\"read\" name=\"name\" type=\"s\" />"
+"  <property access=\"read\" name=\"Name\" type=\"s\" />"
 ""
-"  <property access=\"read\" name=\"description\" type=\"s\" />"
+"  <property access=\"read\" name=\"Description\" type=\"s\" />"
 ""
-"  <property access=\"read\" name=\"parent\" type=\"(so)\">"
+"  <property access=\"read\" name=\"Parent\" type=\"(so)\">"
 "    "
 "  </property>"
 ""
-"  <property access=\"read\" name=\"childCount\" type=\"i\" />"
+"  <property access=\"read\" name=\"ChildCount\" type=\"i\" />"
+""
+"  <property access=\"read\" name=\"Locale\" type=\"s\" />"
+""
+"  <method name=\"impl_GetReadingMaterial\">"
+"    <arg direction=\"out\" type=\"a{ss}sssuausiddddsibbii(so)auiui(so)\" />"
+"  </method>"
 ""
 "  <method name=\"GetChildAtIndex\">"
 "    <arg direction=\"in\" name=\"index\" type=\"i\" />"
@@ -29,6 +35,11 @@ const char *spi_org_freedesktop_atspi_Accessible =
 "    "
 "  </method>"
 ""
+"  <method name=\"GetChildren\">"
+"    <arg direction=\"out\" type=\"a(so)\" />"
+"    "
+"  </method>"
+""
 "  <method name=\"GetIndexInParent\">"
 "    <arg direction=\"out\" type=\"i\" />"
 "  </method>"
@@ -68,10 +79,10 @@ const char *spi_org_freedesktop_atspi_Accessible =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Action = 
-"<interface name=\"org.freedesktop.atspi.Action\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Action = 
+"<interface name=\"org.a11y.atspi.Action\" version=\"0.1.7\">"
 ""
-"  <property access=\"read\" name=\"nActions\" type=\"i\" />"
+"  <property access=\"read\" name=\"NActions\" type=\"i\" />"
 ""
 "  <method name=\"GetDescription\">"
 "    <arg direction=\"in\" name=\"index\" type=\"i\" />"
@@ -83,13 +94,18 @@ const char *spi_org_freedesktop_atspi_Action =
 "    <arg direction=\"out\" type=\"s\" />"
 "  </method>"
 ""
+"  <method name=\"GetLocalizedName\">"
+"    <arg direction=\"in\" name=\"index\" type=\"i\" />"
+"    <arg direction=\"out\" type=\"s\" />"
+"  </method>"
+""
 "  <method name=\"GetKeyBinding\">"
 "    <arg direction=\"in\" name=\"index\" type=\"i\" />"
 "    <arg direction=\"out\" type=\"s\" />"
 "  </method>"
 ""
 "  <method name=\"GetActions\">"
-"    <arg direction=\"out\" name=\"index\" type=\"a(sss)\" />"
+"    <arg direction=\"out\" type=\"a(sss)\" />"
 "    "
 "  </method>"
 ""
@@ -101,25 +117,34 @@ const char *spi_org_freedesktop_atspi_Action =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Application = 
-"<interface name=\"org.freedesktop.atspi.Application\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Application = 
+"<interface name=\"org.a11y.atspi.Application\" version=\"0.1.7\">"
 ""
-"  <property access=\"read\" name=\"toolkitName\" type=\"s\" />"
+"  <property access=\"read\" name=\"ToolkitName\" type=\"s\" />"
 ""
-"  <property access=\"read\" name=\"version\" type=\"s\" />"
+"  <property access=\"read\" name=\"Version\" type=\"s\" />"
 ""
-"  <property access=\"read\" name=\"id\" type=\"i\" />"
+"  <property access=\"read\" name=\"AtspiVersion\" type=\"s\" />"
+"  <property access=\"read\" name=\"Id\" type=\"i\" />"
 ""
 "  <method name=\"GetLocale\">"
 "    <arg direction=\"in\" name=\"lctype\" type=\"u\" />"
 "    <arg direction=\"out\" type=\"s\" />"
 "  </method>"
 ""
+"  <method name=\"RegisterEventListener\">"
+"    <arg direction=\"in\" name=\"event\" type=\"s\" />"
+"  </method>"
+""
+"  <method name=\"DeregisterEventListener\">"
+"    <arg direction=\"in\" name=\"event\" type=\"s\" />"
+"  </method>"
+""
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Collection = 
-"<interface name=\"org.freedesktop.atspi.Collection\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Collection = 
+"<interface name=\"org.a11y.atspi.Collection\" version=\"0.1.7\">"
 ""
 "  <method name=\"GetMatches\">"
 "    <arg direction=\"in\" name=\"rule\" type=\"(auuasuauusub)\" />"
@@ -138,7 +163,7 @@ const char *spi_org_freedesktop_atspi_Collection =
 "    "
 "    <arg direction=\"in\" name=\"sortby\" type=\"u\" />"
 "    <arg direction=\"in\" name=\"tree\" type=\"u\" />"
-"    <arg direction=\"in\" name=\"recurse\" type=\"b\" />"
+"    <arg direction=\"in\" name=\"limit_scope\" type=\"b\" />"
 "    <arg direction=\"in\" name=\"count\" type=\"i\" />"
 "    <arg direction=\"in\" name=\"traverse\" type=\"b\" />"
 "    <arg direction=\"out\" type=\"a(so)\" />"
@@ -166,8 +191,10 @@ const char *spi_org_freedesktop_atspi_Collection =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Component = 
-"<interface name=\"org.freedesktop.atspi.Component\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Component = 
+"<interface name=\"org.a11y.atspi.Component\" version=\"0.1.7\">"
+""
+"  <property access=\"read\" name=\"HighlightIndex\" type=\"i\" />"
 ""
 "  <method name=\"Contains\">"
 "    <arg direction=\"in\" name=\"x\" type=\"i\" />"
@@ -213,15 +240,49 @@ const char *spi_org_freedesktop_atspi_Component =
 "    <arg direction=\"out\" type=\"b\" />"
 "  </method>"
 ""
+"  <method name=\"GrabHighlight\">"
+"    <arg direction=\"out\" type=\"b\" />"
+"  </method>"
+""
+"  <method name=\"ClearHighlight\">"
+"    <arg direction=\"out\" type=\"b\" />"
+"  </method>"
+""
 "  <method name=\"GetAlpha\">"
 "    <arg direction=\"out\" type=\"d\" />"
 "  </method>"
 ""
+"  <method name=\"SetExtents\">"
+"    <arg direction=\"in\" name=\"x\" type=\"i\" />"
+"    <arg direction=\"in\" name=\"y\" type=\"i\" />"
+"    <arg direction=\"in\" name=\"width\" type=\"i\" />"
+"    <arg direction=\"in\" name=\"height\" type=\"i\" />"
+"    <arg direction=\"in\" name=\"coord_type\" type=\"u\" />"
+"    <arg direction=\"out\" type=\"b\" />"
+"  </method>"
+""
+"  <method name=\"SetPosition\">"
+"    <arg direction=\"in\" name=\"x\" type=\"i\" />"
+"    <arg direction=\"in\" name=\"y\" type=\"i\" />"
+"    <arg direction=\"in\" name=\"coord_type\" type=\"u\" />"
+"    <arg direction=\"out\" type=\"b\" />"
+"  </method>"
+""
+"  <method name=\"SetSize\">"
+"    <arg direction=\"in\" name=\"width\" type=\"i\" />"
+"    <arg direction=\"in\" name=\"height\" type=\"i\" />"
+"    <arg direction=\"out\" type=\"b\" />"
+"  </method>"
+""
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Document = 
-"<interface name=\"org.freedesktop.atspi.Document\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Document = 
+"<interface name=\"org.a11y.atspi.Document\" version=\"0.1.7\">"
+""
+"  <property access=\"read\" name=\"CurrentPageNumber\" type=\"i\" />"
+""
+"  <property access=\"read\" name=\"PageCount\" type=\"i\" />"
 ""
 "  <method name=\"GetLocale\">"
 "    <arg direction=\"out\" type=\"s\" />"
@@ -240,8 +301,8 @@ const char *spi_org_freedesktop_atspi_Document =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Hypertext = 
-"<interface name=\"org.freedesktop.atspi.Hypertext\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Hypertext = 
+"<interface name=\"org.a11y.atspi.Hypertext\" version=\"0.1.7\">"
 ""
 "  <method name=\"GetNLinks\">"
 "    <arg direction=\"out\" type=\"i\" />"
@@ -261,14 +322,14 @@ const char *spi_org_freedesktop_atspi_Hypertext =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Hyperlink = 
-"<interface name=\"org.freedesktop.atspi.Hyperlink\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Hyperlink = 
+"<interface name=\"org.a11y.atspi.Hyperlink\" version=\"0.1.7\">"
 ""
-"  <property access=\"read\" name=\"nAnchors\" type=\"n\" />"
+"  <property access=\"read\" name=\"NAnchors\" type=\"n\" />"
 ""
-"  <property access=\"read\" name=\"startIndex\" type=\"i\" />"
+"  <property access=\"read\" name=\"StartIndex\" type=\"i\" />"
 ""
-"  <property access=\"read\" name=\"endIndex\" type=\"i\" />"
+"  <property access=\"read\" name=\"EndIndex\" type=\"i\" />"
 ""
 "  <method name=\"GetObject\">"
 "    <arg direction=\"in\" name=\"i\" type=\"i\" />"
@@ -288,12 +349,12 @@ const char *spi_org_freedesktop_atspi_Hyperlink =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Image = 
-"<interface name=\"org.freedesktop.atspi.Image\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Image = 
+"<interface name=\"org.a11y.atspi.Image\" version=\"0.1.7\">"
 ""
-"  <property access=\"read\" name=\"imageDescription\" type=\"s\" />"
+"  <property access=\"read\" name=\"ImageDescription\" type=\"s\" />"
 ""
-"  <property access=\"read\" name=\"imageLocale\" type=\"s\" />"
+"  <property access=\"read\" name=\"ImageLocale\" type=\"s\" />"
 ""
 "  <method name=\"GetImageExtents\">"
 "    <arg direction=\"in\" name=\"coordType\" type=\"u\" />"
@@ -315,10 +376,10 @@ const char *spi_org_freedesktop_atspi_Image =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Selection = 
-"<interface name=\"org.freedesktop.atspi.Selection\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Selection = 
+"<interface name=\"org.a11y.atspi.Selection\" version=\"0.1.7\">"
 ""
-"  <property access=\"read\" name=\"nSelectedChildren\" type=\"i\" />"
+"  <property access=\"read\" name=\"NSelectedChildren\" type=\"i\" />"
 ""
 "  <method name=\"GetSelectedChild\">"
 "    <arg direction=\"in\" name=\"selectedChildIndex\" type=\"i\" />"
@@ -349,7 +410,7 @@ const char *spi_org_freedesktop_atspi_Selection =
 "    <arg direction=\"out\" type=\"b\" />"
 "  </method>"
 ""
-"  <method name=\"deSelectChild\">"
+"  <method name=\"DeselectChild\">"
 "    <arg direction=\"in\" name=\"childIndex\" type=\"i\" />"
 "    <arg direction=\"out\" type=\"b\" />"
 "  </method>"
@@ -357,24 +418,24 @@ const char *spi_org_freedesktop_atspi_Selection =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Table = 
-"<interface name=\"org.freedesktop.atspi.Table\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Table = 
+"<interface name=\"org.a11y.atspi.Table\" version=\"0.1.7\">"
 ""
-"  <property access=\"read\" name=\"nRows\" type=\"i\" />"
+"  <property access=\"read\" name=\"NRows\" type=\"i\" />"
 ""
-"  <property access=\"read\" name=\"nColumns\" type=\"i\" />"
+"  <property access=\"read\" name=\"NColumns\" type=\"i\" />"
 ""
-"  <property access=\"read\" name=\"caption\" type=\"(so)\">"
+"  <property access=\"read\" name=\"Caption\" type=\"(so)\">"
 "    "
 "  </property>"
 ""
-"  <property access=\"read\" name=\"summary\" type=\"(so)\">"
+"  <property access=\"read\" name=\"Summary\" type=\"(so)\">"
 "    "
 "  </property>"
 ""
-"  <property access=\"read\" name=\"nSelectedRows\" type=\"i\" />"
+"  <property access=\"read\" name=\"NSelectedRows\" type=\"i\" />"
 ""
-"  <property access=\"read\" name=\"nSelectedColumns\" type=\"i\" />"
+"  <property access=\"read\" name=\"NSelectedColumns\" type=\"i\" />"
 ""
 "  <method name=\"GetAccessibleAt\">"
 "    <arg direction=\"in\" name=\"row\" type=\"i\" />"
@@ -492,12 +553,42 @@ const char *spi_org_freedesktop_atspi_Table =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Text = 
-"<interface name=\"org.freedesktop.atspi.Text\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_TableCell = 
+"<interface name=\"org.a11y.atspi.TableCell\" version=\"0.1.7\">"
+""
+"  <property access=\"read\" name=\"ColumnSpan\" type=\"i\" />"
+""
+"  <property access=\"read\" name=\"Position\" type=\"(ii)\" />"
+""
+"  <property access=\"read\" name=\"RowSpan\" type=\"i\" />"
+""
+"  <property access=\"read\" name=\"Table\" type=\"(so)\" />"
+""
+"  <method name=\"GetRowColumnSpan\">"
+"    <arg direction=\"out\" type=\"b\" />"
+"    <arg direction=\"out\" name=\"row\" type=\"i\" />"
+"    <arg direction=\"out\" name=\"col\" type=\"i\" />"
+"    <arg direction=\"out\" name=\"row_extents\" type=\"i\" />"
+"    <arg direction=\"out\" name=\"col_extents\" type=\"i\" />"
+"  </method>"
+""
+"</interface>"
+"";
+
+const char *spi_org_a11y_atspi_Text = 
+"<interface name=\"org.a11y.atspi.Text\" version=\"0.1.7\">"
+""
+"  <property access=\"read\" name=\"CharacterCount\" type=\"i\" />"
 ""
-"  <property access=\"read\" name=\"characterCount\" type=\"i\" />"
+"  <property access=\"read\" name=\"CaretOffset\" type=\"i\" />"
 ""
-"  <property access=\"read\" name=\"caretOffset\" type=\"i\" />"
+"  <method name=\"GetStringAtOffset\">"
+"    <arg direction=\"in\" name=\"offset\" type=\"i\" />"
+"    <arg direction=\"in\" name=\"granularity\" type=\"u\" />"
+"    <arg direction=\"out\" type=\"s\" />"
+"    <arg direction=\"out\" name=\"startOffset\" type=\"i\" />"
+"    <arg direction=\"out\" name=\"endOffset\" type=\"i\" />"
+"  </method>"
 ""
 "  <method name=\"GetText\">"
 "    <arg direction=\"in\" name=\"startOffset\" type=\"i\" />"
@@ -637,14 +728,14 @@ const char *spi_org_freedesktop_atspi_Text =
 "  </method>"
 ""
 "  <method name=\"GetDefaultAttributeSet\">"
-"    <arg direction=\"out\" type=\"as\" />"
+"    <arg direction=\"out\" type=\"a{ss}\" />"
 "  </method>"
 ""
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_EditableText = 
-"<interface name=\"org.freedesktop.atspi.EditableText\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_EditableText = 
+"<interface name=\"org.a11y.atspi.EditableText\" version=\"0.1.7\">"
 ""
 "  <method name=\"SetTextContents\">"
 "    <arg direction=\"in\" name=\"newContents\" type=\"s\" />"
@@ -683,8 +774,8 @@ const char *spi_org_freedesktop_atspi_EditableText =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Cache = 
-"<interface name=\"org.freedesktop.atspi.Cache\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Cache = 
+"<interface name=\"org.a11y.atspi.Cache\" version=\"0.1.7\">"
 ""
 "  <method name=\"GetItems\">"
 "    <arg direction=\"out\" name=\"nodes\" type=\"a((so)(so)a(so)assusau)\" />"
@@ -704,22 +795,52 @@ const char *spi_org_freedesktop_atspi_Cache =
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_Value = 
-"<interface name=\"org.freedesktop.atspi.Value\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Value = 
+"<interface name=\"org.a11y.atspi.Value\" version=\"0.1.7\">"
+""
+"        <property access=\"read\" name=\"MinimumValue\" type=\"d\" />"
+""
+"        <property access=\"read\" name=\"MaximumValue\" type=\"d\" />"
+""
+"        <property access=\"read\" name=\"MinimumIncrement\" type=\"d\" />"
+""
+"        <property access=\"readwrite\" name=\"CurrentValue\" type=\"d\" />"
+""
+"</interface>"
+"";
+
+const char *spi_org_a11y_atspi_Registry = 
+"<interface name=\"org.a11y.atspi.Registry\" version=\"0.1.7\">"
 ""
-"        <property access=\"read\" name=\"minimumValue\" type=\"d\" />"
+"  <method name=\"RegisterEvent\">"
+"    <arg direction=\"in\" name=\"event\" type=\"s\">"
+"    </arg>"
+"  </method>"
 ""
-"        <property access=\"read\" name=\"maximumValue\" type=\"d\" />"
+"  <method name=\"DeregisterEvent\">"
+"    <arg direction=\"in\" name=\"event\" type=\"s\">"
+"    </arg>"
+"  </method>"
 ""
-"        <property access=\"read\" name=\"minimumIncrement\" type=\"d\" />"
+"  <method name=\"GetRegisteredEvents\">"
+"    <arg direction=\"out\" name=\"events\" type=\"a(ss)\">"
+"    </arg>"
+"  </method>"
 ""
-"        <property access=\"readwrite\" name=\"currentValue\" type=\"d\" />"
+"  <signal name=\"EventListenerRegistered\">"
+"    <arg direction=\"out\" name=\"bus\" type=\"s\" />"
+"    <arg direction=\"out\" name=\"path\" type=\"s\" />"
+"  </signal>"
 ""
+"  <signal name=\"EventListenerDeregistered\">"
+"    <arg direction=\"out\" name=\"bus\" type=\"s\" />"
+"    <arg direction=\"out\" name=\"path\" type=\"s\" />"
+"  </signal>"
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_DeviceEventController = 
-"<interface name=\"org.freedesktop.atspi.DeviceEventController\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_DeviceEventController = 
+"<interface name=\"org.a11y.atspi.DeviceEventController\" version=\"0.1.7\">"
 ""
 "  <method name=\"RegisterKeystrokeListener\">"
 "    <arg direction=\"in\" name=\"listener\" type=\"o\" />"
@@ -769,24 +890,24 @@ const char *spi_org_freedesktop_atspi_DeviceEventController =
 "  </method>"
 ""
 "  <method name=\"NotifyListenersSync\">"
-"    <arg direction=\"in\" name=\"event\" type=\"(uinnisb)\" />"
+"    <arg direction=\"in\" name=\"event\" type=\"(uiuuisb)\" />"
 "    <arg direction=\"out\" type=\"b\" />"
 "    "
 "  </method>"
 ""
 "  <method name=\"NotifyListenersAsync\">"
-"    <arg direction=\"in\" name=\"event\" type=\"(uinnisb)\" />"
+"    <arg direction=\"in\" name=\"event\" type=\"(uiuuisb)\" />"
 "    "
 "  </method>"
 ""
 "</interface>"
 "";
 
-const char *spi_org_freedesktop_atspi_DeviceEventListener = 
-"<interface name=\"org.freedesktop.atspi.DeviceEventListener\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_DeviceEventListener = 
+"<interface name=\"org.a11y.atspi.DeviceEventListener\" version=\"0.1.7\">"
 ""
 "  <method name=\"NotifyEvent\">"
-"    <arg direction=\"in\" name=\"event\" type=\"(uinnisb)\" />"
+"    <arg direction=\"in\" name=\"event\" type=\"(uiuuisb)\" />"
 "    "
 "    <arg direction=\"out\" type=\"b\" />"
 "  </method>"