52
52
#define IBUS_FACTORY_GET_CLASS(obj) \
53
53
(G_TYPE_INSTANCE_GET_CLASS ((obj), IBUS_TYPE_FACTORY, IBusFactoryClass))
56
* IBUS_TYPE_FACTORY_INFO:
58
* Return GType of IBus factory information.
55
60
#define IBUS_TYPE_FACTORY_INFO \
56
61
(ibus_factory_info_get_type ())
65
* @obj: An object which is subject to casting.
67
* Casts an IBUS_FACTORY_INFO or derived pointer into a (IBusFactoryInfo*) pointer.
68
* Depending on the current debugging level, this function may invoke
69
* certain runtime checks to identify invalid casts.
57
71
#define IBUS_FACTORY_INFO(obj) \
58
72
(G_TYPE_CHECK_INSTANCE_CAST ((obj), IBUS_TYPE_FACTORY_INFO, IBusFactoryInfo))
75
* IBUS_FACTORY_INFO_CLASS:
76
* @klass: A class to be casted.
78
* Casts a derived IBusFactoryInfoClass structure into a IBusFactoryInfoClass structure.
59
80
#define IBUS_FACTORY_INFO_CLASS(klass) \
60
81
(G_TYPE_CHECK_CLASS_CAST ((klass), IBUS_TYPE_FACTORY_INFO, IBusFactoryInfoClass))
84
* IBUS_IS_FACTORY_INFO:
85
* @obj: Instance to check for being a IBUS_FACTORY_INFO.
87
* Checks whether a valid GTypeInstance pointer is of type IBUS_FACTORY_INFO.
61
89
#define IBUS_IS_FACTORY_INFO(obj) \
62
90
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), IBUS_TYPE_FACTORY_INFO))
93
* IBUS_IS_FACTORY_INFO_CLASS:
94
* @klass: A class to be checked.
96
* Checks whether class "is a" valid IBusFactoryInfoClass structure of type IBUS_FACTORY_INFO or derived.
63
98
#define IBUS_IS_FACTORY_INFO_CLASS(klass) \
64
99
(G_TYPE_CHECK_CLASS_TYPE ((klass), IBUS_TYPE_FACTORY_INFO))
102
* IBUS_FACTORY_INFO_GET_CLASS:
105
* Get the class of a given object and cast the class to IBusFactoryInfoClass.
65
107
#define IBUS_FACTORY_INFO_GET_CLASS(obj) \
66
108
(G_TYPE_INSTANCE_GET_CLASS ((obj), IBUS_TYPE_FACTORY_INFO, IBusFactoryInfoClass))