Engine.providesExtension

Returns if info provides an extension for extension_type. If the info is not loaded than FALSE will always be returned.

Since libpeas 1.22, extension_type can be an Abstract GType and not just an Interface GType

class Engine
bool
providesExtension

Parameters

info PluginInfo
extensionType GType

The extension GType

Return Value

Type: bool

if info provides an extension for extension_type.