Registry.addPlugin

Add the plugin to the registry. The plugin-added signal will be emitted. This function will sink plugin.

class Registry
int
addPlugin

Parameters

plugin Plugin

the plugin to add. [transfer full]

Return Value

Type: int

TRUE on success. MT safe.

Meta