~joel-auterson/ubuntu/maverick/ibus/newmenuname

« back to all changes in this revision

Viewing changes to src/ibusfactory.h

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2009-10-05 20:45:18 UTC
  • mfrom: (1.1.5 upstream) (6.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20091005204518-069vlwrl3r8v7bbr
Tags: 1.2.0.20090927-2
* create po template when build (LP: #188690)
  - debian/rules: updated.
  - debian/clean: remove pot file when clean.
* debian/control: build depends on python-rsvg (LP: #432375)

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
#define IBUS_FACTORY_GET_CLASS(obj)     \
53
53
    (G_TYPE_INSTANCE_GET_CLASS ((obj), IBUS_TYPE_FACTORY, IBusFactoryClass))
54
54
 
 
55
/**
 
56
 * IBUS_TYPE_FACTORY_INFO:
 
57
 *
 
58
 * Return GType of IBus factory information.
 
59
 */
55
60
#define IBUS_TYPE_FACTORY_INFO              \
56
61
    (ibus_factory_info_get_type ())
 
62
 
 
63
/**
 
64
 * IBUS_FACTORY_INFO:
 
65
 * @obj: An object which is subject to casting.
 
66
 *
 
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.
 
70
 */
57
71
#define IBUS_FACTORY_INFO(obj)              \
58
72
    (G_TYPE_CHECK_INSTANCE_CAST ((obj), IBUS_TYPE_FACTORY_INFO, IBusFactoryInfo))
 
73
 
 
74
/**
 
75
 * IBUS_FACTORY_INFO_CLASS:
 
76
 * @klass: A class to be casted.
 
77
 *
 
78
 * Casts a derived IBusFactoryInfoClass structure into a IBusFactoryInfoClass structure.
 
79
 */
59
80
#define IBUS_FACTORY_INFO_CLASS(klass)      \
60
81
    (G_TYPE_CHECK_CLASS_CAST ((klass), IBUS_TYPE_FACTORY_INFO, IBusFactoryInfoClass))
 
82
 
 
83
/**
 
84
 * IBUS_IS_FACTORY_INFO:
 
85
 * @obj: Instance to check for being a IBUS_FACTORY_INFO.
 
86
 *
 
87
 * Checks whether a valid GTypeInstance pointer is of type IBUS_FACTORY_INFO.
 
88
 */
61
89
#define IBUS_IS_FACTORY_INFO(obj)           \
62
90
    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IBUS_TYPE_FACTORY_INFO))
 
91
 
 
92
/**
 
93
 * IBUS_IS_FACTORY_INFO_CLASS:
 
94
 * @klass: A class to be checked.
 
95
 *
 
96
 * Checks whether class "is a" valid IBusFactoryInfoClass structure of type IBUS_FACTORY_INFO or derived.
 
97
 */
63
98
#define IBUS_IS_FACTORY_INFO_CLASS(klass)   \
64
99
    (G_TYPE_CHECK_CLASS_TYPE ((klass), IBUS_TYPE_FACTORY_INFO))
 
100
 
 
101
/**
 
102
 * IBUS_FACTORY_INFO_GET_CLASS:
 
103
 * @obj: An object.
 
104
 *
 
105
 * Get the class of a given object and cast the class to IBusFactoryInfoClass.
 
106
 */
65
107
#define IBUS_FACTORY_INFO_GET_CLASS(obj)   \
66
108
    (G_TYPE_INSTANCE_GET_CLASS ((obj), IBUS_TYPE_FACTORY_INFO, IBusFactoryInfoClass))
67
109