X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=blobdiff_plain;f=atk-adaptor%2Fbridge.h;h=64882e48487b646978736d76d67e40b527018266;hp=ddc79f5c578e129d43319316816a1043f5932b35;hb=9eae1f7c2b818b5bd702f99ed97056ca76ea01f6;hpb=11b42d2e6e97b9f4fbee63cbf50fd9463e53c557 diff --git a/atk-adaptor/bridge.h b/atk-adaptor/bridge.h index ddc79f5..64882e4 100644 --- a/atk-adaptor/bridge.h +++ b/atk-adaptor/bridge.h @@ -33,11 +33,20 @@ typedef struct _SpiBridgeClass SpiBridgeClass; 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 @@ -63,6 +72,7 @@ gchar *app_tmp_dir; gchar *app_bus_addr; GList *events; gboolean events_initialized; + GHashTable *property_hash; }; extern SpiBridge *spi_global_app_data; @@ -72,6 +82,16 @@ 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 */