| 36 Types of pointers are identified by the ADDRESS of a GaimDbusType |
36 Types of pointers are identified by the ADDRESS of a GaimDbusType |
| 37 object. This way, plugins can easily access types defined in gaim |
37 object. This way, plugins can easily access types defined in gaim |
| 38 proper as well as introduce their own types that will not conflict |
38 proper as well as introduce their own types that will not conflict |
| 39 with those introduced by other plugins. |
39 with those introduced by other plugins. |
| 40 |
40 |
| 41 The structure GaimDbusType has only one element #parent, which |
41 The structure GaimDbusType has only one element (GaimDBusType::parent), a |
| 42 contains a pointer to the parent type, or #NULL if the type has no |
42 contains a pointer to the parent type, or @c NULL if the type has no |
| 43 parent. Parent means the same as the base class is object oriented |
43 parent. Parent means the same as the base class in object oriented |
| 44 programming. |
44 programming. |
| 45 */ |
45 */ |
| 46 |
46 |
| 47 typedef struct _GaimDBusType GaimDBusType; |
47 typedef struct _GaimDBusType GaimDBusType; |
| 48 |
48 |
| 49 struct _GaimDBusType { |
49 struct _GaimDBusType { |
| 50 GaimDBusType *parent; |
50 GaimDBusType *parent; |
| 145 |
145 |
| 146 |
146 |
| 147 /** |
147 /** |
| 148 |
148 |
| 149 Macro #DBUS_EXPORT expands to nothing. It is used to indicate to the |
149 Macro #DBUS_EXPORT expands to nothing. It is used to indicate to the |
| 150 #dbus-analize-functions.py script that the given function should be |
150 dbus-analize-functions.py script that the given function should be |
| 151 available to other applications through DBUS. If |
151 available to other applications through DBUS. If |
| 152 #dbus-analize-functions.py is run without the "--export-only" option, |
152 dbus-analize-functions.py is run without the "--export-only" option, |
| 153 this prefix is ignored. |
153 this prefix is ignored. |
| 154 |
154 |
| 155 */ |
155 */ |
| 156 |
156 |
| 157 #define DBUS_EXPORT |
157 #define DBUS_EXPORT |