1 /* This file contains both declaration and definition of the TestSimpleChild class
2 * derived from AtkObject. The TestSimpleChild instances can be used as children by
3 * the TestSimpleSelection and TestSimpleTable instances.
6 #ifndef TESTSIMPLECHILD_H_
7 #define TESTSIMPLECHILD_H_
8 #include <glib-object.h>
11 #define TEST_TYPE_SIMPLE_CHILD (test_simple_child_get_type ())
12 #define TEST_SIMPLE_CHILD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TEST_TYPE_SIMPLE_CHILD, TestSimpleChild))
13 #define TEST_SIMPLE_CHILD_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TEST_TYPE_SIMPLE_CHILD, TestSimpleChildClass))
14 #define TEST_IS_SIMPLE_CHILD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TEST_TYPE_SIMPLE_CHILD))
15 #define TEST_IS_SIMPLE_CHILD_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TEST_TYPE_SIMPLE_CHILD))
16 #define TEST_SIMPLE_CHILD_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TEST_TYPE_SIMPLE_CHILD, TestSimpleChildClass))
18 typedef struct _TestSimpleChild TestSimpleChild;
19 typedef struct _TestSimpleChildClass TestSimpleChildClass;
21 struct _TestSimpleChild
25 gint id; /* unique object ID */
28 struct _TestSimpleChildClass
30 AtkObjectClass parent;
33 #endif /*TESTSIMPLECHILD_H_*/