X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=atspi%2Fatspi-accessible.h;fp=atspi%2Fatspi-accessible.h;h=a1fe3145d0a73c60fbd2a49892471d99ec4bff1c;hb=5016c77a44ff9bb5ce595a32429319d189839063;hp=13e49628d6b8c6b4a314642484efaedf8f5d6dba;hpb=3785cfb93aa4a29b70ffdd39686f14d2c8e26b0b;p=platform%2Fupstream%2Fat-spi2-core.git diff --git a/atspi/atspi-accessible.h b/atspi/atspi-accessible.h index 13e4962..a1fe314 100644 --- a/atspi/atspi-accessible.h +++ b/atspi/atspi-accessible.h @@ -5,7 +5,7 @@ * Copyright 2002 Ximian, Inc. * 2002 Sun Microsystems Inc. * Copyright 2010, 2011 Novell, Inc. - * + * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -45,6 +45,41 @@ G_BEGIN_DECLS typedef struct _AtspiAccessiblePrivate AtspiAccessiblePrivate; +struct _AtspiAccessibleDefaultLabelInfo +{ + AtspiAccessible *obj; + AtspiRole role; + GHashTable *attributes; +}; + +struct _AtspiAccessibleReadingMaterial +{ + AtspiAccessible *parent; + AtspiAccessible *described_by_accessible; + GHashTable *attributes; + AtspiRole role; + AtspiRole parent_role; + char *name; + char *labeled_by_name; + char *text_interface_name; + char *localized_role_name; + char *description; + gdouble value; + gdouble increment; + gdouble lower; + gdouble upper; + gint64 states; + gint64 parent_states; + gint child_count; + gint index_in_parent; + gint list_children_count; + gint first_selected_child_index; + gint parent_child_count; + gint parent_selected_child_count; + gboolean is_selected_in_parent; + gboolean has_checkbox_child; +}; + struct _AtspiAccessible { AtspiObject parent; @@ -68,7 +103,7 @@ struct _AtspiAccessibleClass void (*region_changed) (AtspiAccessible *accessible, gint current_offset, gint last_offset); }; -GType atspi_accessible_get_type (void); +GType atspi_accessible_get_type (void); AtspiAccessible * _atspi_accessible_new (AtspiApplication *app, const gchar *path); @@ -77,6 +112,20 @@ gchar * atspi_accessible_get_name (AtspiAccessible *obj, GError **error); gchar * atspi_accessible_get_description (AtspiAccessible *obj, GError **error); +gchar * atspi_accessible_get_path (AtspiAccessible *obj, GError **error); + +gchar * atspi_accessible_get_bus_name (AtspiAccessible *obj, GError **error); + +gchar * atspi_accessible_get_unique_id (AtspiAccessible *obj, GError **error); + +AtspiAccessible *atspi_accessible_get_navigable_at_point (AtspiAccessible *root, gint x, gint y, AtspiCoordType ctype, GError **error); + +AtspiAccessible *atspi_accessible_get_neighbor (AtspiAccessible *root, AtspiAccessible *start, AtspiNeighborSearchDirection direction, GError **error); + +AtspiAccessibleReadingMaterial *atspi_accessible_get_reading_material (AtspiAccessible *obj, GError **error); + +AtspiAccessibleDefaultLabelInfo *atspi_accessible_get_default_label_info (AtspiAccessible *obj, GError **error); + AtspiAccessible * atspi_accessible_get_parent (AtspiAccessible *obj, GError **error); gint atspi_accessible_get_child_count (AtspiAccessible *obj, GError **error);