Top | ![]() |
![]() |
![]() |
![]() |
GSList * | gplugin_loader_class_get_supported_extensions () |
GPluginPlugin * | gplugin_loader_query_plugin () |
gboolean | gplugin_loader_load_plugin () |
gboolean | gplugin_loader_unload_plugin () |
A PluginLoader has to implement the interface described here for GPlugin to be able to use it to load plugins.
GSList *
gplugin_loader_class_get_supported_extensions
(const GPluginLoaderClass *klass
);
Returns a GSList of string for which extensions the loader supports.
GPluginPlugin * gplugin_loader_query_plugin (GPluginLoader *loader
,const gchar *filename
,GError **error
);
This function is called by the plugin manager to ask a loader to query the given file and determine if it's a usable plugin.
loader |
GPluginLoader instance performing the query |
|
filename |
filename to query |
|
error |
return location for a GError, or NULL |
gboolean gplugin_loader_load_plugin (GPluginLoader *loader
,GPluginPlugin *plugin
,GError **error
);
This function is called by the plugin manager to ask a loader to load the given plugin.
loader |
GPluginLoader instance performing the load |
|
plugin |
GPluginPlugin instance to load |
|
error |
return location for a GError, or NULL |
gboolean gplugin_loader_unload_plugin (GPluginLoader *loader
,GPluginPlugin *plugin
,GError **error
);
This function is called by the plugin manager to ask a loader to unload the given plugin.
loader |
GPluginLoader instance performing the unload |
|
plugin |
GPluginPlugin instance to unload |
|
error |
return location for a GError, or NULL |