summaryrefslogtreecommitdiff
path: root/atk/atkregistry.h
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-04-24 18:46:31 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-04-25 08:27:09 +0800
commitca5ea1bd3f923565f21d2efb32ada4cbb923f941 (patch)
treebc08fb046adba799028f36591448a4217f51f15b /atk/atkregistry.h
parent122236e1a716274b787eb081def57fe0ca3570b1 (diff)
downloadatk-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/atkregistry.h')
-rw-r--r--atk/atkregistry.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/atk/atkregistry.h b/atk/atkregistry.h
index eb16403..2490940 100644
--- a/atk/atkregistry.h
+++ b/atk/atkregistry.h
@@ -52,15 +52,20 @@ typedef struct _AtkRegistry AtkRegistry;
typedef struct _AtkRegistryClass AtkRegistryClass;
+ATK_AVAILABLE_IN_ALL
GType atk_registry_get_type (void);
+ATK_AVAILABLE_IN_ALL
void atk_registry_set_factory_type (AtkRegistry *registry,
GType type,
GType factory_type);
+ATK_AVAILABLE_IN_ALL
GType atk_registry_get_factory_type (AtkRegistry *registry,
GType type);
+ATK_AVAILABLE_IN_ALL
AtkObjectFactory* atk_registry_get_factory (AtkRegistry *registry,
GType type);
+ATK_AVAILABLE_IN_ALL
AtkRegistry* atk_get_default_registry (void);
G_END_DECLS