Function

Valentget_plugin_engine

unstable since: 1.0

Declaration [src]

PeasEngine*
valent_get_plugin_engine (
  void
)

Description [src]

Get the global PeasEngine.

The first call to this function initializes the PeasEngine and adds resource:///plugins to the search path, where embedded plugins should be registered. If running in a Flatpak, /app/extensions/lib/valent/plugins will also be added to the search path for Flatpak extensions.

Available since: 1.0

Return value

Type: PeasEngine

A PeasEngine.

The data is owned by the called function.