G_BEGIN_DECLS
+typedef struct _AtspiPropertyDefinition AtspiPropertyDefinition;
+struct _AtspiPropertyDefinition
+{
+ char *name;
+ GType type;
+ DRoutePropertyFunction func;
+};
+
typedef struct _event_data event_data;
struct _event_data
{
gchar *bus_name;
gchar **data;
+ GSList *properties;
};
struct _SpiBridge
*/
gchar *desktop_name;
gchar *desktop_path;
-char *app_bus_addr;
+gchar *app_tmp_dir;
+gchar *app_bus_addr;
GList *events;
gboolean events_initialized;
+ GHashTable *property_hash;
};
extern SpiBridge *spi_global_app_data;
-int adaptor_init (gint * argc, gchar ** argv[]);
-void adaptor_cleanup (void);
void spi_atk_add_client (const char *bus_name);
void spi_atk_remove_client (const char *bus_name);
+int spi_atk_create_socket (SpiBridge *app);
+
+void spi_atk_add_interface (DRoutePath *path,
+ const char *name,
+ const char *introspect,
+ const DRouteMethod *methods,
+ const DRouteProperty *properties);
+
+DRoutePropertyFunction _atk_bridge_find_property_func (const char *property,
+ GType *type);
+
+GType _atk_bridge_type_from_iface (const char *iface);
G_END_DECLS
#endif /* BRIDGE_H */