Struct
GrlPluginDescriptor
since: 0.3.0
Description [src]
struct GrlPluginDescriptor {
gint major_version;
gint minor_version;
gchar* id;
gchar* name;
gchar* description;
gchar* author;
gchar* version;
gchar* license;
gchar* site;
GrlPluginInitFunc init;
GrlPluginDeinitFunc deinit;
GrlPluginRegisterKeysFunc register_keys;
}
This structure is used for the module loader.
Structure members
major_version
The major version number of core that plugin was compiled for.
minor_version
The minor version number of core that plugin was compiled for.
id
The plugin identifier.
name
Name of plugin.
description
Description of plugin.
author
Author of plugin.
version
Version of plugin.
license
License of plugin.
site
URL to provider of plugin.
init
The module initialization. It shall instantiate the
GrlPlugins
provided.deinit
Function to execute when the registry needs to dispose the module.
register_keys
Function to execute before loading the plugin. It’s aim is to register new keys.
Available since: 0.3.0