|
Calls the execute() function of a plugin. The plugins are loaded using dlopen(3) and after the execute function returns, unloaded with dlclose(3). - Parameters:
-
| osso | The library context as returned by osso_initialize. |
| filename | The shared object (.so) file of the plugin. It should include the ".so" prefix, but not a path. |
| data | The GTK top-level widget. It is needed so that the widgets created by the plugin can be made a child of the main application that utilizes the plugin. Type is a gpointer so that the plugin does not need to depend on GTK (in which case it should ignore the parameter). |
| user_activated | If the plugin was activated by a user (as opposed to activated by restoring software state), set to TRUE, else to FALSE. |
- Returns:
- the return value of the plugin on success, or OSSO_ERROR on error.
|