Revert "Revert "Merge remote-tracking branch 'origin/sandbox/mniesluchow/upstream_2_1...
[platform/upstream/atk.git] / atk / atkrelation.h
index 5cccaee..0c958fa 100755 (executable)
@@ -28,6 +28,7 @@ G_BEGIN_DECLS
 
 #include <glib-object.h>
 #include <atk/atkrelationtype.h>
+#include <atk/atkversion.h>
 
 /*
  * An AtkRelation describes a relation between the object and one or more 
@@ -58,29 +59,38 @@ struct _AtkRelationClass
   GObjectClass parent;
 };
 
+ATK_AVAILABLE_IN_ALL
 GType atk_relation_get_type (void);
 
+ATK_AVAILABLE_IN_ALL
 AtkRelationType       atk_relation_type_register      (const gchar     *name);
+ATK_AVAILABLE_IN_ALL
 const gchar*          atk_relation_type_get_name      (AtkRelationType type);
+ATK_AVAILABLE_IN_ALL
 AtkRelationType       atk_relation_type_for_name      (const gchar     *name);
 
 /*
  * Create a new relation for the specified key and the specified list
  * of targets.
  */
+ATK_AVAILABLE_IN_ALL
 AtkRelation*          atk_relation_new                (AtkObject       **targets,
                                                        gint            n_targets,
                                                        AtkRelationType relationship);
 /*
  * Returns the type of a relation.
  */
+ATK_AVAILABLE_IN_ALL
 AtkRelationType       atk_relation_get_relation_type  (AtkRelation     *relation);
 /*
  * Returns the target list of a relation.
  */
+ATK_AVAILABLE_IN_ALL
 GPtrArray*            atk_relation_get_target         (AtkRelation     *relation);
+ATK_AVAILABLE_IN_ALL
 void                  atk_relation_add_target         (AtkRelation     *relation,
                                                        AtkObject       *target);
+ATK_AVAILABLE_IN_ALL
 gboolean              atk_relation_remove_target      (AtkRelation     *relation,
                                                        AtkObject       *target);