Namespace

GPlugin – 1.0

GPlugin Plugin Library

Version0.43.2-dev
AuthorsGPlugin Developers
LicenseLGPL-2.1-or-later
Websitehttps://keep.imfreedom.org/gplugin/gplugin/
Sourcehttps://keep.imfreedom.org/gplugin/gplugin/

Build

C headersgplugin.h
pkg-config filesgplugin

Dependencies

GLib—2.0 General-purpose, portable utility library.
Browse documentation
GObject—2.0 The base type system library
Browse documentation

Classes

FileSource

A GPluginSource that will query plugins on disk.

since: 0.43

Loader

An abstract class that should not be accessed directly.

Manager

The manager is responsible for querying plugins as well as telling loaders when to load and unload plugins. It also keeps track of paths that should be searched for plugins.

since: 0.32

PluginInfo

GPluginPluginInfo holds all of the data about a plugin. It is created when a plugin is queried.

Interfaces

Plugin

GPluginPlugin is an interface that represents what GPlugin expects for a plugin.

Source

An interface that the manager will call during refresh to query plugins.

since: 0.39

Enumerations

PluginState

The known states of a plugin.

Bitfields

CoreFlags

Flags to configure behaviors in GPlugin.

since: 0.31

Callbacks

ManagerForeachFunc

A callback function for gplugin_manager_foreach().

Functions

get_flags

Gets the core flags that were passed to gplugin_init().

since: 0.34

get_option_group

Returns an option group for the commandline arguments recognized by GPlugin.

init

Initializes the GPlugin library.

uninit

Uninitializes the GPlugin library.

version_check

Checks that the GPlugin library in use is compatible with the given version.

version_compare

A semantic version checker which ignores any characters after the micro version.

Function Macros

plugin_info_new

Creates a new GPluginPluginInfo instance.

VERSION_CHECK

Checks the version of the GPlugin library that is being compiled against.

Constants

EXTRA_VERSION

This is the extra version string of GPlugin that was compiled against.

MAJOR_VERSION

This is the major version number of GPlugin that was compiled against.

MICRO_VERSION

This is the micro version number of GPlugin that was compiled against.

MINOR_VERSION

This is the minor version number of GPlugin that was compiled against.

VERSION

This is the string version number of GPlugin that was compiled against.

VERSION_MIN_REQUIRED

A macro that should be defined by the user prior to including the gplugin.h header.