Class
GPluginLoader
Description [src]
abstract class GPlugin.Loader : GObject.Object {
parent_instance: GObject
}
An abstract class that should not be accessed directly.
Instance methods
gplugin_loader_get_supported_extensions
Returns a GSList
of strings containing the extensions that the
loader supports. Each extension should not include the dot. For example:
so, dll, py, etc.
gplugin_loader_load_plugin
This function is called by the plugin manager to ask loader
to load
plugin
.
gplugin_loader_query_plugin
This function is called by the plugin manager to ask loader
to query
filename
and determine if it’s a usable plugin.
gplugin_loader_unload_plugin
This function is called by the plugin manager to ask loader
to unload
plugin
.
Properties
GPlugin.Loader:id
No description available.
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct GPluginLoaderClass {
GSList* (* supported_extensions) (
GPluginLoader* loader
);
GPluginPlugin* (* query) (
GPluginLoader* loader,
const gchar* filename,
GError** error
);
gboolean (* load) (
GPluginLoader* loader,
GPluginPlugin* plugin,
GError** error
);
gboolean (* unload) (
GPluginLoader* loader,
GPluginPlugin* plugin,
gboolean shutdown,
GError** error
);
}
GPluginLoaderClass
defines the behavior for loading plugins.
Class members
supported_extensions |
|
No description available. | |
query |
|
No description available. | |
load |
|
No description available. | |
unload |
|
No description available. |
Virtual methods
GPlugin.LoaderClass.load
No description available.
GPlugin.LoaderClass.query
No description available.
GPlugin.LoaderClass.supported_extensions
No description available.
GPlugin.LoaderClass.unload
No description available.