#include <plugin.h>
One CssedPlugin object's pointer must be returned with the function CssedPlugin *init_plugin() exported by the module .
You can create this object static or reserve memory for it and then return it in the init_plugin() function .
[view example]
Definition at line 78 of file plugin.h.
Data Fields | |
| gchar * | name |
| The plugin's name. | |
| gchar * | description |
| Plugin short description. | |
| gboolean(* | load_plugin )(CssedPlugin *) |
| Plugin load function. | |
| void(* | clean_plugin )(CssedPlugin *) |
| Plugin clean function. | |
| gpointer | user_data |
| Use this field to store plugin's needed data. | |
| CssedPluginPriv * | priv |
| Private data. | |
|
|
Plugin clean function. It will be called by cssed before unloading the plugin, put all your UI destruction and free all memory here. |
|
|
Plugin short description. One short description to show to users in the plugin's list. |
|
|
Plugin load function. It will be called by cssed to initialize the plugin, put all your UI construction and initialization code here. |
|
|
The plugin's name. One name to show to users in the plugin's list. |
|
|
Private data. This field is opaque and should be ignored |
|
|
Use this field to store plugin's needed data. You can use this field to pass any data needed by your implementation. |
This documentation is © Iago Rubio Sanfiz, 2004