libhildondesktop 2.0 Reference Manual | ||||
---|---|---|---|---|
#define HD_DEFINE_PLUGIN_EXTENDED (TN, t_n, T_P, CODE_LOAD, CODE_UNLOAD) #define HD_DEFINE_PLUGIN (TN, t_n, T_P) #define HD_DEFINE_PLUGIN_WITH_CODE (TN, t_n, T_P, CODE) #define HD_DEFINE_TYPE_MODULE_EXTENDED (TypeName, type_name, TYPE_PARENT, flags, CODE)
#define HD_DEFINE_PLUGIN_EXTENDED(TN, t_n, T_P, CODE_LOAD, CODE_UNLOAD)
Register an object supplied by a plugin in Hildon Desktop.
TN : |
The name of the object type, in Camel case. (ex: ObjectType) |
t_n : |
The name of the object type, in lowercase, with words separated by '_'. (ex: object_type) |
T_P : |
The GType of the parent (ex: STATUSBAR_TYPE_ITEM) |
CODE_LOAD : |
code executed when the plugin is loaded. |
CODE_UNLOAD : |
code executed when the plugin is unloaded. |
#define HD_DEFINE_PLUGIN(TN, t_n, T_P)
Register an object supplied by a plugin in Hildon Desktop. FIXME: link to an example.
TN : |
The name of the object type, in Camel case. (ex: ObjectType) |
t_n : |
The name of the object type, in lowercase, with words separated by '_'. (ex: object_type) |
T_P : |
The GType of the parent (ex: STATUSBAR_TYPE_ITEM) |
#define HD_DEFINE_PLUGIN_WITH_CODE(TN, t_n, T_P, CODE)
TN : |
|
t_n : |
|
T_P : |
|
CODE : |