File indexing completed on 2025-03-13 08:35:40
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #ifndef _ATSPI_RELATION_H_
0027 #define _ATSPI_RELATION_H_
0028
0029 #include "glib-object.h"
0030
0031 #include "atspi-constants.h"
0032
0033 G_BEGIN_DECLS
0034
0035 #define ATSPI_TYPE_RELATION (atspi_relation_get_type ())
0036 #define ATSPI_IS_RELATION(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_RELATION)
0037 #define ATSPI_RELATION(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_RELATION, AtspiRelation)
0038 #define ATSPI_RELATION_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATSPI_TYPE_RELATION, AtspiRelation))
0039
0040 GType atspi_relation_get_type ();
0041
0042 typedef struct _AtspiRelation AtspiRelation;
0043 struct _AtspiRelation
0044 {
0045 GObject parent;
0046 AtspiRelationType relation_type;
0047 GArray *targets;
0048 };
0049
0050 typedef struct _AtspiRelationClass AtspiRelationClass;
0051 struct _AtspiRelationClass
0052 {
0053 GObjectClass parent_class;
0054 };
0055
0056 AtspiRelationType atspi_relation_get_relation_type (AtspiRelation *obj);
0057
0058 gint atspi_relation_get_n_targets (AtspiRelation *obj);
0059
0060 AtspiAccessible *atspi_relation_get_target (AtspiRelation *obj, gint i);
0061
0062
0063 AtspiRelation *_atspi_relation_new_from_iter (DBusMessageIter *iter);
0064
0065 G_END_DECLS
0066
0067 #endif