2 * AT-SPI - Assistive Technology Service Provider Interface
3 * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
5 * Copyright 2001, 2002, 2003 Sun Microsystems Inc.,
6 * Copyright 2001, 2002, 2003 Ximian, Inc.
7 * Copyright 2008, 2009, 2010 Codethink Ltd.
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
19 * You should have received a copy of the GNU Library General Public
20 * License along with this library; if not, write to the
21 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 * Boston, MA 02111-1307, USA.
29 #include <droute/droute.h>
31 typedef struct _SpiBridge SpiBridge;
32 typedef struct _SpiBridgeClass SpiBridgeClass;
36 typedef struct _AtspiPropertyDefinition AtspiPropertyDefinition;
37 struct _AtspiPropertyDefinition
41 DRoutePropertyFunction func;
44 typedef struct _event_data event_data;
59 DRouteContext *droute;
60 GMainContext *main_context;
62 GList *direct_connections;
74 gboolean events_initialized;
75 GHashTable *property_hash;
78 extern SpiBridge *spi_global_app_data;
80 void spi_atk_add_client (const char *bus_name);
81 void spi_atk_remove_client (const char *bus_name);
83 int spi_atk_create_socket (SpiBridge *app);
85 void spi_atk_add_interface (DRoutePath *path,
87 const char *introspect,
88 const DRouteMethod *methods,
89 const DRouteProperty *properties);
91 DRoutePropertyFunction _atk_bridge_find_property_func (const char *property,
94 GType _atk_bridge_type_from_iface (const char *iface);