diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-04-24 18:46:31 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-04-25 08:27:09 +0800 |
commit | ca5ea1bd3f923565f21d2efb32ada4cbb923f941 (patch) | |
tree | bc08fb046adba799028f36591448a4217f51f15b /atk/atkrelationset.h | |
parent | 122236e1a716274b787eb081def57fe0ca3570b1 (diff) | |
download | atk-ca5ea1bd3f923565f21d2efb32ada4cbb923f941.tar.gz |
Annotate the Public Symbols in Public Headers
This includes atk/atkversion.h in all the public headers, either directly
or via atk/atkobject.h, and annotates the public symbols in the headers,
which all lead to _ATK_EXTERN via one of ATK_AVAILABLE_IN_ALL,
ATK_AVAILABLE_IN_X_Y, ATK_DEPRECATED, ATK_DEPRECATED_FOR,
ATK_DEPRECATED_IN_X_Y or ATK_DEPRECATED_IN_X_Y_FOR, depending on which
stable release series the API was introduced or deprecated.
_ATK_EXTERN which can then be defined in a way during the build, so that
these symbols can be exported automatically using compiler directives.
Also use _ATK_EXTERN for ATK_VAR in atk/atkmisc.h during the build so that
variables can also be properly exported.
https://bugzilla.gnome.org/show_bug.cgi?id=728031
Diffstat (limited to 'atk/atkrelationset.h')
-rwxr-xr-x | atk/atkrelationset.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/atk/atkrelationset.h b/atk/atkrelationset.h index 2d97bf1..ed286b4 100755 --- a/atk/atkrelationset.h +++ b/atk/atkrelationset.h @@ -55,23 +55,33 @@ struct _AtkRelationSetClass AtkFunction pad2; }; +ATK_AVAILABLE_IN_ALL GType atk_relation_set_get_type (void); +ATK_AVAILABLE_IN_ALL AtkRelationSet* atk_relation_set_new (void); +ATK_AVAILABLE_IN_ALL gboolean atk_relation_set_contains (AtkRelationSet *set, AtkRelationType relationship); +ATK_AVAILABLE_IN_ALL gboolean atk_relation_set_contains_target (AtkRelationSet *set, AtkRelationType relationship, AtkObject *target); +ATK_AVAILABLE_IN_ALL void atk_relation_set_remove (AtkRelationSet *set, AtkRelation *relation); +ATK_AVAILABLE_IN_ALL void atk_relation_set_add (AtkRelationSet *set, AtkRelation *relation); +ATK_AVAILABLE_IN_ALL gint atk_relation_set_get_n_relations (AtkRelationSet *set); +ATK_AVAILABLE_IN_ALL AtkRelation* atk_relation_set_get_relation (AtkRelationSet *set, gint i); +ATK_AVAILABLE_IN_ALL AtkRelation* atk_relation_set_get_relation_by_type (AtkRelationSet *set, AtkRelationType relationship); +ATK_AVAILABLE_IN_ALL void atk_relation_set_add_relation_by_type (AtkRelationSet *set, AtkRelationType relationship, AtkObject *target); |