Method
GrlRegistryload_all_plugins
since: 0.2.0
Declaration [src]
gboolean
grl_registry_load_all_plugins (
GrlRegistry* registry,
gboolean activate,
GError** error
)
Description [src]
Load all the modules available in the default directory path.
The default directory path can be changed through the environment
variable GRL_PLUGIN_PATH
and it can contain several paths separated
by “:”
Available since: 0.2.0
Parameters
activate
-
Type:
gboolean
TRUE
if plugins must be activated after loading. error
-
Type:
GError **
The return location for a recoverable error.
The argument can be NULL
.If the return location is not NULL
, then you must initialize it to aNULL
GError*
.The argument will be left initialized to NULL
by the method if there are no errors.In case of error, the argument will be set to a newly allocated GError
; the caller will take ownership of the data, and be responsible for freeing it.