diff options
author | Bill Haneman <billh@src.gnome.org> | 2005-11-18 14:08:01 +0000 |
---|---|---|
committer | Bill Haneman <billh@src.gnome.org> | 2005-11-18 14:08:01 +0000 |
commit | 7a56a583b968de3db888135dec1d6c73e593ad6e (patch) | |
tree | dad26f1b3a2ecec0d27fdb2123ec20a0a74c49a8 /atk/atkdocument.h | |
parent | 43ccc848ace2a984274b6de0ae0ea2fa5dffc3fa (diff) | |
download | at-spi2-core-7a56a583b968de3db888135dec1d6c73e593ad6e.tar.gz |
Added new API for ATK 1.11/1.12. Minor docs cleanup.
Added new API for ATK 1.11/1.12.
Minor docs cleanup.
Diffstat (limited to 'atk/atkdocument.h')
-rwxr-xr-x | atk/atkdocument.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/atk/atkdocument.h b/atk/atkdocument.h index 00be9063..4b83aa93 100755 --- a/atk/atkdocument.h +++ b/atk/atkdocument.h @@ -28,9 +28,9 @@ extern "C" { #endif /* __cplusplus */ /* - * The AtkDocument interface should be supported by any object that has an - * associated document object model (DOM). This interface provides the - * standard mechanism allowing an assistive technology access to the DOM. + * The AtkDocument interface should be supported by any object that is a container + * for 'document content' as opposed to a collection of user interface elements. + * */ #define ATK_TYPE_DOCUMENT (atk_document_get_type ()) @@ -50,21 +50,30 @@ struct _AtkDocumentIface G_CONST_RETURN gchar* ( *get_document_type) (AtkDocument *document); gpointer ( *get_document) (AtkDocument *document); + G_CONST_RETURN gchar* ( *get_document_locale) (AtkDocument *document); + AtkAttributeSet * ( *get_document_attributes) (AtkDocument *document); + G_CONST_RETURN gchar* ( *get_document_attribute_value) (AtkDocument *document, + const gchar *attribute_name); + gboolean ( *set_document_attribute) (AtkDocument *document, + const gchar *attribute_name, + const gchar *attribute_value); AtkFunction pad1; AtkFunction pad2; AtkFunction pad3; AtkFunction pad4; - AtkFunction pad5; - AtkFunction pad6; - AtkFunction pad7; - AtkFunction pad8; }; GType atk_document_get_type (void); G_CONST_RETURN gchar* atk_document_get_document_type (AtkDocument *document); gpointer atk_document_get_document (AtkDocument *document); - +G_CONST_RETURN gchar* atk_document_get_locale (AtkDocument *document); +AtkAttributeSet* atk_document_get_attributes (AtkDocument *document); +G_CONST_RETURN gchar* atk_document_get_attribute_value (AtkDocument *document, + const gchar *attribute_name); +gboolean atk_document_set_attribute_value (AtkDocument *document, + const gchar *attribute_name, + const gchar *attribute_value); #ifdef __cplusplus } #endif /* __cplusplus */ |