Class

GPluginLoader

Description [src]

abstract class GPlugin.Loader : GObject.Object {
  parent_instance: GObject
}

An abstract class that should not be accessed directly.

Ancestors

Instance methods

gplugin_loader_get_id

Gets the identifier of loader.

since: 0.34

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.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

GPlugin.Loader:id

The identifier of the loader.

since: 0.34

Signals

Signals inherited from GObject (1)
GObject::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: GSList* (* supported_extensions) ( GPluginLoader* loader )
No description available.
query: GPluginPlugin* (* query) ( GPluginLoader* loader, const gchar* filename, GError** error )
No description available.
load: gboolean (* load) ( GPluginLoader* loader, GPluginPlugin* plugin, GError** error )
No description available.
unload: gboolean (* unload) ( GPluginLoader* loader, GPluginPlugin* plugin, gboolean shutdown, GError** error )
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.