File indexing completed on 2025-01-30 09:32:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef __ATK_OBJECT_FACTORY_H__
0021 #define __ATK_OBJECT_FACTORY_H__
0022
0023 #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined(__ATK_H_INSIDE__) && !defined(ATK_COMPILATION)
0024 #error "Only <atk/atk.h> can be included directly."
0025 #endif
0026
0027 #include <atk/atkobject.h>
0028 #include <glib-object.h>
0029
0030 G_BEGIN_DECLS
0031
0032 #define ATK_TYPE_OBJECT_FACTORY (atk_object_factory_get_type ())
0033 #define ATK_OBJECT_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_OBJECT_FACTORY, AtkObjectFactory))
0034 #define ATK_OBJECT_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_OBJECT_FACTORY, AtkObjectFactoryClass))
0035 #define ATK_IS_OBJECT_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_OBJECT_FACTORY))
0036 #define ATK_IS_OBJECT_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_OBJECT_FACTORY))
0037 #define ATK_OBJECT_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_OBJECT_FACTORY, AtkObjectFactoryClass))
0038
0039 typedef struct _AtkObjectFactory AtkObjectFactory;
0040 typedef struct _AtkObjectFactoryClass AtkObjectFactoryClass;
0041
0042 struct _AtkObjectFactory
0043 {
0044 GObject parent;
0045 };
0046
0047 struct _AtkObjectFactoryClass
0048 {
0049 GObjectClass parent_class;
0050
0051 AtkObject *(*create_accessible) (GObject *obj);
0052 void (*invalidate) (AtkObjectFactory *factory);
0053 GType (*get_accessible_type) (void);
0054
0055 AtkFunction pad1;
0056 AtkFunction pad2;
0057 };
0058
0059 ATK_AVAILABLE_IN_ALL
0060 GType atk_object_factory_get_type (void);
0061
0062 ATK_AVAILABLE_IN_ALL
0063 AtkObject *atk_object_factory_create_accessible (AtkObjectFactory *factory, GObject *obj);
0064 ATK_AVAILABLE_IN_ALL
0065 void atk_object_factory_invalidate (AtkObjectFactory *factory);
0066 ATK_AVAILABLE_IN_ALL
0067 GType atk_object_factory_get_accessible_type (AtkObjectFactory *factory);
0068
0069 G_END_DECLS
0070
0071 #endif