}
spi_dbus_initialize (&ad->droute);
/* Below line for testing -- it should be removed once at-spi-registryd is working */
- if (dbus_bus_request_name(ad->bus, "org.freedesktop.atspi.test", 0, &error)) printf("Got test name.\n");
+ if (dbus_bus_request_name(ad->bus, "org.freedesktop.at-spi.test", 0, &error)) printf("Got test name.\n");
printf("droute initialized\n");
if (!dbus_connection_try_register_fallback (ad->bus, "/org/freedesktop/atspi", &droute_vtable, &ad->droute, &error))
{
void
spi_initialize_accessible (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Accessible",
+ droute_add_interface (data, "org.freedesktop.atspi.Accessible",
methods, properties,
(DRouteGetDatumFunction) get_object_from_path, NULL);
};
void spi_initialize_text(DRouteData *data);
void spi_initialize_value(DRouteData *data);
+typedef struct Accessibility_Event_type Accessibility_Event;
+struct Accessibility_Event_type {
+ char *type;
+ char *source;
+ char *source_name;
+ long detail1;
+ long detail2;
+ GValue any_data;
+};
+
G_END_DECLS
#endif /* SPI_ACCESSIBLE_H_ */
-
/*
* AT-SPI - Assistive Technology Service Provider Interface
* (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
void
spi_initialize_action (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Action",
+ droute_add_interface (data, "org.freedesktop.atspi.Action",
methods, NULL,
(DRouteGetDatumFunction) get_action_from_path,
NULL);
void
spi_initialize_application (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Application",
+ droute_add_interface (data, "org.freedesktop.atspi.Application",
methods, properties,
(DRouteGetDatumFunction) obj_is_root, NULL);
};
void
spi_initialize_component (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Component",
+ droute_add_interface (data, "org.freedesktop.atspi.Component",
methods, NULL,
(DRouteGetDatumFunction) get_component_from_path,
NULL);
spi_dbus_general_error (DBusMessage * message)
{
return dbus_message_new_error (message,
- "org.freedesktop.accessibility.GeneralError",
+ "org.freedesktop.atspi.GeneralError",
"General error");
}
void
spi_initialize_document (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Document",
+ droute_add_interface (data, "org.freedesktop.atspi.Document",
methods, NULL,
(DRouteGetDatumFunction) get_document_from_path,
NULL);
void
spi_initialize_editabletext (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.EditableText",
+ droute_add_interface (data, "org.freedesktop.atspi.EditableText",
methods, NULL,
(DRouteGetDatumFunction) get_editable_from_path,
NULL);
void
spi_initialize_hyperlink (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Hyperlink",
+ droute_add_interface (data, "org.freedesktop.atspi.Hyperlink",
methods, properties,
(DRouteGetDatumFunction) get_hyperlink_from_path,
NULL);
void
spi_initialize_hypertext (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Hypertext",
+ droute_add_interface (data, "org.freedesktop.atspi.Hypertext",
methods, NULL,
(DRouteGetDatumFunction) get_hypertext_from_path,
NULL);
void
spi_initialize_image (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Image", methods,
+ droute_add_interface (data, "org.freedesktop.atspi.Image", methods,
properties,
(DRouteGetDatumFunction) get_image_from_path, NULL);
};
void
spi_initialize_selection (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Selection",
+ droute_add_interface (data, "org.freedesktop.atspi.Selection",
methods, properties,
(DRouteGetDatumFunction) get_selection_from_path,
NULL);
void
spi_initialize_table (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Table", methods,
+ droute_add_interface (data, "org.freedesktop.atspi.Table", methods,
properties,
(DRouteGetDatumFunction) get_table_from_path, NULL);
};
void
spi_initialize_text (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Text", methods,
+ droute_add_interface (data, "org.freedesktop.atspi.Text", methods,
properties,
(DRouteGetDatumFunction) get_text_from_path, NULL);
};
void
spi_initialize_value (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.accessibility.Value", NULL,
+ droute_add_interface (data, "org.freedesktop.atspi.Value", NULL,
properties,
(DRouteGetDatumFunction) get_value_from_path, NULL);
};
<xsl:variable name="suffix">
<xsl:choose>
<xsl:when test="ancestor::interface">
- <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.accessibility.', ''), '_', @suffix)"/>
+ <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.atspi.', ''), '_', @suffix)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@suffix"/>
<xsl:variable name="name">
<xsl:choose>
<xsl:when test="ancestor::interface">
- <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.accessibility.', ''), '_', @name)"/>
+ <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.atspi.', ''), '_', @name)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@name"/>
<xsl:variable name="suffix">
<xsl:choose>
<xsl:when test="ancestor::interface">
- <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.accessibility.', ''), '_', @suffix)"/>
+ <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.atspi.', ''), '_', @suffix)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@suffix"/>
</tp:docstring>
</tp:member>
</tp:struct>
-<interface name="org.freedesktop.accessibility.Accessible">
+<interface name="org.freedesktop.atspi.Accessible">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The base interface which is implemented by all accessible objects.
All objects support interfaces for querying their contained 'children'
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Action">
+<interface name="org.freedesktop.atspi/Action">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>An interface through which a user-actionable user interface
component can be manipulated. Components which react to mouse or
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Application">
+<interface name="org.freedesktop.atspi.Application">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>An interface identifying an object which is the root of the
user interface Accessible hierarchy associated with a running application.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
-<interface name="org.freedesktop.accessibility.Component">
+<interface name="org.freedesktop.atspi.Component">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The Component interface is implemented by objects which occupy on-screen space, e.g. objects
which have onscreen visual representations. The methods in Component allow clients to identify
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Document">
+<interface name="org.freedesktop.atspi.Document">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Primarily a 'tagging' interface which indicates the start of
document content in the Accessibility hierarchy.
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.EditableText">
+<interface name="org.freedesktop.atspi.EditableText">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Derived from interface Text, EditableText provides methods for
modifying textual content of components which support editing.
</tp:docstring>
</tp:member>
</tp:struct>
-<interface name="org.freedesktop.accessibility.EventListener">
+<interface name="org.freedesktop.atspi.EventListener">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>A generic interface implemented by objects for the
receipt of event notifications. EventListener is the interface from which
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Hyperlink">
+<interface name="org.freedesktop.atspi.Hyperlink">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Instances of Hyperlink are returned by Hypertext objects, and are
the means by which end users and clients interact with linked, and in
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Hypertext">
+<interface name="org.freedesktop.atspi.Hypertext">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>An interface used for objects which implement linking between
multiple resource or content locations, or multiple 'markers'
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Image">
+<interface name="org.freedesktop.atspi.Image">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>An interface implemented by objects which render image data or
pictorial information to the screen. When onscreen components include
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.LoginHelper">
+<interface name="org.freedesktop.atspi.LoginHelper">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>@brief An interface for use by assistive technologies by which
they can access system information and services on a 'need to know'
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Registry">
+<interface name="org.freedesktop.atspi.Registry">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The Registry is a service through which applications providing
accessibility services (servers) can rendezvous with consumers of those
<tp:member type="s" tp:name="keystring"/>
<tp:member type="i" tp:name="unused"/>
</tp:struct>
-<interface name="org.freedesktop.accessibility.DeviceEventListener">
+<interface name="org.freedesktop.atspi.DeviceEventListener">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>This interface should be implemented by AT-SPI clients who wish to
make use of the DeviceEventController to receive device event notifications.
<method name="unImplemented_6_">
</method>
</interface>
-<interface name="org.freedesktop.accessibility.DeviceEventController">
+<interface name="org.freedesktop.atspi.DeviceEventController">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The interface via which clients request notification of device events, and
through which device events may be simulated.</p>
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Selection">
+<interface name="org.freedesktop.atspi.Selection">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>An interface which indicates that an object exposes a 'selection' model,
allowing the selection of one or more of its children. Read-only Selection
</tp:docstring>
<arg direction="in" name="commands" type="a(si)" tp:type="CommandList"/>
</method>
-<interface name="org.freedesktop.accessibility.Selector">
+<interface name="org.freedesktop.atspi.Selector">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>This interface is intended for use by assistive technologies
and related user-agents. Via this interface, an assistive technology or
</tp:docstring>
</tp:enumvalue>
</tp:enum>
-<interface name="org.freedesktop.accessibility.StateSet">
+<interface name="org.freedesktop.atspi.StateSet">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The StateSet interface encapsulates a collection of state information.
It allows comparison of state information between object instances, and comparisons
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.ContentStream">
+<interface name="org.freedesktop.atspi.ContentStream">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>An interface by which the requested data from a StreamableContent object
may be read by the client.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
-<tp:errors xmlns="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" namespace="org.freedesktop.accessibility.error">
+<tp:errors xmlns="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" namespace="org.freedesktop.atspi.error">
<tp:error name="IOError">
<tp:docstring>
Indicates that a transmission error has occurred while reading or seeking the stream or data source.
</tp:docstring>
</arg>
<tp:possible-errors>
- <tp:error name="org.freedesktop.accessibility.error.(NoPermission"/>
- <tp:error name="org.freedesktop.accessibility.error.IOError"/>
- <tp:error name="org.freedesktop.accessibility.error.NotSupported"/>
+ <tp:error name="org.freedesktop.atspi.error.(NoPermission"/>
+ <tp:error name="org.freedesktop.atspi.error.IOError"/>
+ <tp:error name="org.freedesktop.atspi.error.NotSupported"/>
</tp:possible-errors>
</method>
<method name="read">
</tp:docstring>
</arg>
<tp:possible-errors>
- <tp:error name="org.freedesktop.accessibility.error.(NoPermission"/>
- <tp:error name="org.freedesktop.accessibility.error.IOError"/>
+ <tp:error name="org.freedesktop.atspi.error.(NoPermission"/>
+ <tp:error name="org.freedesktop.atspi.error.IOError"/>
</tp:possible-errors>
</method>
<method name="close">
</method>
<method name="unimplemented2">
</method>
-<interface name="org.freedesktop.accessibility.StreamableContent">
+<interface name="org.freedesktop.atspi.StreamableContent">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>An interface whereby an object allows its backing content
to be streamed to clients. Negotiation of content type
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Table">
+<interface name="org.freedesktop.atspi.Table">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>An interface used by containers whose contained data is arranged in
a "tabular" (i.e.\ row-column) fashion. Tables may resemble a two-dimensional
</tp:docstring>
</tp:enumvalue>
</tp:enum>
-<interface name="org.freedesktop.accessibility.Text">
+<interface name="org.freedesktop.atspi.Text">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The text interface should be implemented by objects which place textual information onscreen as character
strings or glyphs. The text interface allows access to textual content, including display attributes and
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.</p>
</tp:license>
-<interface name="org.freedesktop.accessibility.Value">
+<interface name="org.freedesktop.atspi.Value">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>An interface supporting controls which allow a
one-dimensional, scalar quantity to be modified or which