<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:doc="http://www.gtk.org/introspection/doc/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GIRepository" version="2.0"/>
  <include name="GModule" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <package name="libpeas-1.0"/>
  <c:include name="libpeas/peas.h"/>
  <doc:format name="unknown"/>
  <namespace name="Peas"
             version="1.0"
             shared-library="libpeas-1.0.so.0"
             c:identifier-prefixes="Peas"
             c:symbol-prefixes="peas">
    <alias name="Extension" c:type="PeasExtension">
      <doc xml:space="preserve"
           filename="libpeas/peas-extension.h"
           line="39">A proxy class to access the actual plugin.</doc>
      <source-position filename="libpeas/peas-extension.h" line="44"/>
      <type name="GObject.Object" c:type="GObject"/>
    </alias>
    <function-macro name="ACTIVATABLE"
                    c:identifier="PEAS_ACTIVATABLE"
                    introspectable="0">
      <source-position filename="libpeas/peas-activatable.h" line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="ACTIVATABLE_GET_IFACE"
                    c:identifier="PEAS_ACTIVATABLE_GET_IFACE"
                    introspectable="0">
      <source-position filename="libpeas/peas-activatable.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="ACTIVATABLE_IFACE"
                    c:identifier="PEAS_ACTIVATABLE_IFACE"
                    introspectable="0">
      <source-position filename="libpeas/peas-activatable.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <interface name="Activatable"
               c:symbol-prefix="activatable"
               c:type="PeasActivatable"
               glib:type-name="PeasActivatable"
               glib:get-type="peas_activatable_get_type"
               glib:type-struct="ActivatableInterface">
      <doc xml:space="preserve"
           filename="libpeas/peas-activatable.h"
           line="40">Interface for activatable plugins.</doc>
      <source-position filename="libpeas/peas-activatable.h" line="65"/>
      <virtual-method name="activate" invoker="activate">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.c"
             line="68">Activates the extension on the targetted object.

On activation, the extension should hook itself to the object
where it makes sense.</doc>
        <source-position filename="libpeas/peas-activatable.h" line="62"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="activatable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-activatable.c"
                 line="70">A #PeasActivatable.</doc>
            <type name="Activatable" c:type="PeasActivatable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="deactivate" invoker="deactivate">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.c"
             line="90">Deactivates the extension on the targetted object.

On deactivation, an extension should remove itself from all the hooks it
used and should perform any cleanup required, so it can be unreffed safely
and without any more effect on the host application.</doc>
        <source-position filename="libpeas/peas-activatable.h" line="63"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="activatable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-activatable.c"
                 line="92">A #PeasActivatable.</doc>
            <type name="Activatable" c:type="PeasActivatable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="update_state" invoker="update_state">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.c"
             line="113">Triggers an update of the extension internal state to take into account
state changes in the targetted object, due to some event or user action.</doc>
        <source-position filename="libpeas/peas-activatable.h" line="64"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="activatable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-activatable.c"
                 line="115">A #PeasActivatable.</doc>
            <type name="Activatable" c:type="PeasActivatable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="activate" c:identifier="peas_activatable_activate">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.c"
             line="68">Activates the extension on the targetted object.

On activation, the extension should hook itself to the object
where it makes sense.</doc>
        <source-position filename="libpeas/peas-activatable.h" line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="activatable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-activatable.c"
                 line="70">A #PeasActivatable.</doc>
            <type name="Activatable" c:type="PeasActivatable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="deactivate" c:identifier="peas_activatable_deactivate">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.c"
             line="90">Deactivates the extension on the targetted object.

On deactivation, an extension should remove itself from all the hooks it
used and should perform any cleanup required, so it can be unreffed safely
and without any more effect on the host application.</doc>
        <source-position filename="libpeas/peas-activatable.h" line="76"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="activatable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-activatable.c"
                 line="92">A #PeasActivatable.</doc>
            <type name="Activatable" c:type="PeasActivatable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="update_state" c:identifier="peas_activatable_update_state">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.c"
             line="113">Triggers an update of the extension internal state to take into account
state changes in the targetted object, due to some event or user action.</doc>
        <source-position filename="libpeas/peas-activatable.h" line="78"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="activatable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-activatable.c"
                 line="115">A #PeasActivatable.</doc>
            <type name="Activatable" c:type="PeasActivatable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="object"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.c"
             line="51">The object property contains the targetted object for this
#PeasActivatable instance, for example a toplevel window in a typical
windowed application. It is set at construction time and won't change.</doc>
        <type name="GObject.Object"/>
      </property>
    </interface>
    <record name="ActivatableInterface"
            c:type="PeasActivatableInterface"
            glib:is-gtype-struct-for="Activatable">
      <doc xml:space="preserve"
           filename="libpeas/peas-activatable.h"
           line="48">Provides an interface for activatable plugins.</doc>
      <source-position filename="libpeas/peas-activatable.h" line="65"/>
      <field name="g_iface">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.h"
             line="50">The parent interface.</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="activate">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.h"
             line="51">Activates the plugin.</doc>
        <callback name="activate">
          <source-position filename="libpeas/peas-activatable.h" line="62"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="activatable" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="libpeas/peas-activatable.c"
                   line="70">A #PeasActivatable.</doc>
              <type name="Activatable" c:type="PeasActivatable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="deactivate">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.h"
             line="52">Deactivates the plugin.</doc>
        <callback name="deactivate">
          <source-position filename="libpeas/peas-activatable.h" line="63"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="activatable" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="libpeas/peas-activatable.c"
                   line="92">A #PeasActivatable.</doc>
              <type name="Activatable" c:type="PeasActivatable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="update_state">
        <doc xml:space="preserve"
             filename="libpeas/peas-activatable.h"
             line="53">Updates the plugin's internal state to take account of
 a change in the target object's state.</doc>
        <callback name="update_state">
          <source-position filename="libpeas/peas-activatable.h" line="64"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="activatable" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="libpeas/peas-activatable.c"
                   line="115">A #PeasActivatable.</doc>
              <type name="Activatable" c:type="PeasActivatable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <function-macro name="DEPRECATED_FOR"
                    c:identifier="PEAS_DEPRECATED_FOR"
                    introspectable="0">
      <source-position filename="libpeas/peas-version-macros.h" line="33"/>
      <parameters>
        <parameter name="f">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DEPRECATED_IN_1_22_FOR"
                    c:identifier="PEAS_DEPRECATED_IN_1_22_FOR"
                    introspectable="0">
      <source-position filename="libpeas/peas-version-macros.h" line="117"/>
      <parameters>
        <parameter name="f">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DEPRECATED_IN_1_24_FOR"
                    c:identifier="PEAS_DEPRECATED_IN_1_24_FOR"
                    introspectable="0">
      <source-position filename="libpeas/peas-version-macros.h" line="131"/>
      <parameters>
        <parameter name="f">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="ENGINE"
                    c:identifier="PEAS_ENGINE"
                    introspectable="0">
      <source-position filename="libpeas/peas-engine.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="ENGINE_CLASS"
                    c:identifier="PEAS_ENGINE_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-engine.h" line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="ENGINE_GET_CLASS"
                    c:identifier="PEAS_ENGINE_GET_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-engine.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="EXTENSION"
                    c:identifier="PEAS_EXTENSION"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="EXTENSION_BASE"
                    c:identifier="PEAS_EXTENSION_BASE"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-base.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="EXTENSION_BASE_CLASS"
                    c:identifier="PEAS_EXTENSION_BASE_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-base.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="EXTENSION_BASE_GET_CLASS"
                    c:identifier="PEAS_EXTENSION_BASE_GET_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-base.h" line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="EXTENSION_SET"
                    c:identifier="PEAS_EXTENSION_SET"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-set.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="EXTENSION_SET_CLASS"
                    c:identifier="PEAS_EXTENSION_SET_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-set.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="EXTENSION_SET_GET_CLASS"
                    c:identifier="PEAS_EXTENSION_SET_GET_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-set.h" line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Engine"
           c:symbol-prefix="engine"
           c:type="PeasEngine"
           parent="GObject.Object"
           glib:type-name="PeasEngine"
           glib:get-type="peas_engine_get_type"
           glib:type-struct="EngineClass">
      <doc xml:space="preserve"
           filename="libpeas/peas-engine.h"
           line="44">The #PeasEngine structure contains only private data and should only be
accessed using the provided API.</doc>
      <source-position filename="libpeas/peas-engine.h" line="76"/>
      <constructor name="new" c:identifier="peas_engine_new">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1640">Return a new instance of #PeasEngine.
If no default #PeasEngine has been instantiated yet,
the first call of this function will set the default
engine as the new instance of #PeasEngine.</doc>
        <source-position filename="libpeas/peas-engine.h" line="81"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1648">a new instance of #PeasEngine.</doc>
          <type name="Engine" c:type="PeasEngine*"/>
        </return-value>
      </constructor>
      <constructor name="new_with_nonglobal_loaders"
                   c:identifier="peas_engine_new_with_nonglobal_loaders"
                   version="1.14">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1656">Return a new instance of #PeasEngine which will use non-global
plugin loaders instead of the default global ones. This allows
multiple threads to each have a #PeasEngine and be used without
internal locking.

Note: due to CPython's GIL the python and python3
      plugin loaders are always global.</doc>
        <source-position filename="libpeas/peas-engine.h" line="83"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1667">a new instance of #PeasEngine that uses non-global loaders.</doc>
          <type name="Engine" c:type="PeasEngine*"/>
        </return-value>
      </constructor>
      <function name="get_default" c:identifier="peas_engine_get_default">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1679">Return the existing instance of #PeasEngine or a subclass of it.
If no #PeasEngine subclass has been instantiated yet, the first call
of this function will return a new instance of #PeasEngine.

Note: this function should never be used when multiple threads are
      using libpeas API as it is not thread-safe.</doc>
        <source-position filename="libpeas/peas-engine.h" line="86"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1689">the existing instance of #PeasEngine.</doc>
          <type name="Engine" c:type="PeasEngine*"/>
        </return-value>
      </function>
      <virtual-method name="load_plugin">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.h"
             line="60">Signal class handler for the #PeasEngine::load-plugin signal.</doc>
        <source-position filename="libpeas/peas-engine.h" line="68"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="unload_plugin">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.h"
             line="61">Signal class handler for the #PeasEngine::unload-plugin signal.</doc>
        <source-position filename="libpeas/peas-engine.h" line="71"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_search_path"
              c:identifier="peas_engine_add_search_path">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="410">This function appends a search path to the list of paths where to
look for plugins.

A so-called "search path" actually consists of both a
module directory (where the shared libraries or language modules
lie) and a data directory (where the plugin data is).

The plugin will be able to use a correct data dir depending on
where it is installed, hence allowing to keep the plugin agnostic
when it comes to installation location: the same plugin can be
installed either in the system path or in the user's home directory,
without taking other special care than using
peas_plugin_info_get_data_dir() when looking for its data files.

If @data_dir is %NULL, then it is set to the same value as
@module_dir.</doc>
        <source-position filename="libpeas/peas-engine.h" line="89"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="412">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="module_dir" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="413">the plugin module directory.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="data_dir"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="414">the plugin data directory.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_extension"
              c:identifier="peas_engine_create_extension"
              shadowed-by="create_extension_with_properties"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1488">If the plugin identified by @info implements the @extension_type,
then this function will return a new instance of this implementation,
wrapped in a new #PeasExtension instance. Otherwise, it will return %NULL.

When creating the new instance of the @extension_type subtype, the
provided construct properties will be passed to the extension construction
handler (exactly like if you had called g_object_new() yourself).

The new extension instance produced by this function will always be
returned wrapped in a #PeasExtension proxy, following the current libpeas
principle of never giving you the actual object (also because it might as
well *not* be an actual object).

Since libpeas 1.22, @extension_type can be an Abstract #GType
and not just an Interface #GType.</doc>
        <source-position filename="libpeas/peas-engine.h" line="156"/>
        <return-value>
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1513">a new instance of #PeasExtension wrapping
the @extension_type instance, or %NULL.</doc>
          <type name="Extension" c:type="PeasExtension*"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1490">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1491">A loaded #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
          <parameter name="extension_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1492">The implemented extension #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="first_property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1493">the name of the first property.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1494">the value of the first property, followed optionally by more
  name/value pairs, followed by %NULL.</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="create_extension_valist"
              c:identifier="peas_engine_create_extension_valist"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1431">If the plugin identified by @info implements the @extension_type,
then this function will return a new instance of this implementation,
wrapped in a new #PeasExtension instance. Otherwise, it will return %NULL.

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

See peas_engine_create_extension() for more information.</doc>
        <source-position filename="libpeas/peas-engine.h" line="149"/>
        <return-value>
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1449">a new instance of #PeasExtension wrapping
the @extension_type instance, or %NULL.</doc>
          <type name="Extension" c:type="PeasExtension*"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1433">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1434">A loaded #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
          <parameter name="extension_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1435">The implemented extension #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="first_property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1436">the name of the first property.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1437">the value of the first property, followed optionally by more
  name/value pairs, followed by %NULL.</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_extension_with_properties"
              c:identifier="peas_engine_create_extension_with_properties"
              shadows="create_extension"
              version="1.24">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1354">If the plugin identified by @info implements the @extension_type,
then this function will return a new instance of this implementation,
wrapped in a new #PeasExtension instance. Otherwise, it will return %NULL.

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

See peas_engine_create_extension() for more information.</doc>
        <source-position filename="libpeas/peas-engine.h" line="140"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1372">a new instance of #PeasExtension wrapping
the @extension_type instance, or %NULL.</doc>
          <type name="Extension" c:type="PeasExtension*"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1356">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1357">A loaded #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
          <parameter name="extension_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1358">The implemented extension #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="n_properties" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1359">the length of the @prop_names and @prop_values array.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="prop_names" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1360">an array of property names.</doc>
            <array length="2" zero-terminated="0" c:type="const gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="prop_values" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1361">an array of property values.</doc>
            <array length="2" zero-terminated="0" c:type="const GValue*">
              <type name="GObject.Value" c:type="GValue"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="create_extensionv"
              c:identifier="peas_engine_create_extensionv"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1302">If the plugin identified by @info implements the @extension_type,
then this function will return a new instance of this implementation,
wrapped in a new #PeasExtension instance. Otherwise, it will return %NULL.

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

See peas_engine_create_extension() for more information.</doc>
        <source-position filename="libpeas/peas-engine.h" line="132"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1320">a new instance of #PeasExtension wrapping
the @extension_type instance, or %NULL.</doc>
          <type name="Extension" c:type="PeasExtension*"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1304">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1305">A loaded #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
          <parameter name="extension_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1306">The implemented extension #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="n_parameters" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1307">the length of the @parameters array.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="parameters"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1308">
  an array of #GParameter.</doc>
            <array length="2" zero-terminated="0" c:type="GParameter*">
              <type name="GObject.Parameter" c:type="GParameter"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="enable_loader" c:identifier="peas_engine_enable_loader">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="942">Enable a loader, enables a loader for plugins.
The C plugin loader is always enabled. The other plugin
loaders are: lua5.1, python and python3.

For instance, the following code will enable Python 2 plugins
to be loaded:
|[
peas_engine_enable_loader (engine, "python");
]|

Note: plugin loaders used to be shared across #PeasEngines so enabling
      a loader on one #PeasEngine would enable it on all #PeasEngines.
      This behavior has been kept to avoid breaking applications,
      however a warning has been added to help applications transition.</doc>
        <source-position filename="libpeas/peas-engine.h" line="99"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="944">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="loader_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="945">The name of the loader to enable.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="garbage_collect"
              c:identifier="peas_engine_garbage_collect">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="508">This function triggers garbage collection on all the loaders currently
owned by the #PeasEngine.  This can be used to force the loaders to destroy
managed objects that still hold references to objects that are about to
disappear.</doc>
        <source-position filename="libpeas/peas-engine.h" line="122"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="510">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_loaded_plugins"
              c:identifier="peas_engine_get_loaded_plugins"
              glib:get-property="loaded-plugins">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1540">Returns the list of the names of all the loaded plugins, or an array
containing a single %NULL element if there is no plugin currently loaded.

Please note that the returned array is a newly allocated one: you will need
to free it using g_strfreev().</doc>
        <source-position filename="libpeas/peas-engine.h" line="106"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1550">A newly-allocated
%NULL-terminated array of strings.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1542">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_plugin_info"
              c:identifier="peas_engine_get_plugin_info">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1053">Gets the #PeasPluginInfo corresponding with @plugin_name,
or %NULL if @plugin_name was not found.</doc>
        <source-position filename="libpeas/peas-engine.h" line="111"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1061">the #PeasPluginInfo corresponding with
a given plugin module name.</doc>
          <type name="PluginInfo" c:type="PeasPluginInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1055">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="plugin_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1056">A plugin name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_plugin_list"
              c:identifier="peas_engine_get_plugin_list"
              glib:get-property="plugin-list">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1033">Returns the list of #PeasPluginInfo known to the engine.</doc>
        <source-position filename="libpeas/peas-engine.h" line="104"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1039">a #GList of
#PeasPluginInfo. Note that the list belongs to the engine and should
not be freed.</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="PluginInfo"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1035">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load_plugin" c:identifier="peas_engine_load_plugin">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1169">Loads the plugin corresponding to @info if it's not currently loaded.
Emits the "load-plugin" signal; loading the plugin
actually occurs in the default signal handler.</doc>
        <source-position filename="libpeas/peas-engine.h" line="116"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1178">whether the plugin has been successfully loaded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1171">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1172">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
        </parameters>
      </method>
      <method name="prepend_search_path"
              c:identifier="peas_engine_prepend_search_path"
              version="1.6">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="441">This function prepends a search path to the list of paths where to
look for plugins.

See Also: peas_engine_add_search_path()</doc>
        <source-position filename="libpeas/peas-engine.h" line="93"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="443">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="module_dir" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="444">the plugin module directory.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="data_dir"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="445">the plugin data directory.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="provides_extension"
              c:identifier="peas_engine_provides_extension">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1269">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.</doc>
        <source-position filename="libpeas/peas-engine.h" line="125"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1281">if @info provides an extension for @extension_type.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1271">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1272">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
          <parameter name="extension_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1273">The extension #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="rescan_plugins" c:identifier="peas_engine_rescan_plugins">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="344">Rescan all the registered directories to find new or updated plugins.

Calling this function will make the newly installed plugin infos
be loaded by the engine, so the new plugins can be used without
restarting the application.</doc>
        <source-position filename="libpeas/peas-engine.h" line="102"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="346">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_loaded_plugins"
              c:identifier="peas_engine_set_loaded_plugins"
              glib:set-property="loaded-plugins">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1597">Sets the list of loaded plugins for @engine. When this function is called,
the #PeasEngine will load all the plugins whose names are in @plugin_names,
and ensures all other active plugins are unloaded.

If @plugin_names is %NULL, all plugins will be unloaded.</doc>
        <source-position filename="libpeas/peas-engine.h" line="108"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1599">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="plugin_names"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1600">A %NULL-terminated
 array of plugin names, or %NULL.</doc>
            <array c:type="const gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="unload_plugin" c:identifier="peas_engine_unload_plugin">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="1243">Unloads the plugin corresponding to @info.
Emits the "unload-plugin" signal; unloading the plugin
actually occurs in the default signal handler.</doc>
        <source-position filename="libpeas/peas-engine.h" line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-engine.c"
               line="1252">whether the plugin has been successfully unloaded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="engine" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1245">A #PeasEngine.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="1246">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
        </parameters>
      </method>
      <property name="loaded-plugins"
                writable="1"
                transfer-ownership="none"
                setter="set_loaded_plugins"
                getter="get_loaded_plugins">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="678">The list of loaded plugins.

This will be modified when peas_engine_load_plugin() or
peas_engine_unload_plugin() is called.

This can be used with GSettings to save the loaded plugins by binding
to this property after instantiating the engine by doing:
|[
  g_settings_bind (gsettings_object,
                   LOADED_PLUGINS_KEY,
                   engine,
                   "loaded-plugins",
                   G_SETTINGS_BIND_DEFAULT);
]|

Note: notify will not be called when the engine is being destroyed.</doc>
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="nonglobal-loaders"
                version="1.14"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="706">If non-global plugin loaders should be used.

See peas_engine_new_with_nonglobal_loaders() for more information.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="plugin-list"
                transfer-ownership="none"
                getter="get_plugin_list">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="662">The list of found plugins.

This will be modified when peas_engine_rescan_plugins() is called.

Note: the list belongs to the engine and should not be modified or freed.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="EnginePrivate" c:type="PeasEnginePrivate*"/>
      </field>
      <glib:signal name="load-plugin" when="last">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="724">The load-plugin signal is emitted when a plugin is being loaded.

The plugin is being loaded in the default handler. Hence, if you want to
perform some action before the plugin is loaded, you should use
g_signal_connect(), but if you want to perform some action *after* the
plugin is loaded (the most common case), you should use
g_signal_connect_after().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="727">A #PeasPluginInfo.</doc>
            <type name="PluginInfo"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="unload-plugin" when="last">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.c"
             line="749">The unload-plugin signal is emitted when a plugin is being unloaded.

The plugin is being unloaded in the default handler. Hence, if you want
to perform some action before the plugin is unloaded (the most common
case), you should use g_signal_connect(), but if you want to perform some
action after the plugin is unloaded (the most common case), you should
use g_signal_connect_after().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-engine.c"
                 line="752">A #PeasPluginInfo.</doc>
            <type name="PluginInfo"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="EngineClass"
            c:type="PeasEngineClass"
            glib:is-gtype-struct-for="Engine">
      <doc xml:space="preserve"
           filename="libpeas/peas-engine.h"
           line="57">Class structure for #PeasEngine.</doc>
      <source-position filename="libpeas/peas-engine.h" line="76"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.h"
             line="59">The parent class.</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="load_plugin">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.h"
             line="60">Signal class handler for the #PeasEngine::load-plugin signal.</doc>
        <callback name="load_plugin">
          <source-position filename="libpeas/peas-engine.h" line="68"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="engine" transfer-ownership="none">
              <type name="Engine" c:type="PeasEngine*"/>
            </parameter>
            <parameter name="info" transfer-ownership="none">
              <type name="PluginInfo" c:type="PeasPluginInfo*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unload_plugin">
        <doc xml:space="preserve"
             filename="libpeas/peas-engine.h"
             line="61">Signal class handler for the #PeasEngine::unload-plugin signal.</doc>
        <callback name="unload_plugin">
          <source-position filename="libpeas/peas-engine.h" line="71"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="engine" transfer-ownership="none">
              <type name="Engine" c:type="PeasEngine*"/>
            </parameter>
            <parameter name="info" transfer-ownership="none">
              <type name="PluginInfo" c:type="PeasPluginInfo*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding" readable="0" private="1">
        <array zero-terminated="0" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="EnginePrivate"
            c:type="PeasEnginePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libpeas/peas-engine.h" line="42"/>
    </record>
    <class name="ExtensionBase"
           c:symbol-prefix="extension_base"
           c:type="PeasExtensionBase"
           parent="GObject.Object"
           abstract="1"
           glib:type-name="PeasExtensionBase"
           glib:get-type="peas_extension_base_get_type"
           glib:type-struct="ExtensionBaseClass">
      <doc xml:space="preserve"
           filename="libpeas/peas-extension-base.h"
           line="42">Base class for C extensions.</doc>
      <source-position filename="libpeas/peas-extension-base.h" line="68"/>
      <method name="get_data_dir"
              c:identifier="peas_extension_base_get_data_dir"
              glib:get-property="data-dir">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-base.c"
             line="173">Get the path of the directory where the plugin should look for
its data files.</doc>
        <source-position filename="libpeas/peas-extension-base.h" line="79"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-base.c"
               line="180">A newly allocated string with the path of the
directory where the plugin should look for its data files</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="extbase" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-base.c"
                 line="175">A #PeasExtensionBase.</doc>
            <type name="ExtensionBase" c:type="PeasExtensionBase*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_plugin_info"
              c:identifier="peas_extension_base_get_plugin_info"
              glib:get-property="plugin-info">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-base.c"
             line="154">Get information relative to @extbase.</doc>
        <source-position filename="libpeas/peas-extension-base.h" line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-base.c"
               line="160">the #PeasPluginInfo relative
to the #PeasExtensionBase.</doc>
          <type name="PluginInfo" c:type="PeasPluginInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="extbase" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-base.c"
                 line="156">A #PeasExtensionBase.</doc>
            <type name="ExtensionBase" c:type="PeasExtensionBase*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="data-dir"
                transfer-ownership="none"
                getter="get_data_dir"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-base.c"
             line="133">The The full path of the directory where the plugin
should look for its data files.

Note: This is the same path as that returned by
peas_plugin_info_get_data_dir().</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="plugin-info"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_plugin_info">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-base.c"
             line="119">The #PeasPluginInfo related to the current plugin.</doc>
        <type name="PluginInfo"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="ExtensionBasePrivate" c:type="PeasExtensionBasePrivate*"/>
      </field>
    </class>
    <record name="ExtensionBaseClass"
            c:type="PeasExtensionBaseClass"
            glib:is-gtype-struct-for="ExtensionBase">
      <doc xml:space="preserve"
           filename="libpeas/peas-extension-base.h"
           line="57">The class structure of #PeasExtensionBase.</doc>
      <source-position filename="libpeas/peas-extension-base.h" line="68"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-base.h"
             line="59">The parent class.</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding" readable="0" private="1">
        <array zero-terminated="0" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="ExtensionBasePrivate"
            c:type="PeasExtensionBasePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libpeas/peas-extension-base.h" line="49"/>
    </record>
    <class name="ExtensionSet"
           c:symbol-prefix="extension_set"
           c:type="PeasExtensionSet"
           parent="GObject.Object"
           glib:type-name="PeasExtensionSet"
           glib:get-type="peas_extension_set_get_type"
           glib:type-struct="ExtensionSetClass">
      <doc xml:space="preserve"
           filename="libpeas/peas-extension-set.h"
           line="46">The #PeasExtensionSet structure contains only private data and should only
be accessed using the provided API.</doc>
      <source-position filename="libpeas/peas-extension-set.h" line="93"/>
      <constructor name="new"
                   c:identifier="peas_extension_set_new"
                   shadowed-by="new_with_properties"
                   introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.c"
             line="761">Create a new #PeasExtensionSet for the @exten_type extension type.

At any moment, the #PeasExtensionSet will contain an extension instance for
each loaded plugin which implements the @exten_type extension type. It does
so by connecting to the relevant signals from #PeasEngine.

The property values passed to peas_extension_set_new() will be used for the
construction of new extension instances.

If @engine is %NULL, then the default engine will be used.

Since libpeas 1.22, @exten_type can be an Abstract #GType
and not just an Interface #GType.

See peas_engine_create_extension() for more information.</doc>
        <source-position filename="libpeas/peas-extension-set.h" line="164"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-set.c"
               line="785">a new instance of #PeasExtensionSet.</doc>
          <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
        </return-value>
        <parameters>
          <parameter name="engine"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="763">A #PeasEngine, or %NULL.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </parameter>
          <parameter name="exten_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="764">the extension #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="first_property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="765">the name of the first property.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="766">the value of the first property, followed optionally by more
  name/value pairs, followed by %NULL.</doc>
            <varargs/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_valist"
                   c:identifier="peas_extension_set_new_valist"
                   introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.c"
             line="711">Create a new #PeasExtensionSet for the @exten_type extension type.

If @engine is %NULL, then the default engine will be used.

Since libpeas 1.22, @exten_type can be an Abstract #GType
and not just an Interface #GType.

See peas_extension_set_new() for more information.</doc>
        <source-position filename="libpeas/peas-extension-set.h" line="159"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-set.c"
               line="728">a new instance of #PeasExtensionSet.</doc>
          <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
        </return-value>
        <parameters>
          <parameter name="engine"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="713">A #PeasEngine, or %NULL.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </parameter>
          <parameter name="exten_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="714">the extension #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="first_property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="715">the name of the first property.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="716">the value of the first property, followed optionally by more
  name/value pairs, followed by %NULL.</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_with_properties"
                   c:identifier="peas_extension_set_new_with_properties"
                   shadows="new">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.c"
             line="645">Create a new #PeasExtensionSet for the @exten_type extension type.

If @engine is %NULL, then the default engine will be used.

Since libpeas 1.22, @exten_type can be an Abstract #GType
and not just an Interface #GType.

See peas_extension_set_new() for more information.</doc>
        <source-position filename="libpeas/peas-extension-set.h" line="153"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-set.c"
               line="662">a new instance of #PeasExtensionSet.

Since 1.24.0</doc>
          <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
        </return-value>
        <parameters>
          <parameter name="engine"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="647">A #PeasEngine, or %NULL.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </parameter>
          <parameter name="exten_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="648">the extension #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="n_properties" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="649">the length of the @prop_names and @prop_values array.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="prop_names" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="650">an array of property names.</doc>
            <array length="2" zero-terminated="0" c:type="const gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="prop_values" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="651">an array of property values.</doc>
            <array length="2" zero-terminated="0" c:type="const GValue*">
              <type name="GObject.Value" c:type="GValue"/>
            </array>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="newv"
                   c:identifier="peas_extension_set_newv"
                   introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.c"
             line="608">Create a new #PeasExtensionSet for the @exten_type extension type.

If @engine is %NULL, then the default engine will be used.

Since libpeas 1.22, @exten_type can be an Abstract #GType
and not just an Interface #GType.

See peas_extension_set_new() for more information.</doc>
        <source-position filename="libpeas/peas-extension-set.h" line="146"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-set.c"
               line="624">a new instance of #PeasExtensionSet.</doc>
          <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
        </return-value>
        <parameters>
          <parameter name="engine"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="610">A #PeasEngine, or %NULL.</doc>
            <type name="Engine" c:type="PeasEngine*"/>
          </parameter>
          <parameter name="exten_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="611">the extension #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="n_parameters" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="612">the length of the @parameters array.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="parameters" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="613">an array of #GParameter.</doc>
            <array length="2" zero-terminated="0" c:type="GParameter*">
              <type name="GObject.Parameter" c:type="GParameter"/>
            </array>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="call">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.h"
             line="61">The VFunc for peas_extension_set_call().</doc>
        <source-position filename="libpeas/peas-extension-set.h" line="74"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
          </instance-parameter>
          <parameter name="method_name" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="args" transfer-ownership="none">
            <type name="GIRepository.Argument" c:type="GIArgument*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="extension_added">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.h"
             line="62">Signal class handler for the
                  #PeasExtensionSet::extension-added signal.</doc>
        <source-position filename="libpeas/peas-extension-set.h" line="84"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
          <parameter name="exten" transfer-ownership="none">
            <type name="Extension" c:type="PeasExtension*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="extension_removed">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.h"
             line="64">Signal class handler for the
                  #PeasExtensionSet::extension-removed signal.</doc>
        <source-position filename="libpeas/peas-extension-set.h" line="87"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
          <parameter name="exten" transfer-ownership="none">
            <type name="Extension" c:type="PeasExtension*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="foreach"
              c:identifier="peas_extension_set_foreach"
              version="1.2">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.c"
             line="579">Calls @func for each #PeasExtension.</doc>
        <source-position filename="libpeas/peas-extension-set.h" line="136"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="581">A #PeasExtensionSet.</doc>
            <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="582">A function call for each extension.</doc>
            <type name="ExtensionSetForeachFunc"
                  c:type="PeasExtensionSetForeachFunc"/>
          </parameter>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="583">Optional data to be passed to the function or %NULL.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_extension"
              c:identifier="peas_extension_set_get_extension">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.c"
             line="441">Returns the #PeasExtension object corresponding to @info, or %NULL
if the plugin doesn't provide such an extension.</doc>
        <source-position filename="libpeas/peas-extension-set.h" line="141"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-set.c"
               line="449">a reference to a #PeasExtension or %NULL</doc>
          <type name="Extension" c:type="PeasExtension*"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="443">A #PeasExtensionSet</doc>
            <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="444">a #PeasPluginInfo</doc>
            <type name="PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
        </parameters>
      </method>
      <property name="construct-properties"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="engine"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="Engine"/>
      </property>
      <property name="extension-type"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="ExtensionSetPrivate" c:type="PeasExtensionSetPrivate*"/>
      </field>
      <glib:signal name="extension-added" when="last">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.c"
             line="357">The extension-added signal is emitted when a new extension has been
added to the #PeasExtensionSet. It happens when a new plugin implementing
the extension set's extension type is loaded.

You should connect to this signal in order to set up the extensions when
they are loaded. Note that this signal is not fired for extensions coming
from plugins that were already loaded when the #PeasExtensionSet instance
was created. You should set those up by yourself.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="360">A #PeasPluginInfo.</doc>
            <type name="PluginInfo"/>
          </parameter>
          <parameter name="exten" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="361">A #PeasExtension.</doc>
            <type name="GObject.Object"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="extension-removed" when="last">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.c"
             line="384">The extension-removed signal is emitted when a new extension is about to be
removed from the #PeasExtensionSet. It happens when a plugin implementing
the extension set's extension type is unloaded, or when the
#PeasExtensionSet itself is destroyed.

You should connect to this signal in order to clean up the extensions
when their plugin is unload. Note that this signal is not fired for the
#PeasExtension instances still available when the #PeasExtensionSet
instance is destroyed. You should clean those up by yourself.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="387">A #PeasPluginInfo.</doc>
            <type name="PluginInfo"/>
          </parameter>
          <parameter name="exten" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-extension-set.c"
                 line="388">A #PeasExtension.</doc>
            <type name="GObject.Object"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ExtensionSetClass"
            c:type="PeasExtensionSetClass"
            glib:is-gtype-struct-for="ExtensionSet">
      <doc xml:space="preserve"
           filename="libpeas/peas-extension-set.h"
           line="58">The class structure for #PeasExtensionSet.</doc>
      <source-position filename="libpeas/peas-extension-set.h" line="93"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.h"
             line="60">The parent class.</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="call">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.h"
             line="61">The VFunc for peas_extension_set_call().</doc>
        <callback name="call">
          <source-position filename="libpeas/peas-extension-set.h" line="74"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="set" transfer-ownership="none">
              <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
            </parameter>
            <parameter name="method_name" transfer-ownership="none">
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="args" transfer-ownership="none">
              <type name="GIRepository.Argument" c:type="GIArgument*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="extension_added">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.h"
             line="62">Signal class handler for the
                  #PeasExtensionSet::extension-added signal.</doc>
        <callback name="extension_added">
          <source-position filename="libpeas/peas-extension-set.h" line="84"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="set" transfer-ownership="none">
              <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
            </parameter>
            <parameter name="info" transfer-ownership="none">
              <type name="PluginInfo" c:type="PeasPluginInfo*"/>
            </parameter>
            <parameter name="exten" transfer-ownership="none">
              <type name="Extension" c:type="PeasExtension*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="extension_removed">
        <doc xml:space="preserve"
             filename="libpeas/peas-extension-set.h"
             line="64">Signal class handler for the
                  #PeasExtensionSet::extension-removed signal.</doc>
        <callback name="extension_removed">
          <source-position filename="libpeas/peas-extension-set.h" line="87"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="set" transfer-ownership="none">
              <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
            </parameter>
            <parameter name="info" transfer-ownership="none">
              <type name="PluginInfo" c:type="PeasPluginInfo*"/>
            </parameter>
            <parameter name="exten" transfer-ownership="none">
              <type name="Extension" c:type="PeasExtension*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding" readable="0" private="1">
        <array zero-terminated="0" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <callback name="ExtensionSetForeachFunc"
              c:type="PeasExtensionSetForeachFunc"
              version="1.2">
      <doc xml:space="preserve"
           filename="libpeas/peas-extension-set.h"
           line="95">This function is passed to peas_extension_set_foreach() and
will be called for each extension in @set.</doc>
      <source-position filename="libpeas/peas-extension-set.h" line="107"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="set" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-set.h"
               line="97">A #PeasExtensionSet.</doc>
          <type name="ExtensionSet" c:type="PeasExtensionSet*"/>
        </parameter>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-set.h"
               line="98">A #PeasPluginInfo.</doc>
          <type name="PluginInfo" c:type="PeasPluginInfo*"/>
        </parameter>
        <parameter name="exten" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-set.h"
               line="99">A #PeasExtension.</doc>
          <type name="Extension" c:type="PeasExtension*"/>
        </parameter>
        <parameter name="data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libpeas/peas-extension-set.h"
               line="100">Optional data passed to the function.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="ExtensionSetPrivate"
            c:type="PeasExtensionSetPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libpeas/peas-extension-set.h" line="44"/>
    </record>
    <callback name="FactoryFunc" c:type="PeasFactoryFunc">
      <doc xml:space="preserve"
           filename="libpeas/peas-object-module.h"
           line="47">A #PeasFactoryFunc is a factory function which will instanciate a new
extension of a given type. g_object_newv() is such a function.

It is used with peas_object_module_register_extension_factory().</doc>
      <source-position filename="libpeas/peas-object-module.h" line="60"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.h"
             line="58">The created object.</doc>
        <type name="GObject.Object" c:type="GObject*"/>
      </return-value>
      <parameters>
        <parameter name="n_parameters" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.h"
               line="49">The number of paramteters.</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="parameters" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.h"
               line="50">The parameters.</doc>
          <array length="0" zero-terminated="0" c:type="GParameter*">
            <type name="GObject.Parameter" c:type="GParameter"/>
          </array>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.h"
               line="51">Optional data to be passed to the function, or %NULL.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <function-macro name="IS_ACTIVATABLE"
                    c:identifier="PEAS_IS_ACTIVATABLE"
                    introspectable="0">
      <source-position filename="libpeas/peas-activatable.h" line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_ENGINE"
                    c:identifier="PEAS_IS_ENGINE"
                    introspectable="0">
      <source-position filename="libpeas/peas-engine.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_ENGINE_CLASS"
                    c:identifier="PEAS_IS_ENGINE_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-engine.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_EXTENSION"
                    c:identifier="PEAS_IS_EXTENSION"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension.h" line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_EXTENSION_BASE"
                    c:identifier="PEAS_IS_EXTENSION_BASE"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-base.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_EXTENSION_BASE_CLASS"
                    c:identifier="PEAS_IS_EXTENSION_BASE_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-base.h" line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_EXTENSION_SET"
                    c:identifier="PEAS_IS_EXTENSION_SET"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-set.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_EXTENSION_SET_CLASS"
                    c:identifier="PEAS_IS_EXTENSION_SET_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-extension-set.h" line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_OBJECT_MODULE"
                    c:identifier="PEAS_IS_OBJECT_MODULE"
                    introspectable="0">
      <source-position filename="libpeas/peas-object-module.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_OBJECT_MODULE_CLASS"
                    c:identifier="PEAS_IS_OBJECT_MODULE_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-object-module.h" line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="OBJECT_MODULE"
                    c:identifier="PEAS_OBJECT_MODULE"
                    introspectable="0">
      <source-position filename="libpeas/peas-object-module.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="OBJECT_MODULE_CLASS"
                    c:identifier="PEAS_OBJECT_MODULE_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-object-module.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="OBJECT_MODULE_GET_CLASS"
                    c:identifier="PEAS_OBJECT_MODULE_GET_CLASS"
                    introspectable="0">
      <source-position filename="libpeas/peas-object-module.h" line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="ObjectModule"
           c:symbol-prefix="object_module"
           c:type="PeasObjectModule"
           parent="GObject.TypeModule"
           glib:type-name="PeasObjectModule"
           glib:get-type="peas_object_module_get_type"
           glib:type-struct="ObjectModuleClass">
      <doc xml:space="preserve"
           filename="libpeas/peas-object-module.h"
           line="65">The #PeasObjectModule structure contains only private data and should only
be accessed using the provided API.</doc>
      <source-position filename="libpeas/peas-object-module.h" line="88"/>
      <implements name="GObject.TypePlugin"/>
      <constructor name="new"
                   c:identifier="peas_object_module_new"
                   introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="354">Creates a new #PeasObjectModule.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="93"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.c"
               line="362">a new #PeasObjectModule.</doc>
          <type name="ObjectModule" c:type="PeasObjectModule*"/>
        </return-value>
        <parameters>
          <parameter name="module_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="356">The module name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="357">The path.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="resident" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="358">If the module should be resident.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_embedded"
                   c:identifier="peas_object_module_new_embedded"
                   version="1.18"
                   introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="409">Creates a new #PeasObjectModule for an embedded plugin.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="102"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.c"
               line="415">a new #PeasObjectModule.</doc>
          <type name="ObjectModule" c:type="PeasObjectModule*"/>
        </return-value>
        <parameters>
          <parameter name="module_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="411">The module name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="symbol" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_full"
                   c:identifier="peas_object_module_new_full"
                   introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="379">Creates a new #PeasObjectModule.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="97"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.c"
               line="388">a new #PeasObjectModule.

Since 1.14</doc>
          <type name="ObjectModule" c:type="PeasObjectModule*"/>
        </return-value>
        <parameters>
          <parameter name="module_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="381">The module name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="382">The path.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="resident" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="383">If the module should be resident.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="local_linkage" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="384">Whether to load the module with local linkage.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="create_object"
              c:identifier="peas_object_module_create_object"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="434">Creates an object for the @exten_type passing @n_parameters
and @parameters to the #PeasFactoryFunc. If @module does
not provide a #PeasFactoryFunc for @exten_type then
%NULL is returned.

Since libpeas 1.22, @exten_type can be an Abstract #GType
and not just an Interface #GType.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="107"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.c"
               line="449">The created object, or %NULL.</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="module" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="436">A #PeasObjectModule.</doc>
            <type name="ObjectModule" c:type="PeasObjectModule*"/>
          </instance-parameter>
          <parameter name="exten_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="437">The #GType of the extension.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="n_parameters" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="438">The number of paramteters.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="parameters" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="439">The parameters.</doc>
            <array length="1" zero-terminated="0" c:type="GParameter*">
              <type name="GObject.Parameter" c:type="GParameter"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="get_library"
              c:identifier="peas_object_module_get_library"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="565">Gets the library.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="124"/>
        <return-value>
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.c"
               line="571">the library.</doc>
          <type name="GModule.Module" c:type="GModule*"/>
        </return-value>
        <parameters>
          <instance-parameter name="module" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="567">A #PeasObjectModule.</doc>
            <type name="ObjectModule" c:type="PeasObjectModule*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_module_name"
              c:identifier="peas_object_module_get_module_name"
              glib:get-property="module-name"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="527">Gets the module name.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.c"
               line="533">the module name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="module" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="529">A #PeasObjectModule.</doc>
            <type name="ObjectModule" c:type="PeasObjectModule*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_path"
              c:identifier="peas_object_module_get_path"
              glib:get-property="path"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="509">Gets the path.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="117"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.c"
               line="515">the path.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="module" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="511">A #PeasObjectModule.</doc>
            <type name="ObjectModule" c:type="PeasObjectModule*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_symbol"
              c:identifier="peas_object_module_get_symbol"
              glib:get-property="symbol"
              version="1.18"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="545">Gets the symbol name used to register extension implementations.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="121"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.c"
               line="551">the symbol name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="module" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="547">A #PeasObjectModule.</doc>
            <type name="ObjectModule" c:type="PeasObjectModule*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="provides_object"
              c:identifier="peas_object_module_provides_object"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="475">Determines if the module provides an extension for @exten_type.

Since libpeas 1.22, @exten_type can be an Abstract #GType
and not just an Interface #GType.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="113"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-object-module.c"
               line="485">if the module provides an extension for @exten_type.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="module" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="477">A #PeasObjectModule.</doc>
            <type name="ObjectModule" c:type="PeasObjectModule*"/>
          </instance-parameter>
          <parameter name="exten_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="478">The #GType of the extension.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="register_extension_factory"
              c:identifier="peas_object_module_register_extension_factory">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="583">Register an implementation for an extension type through a factory
function @factory_func which will instantiate the extension when
requested.

This method is primarily meant to be used by native bindings (like gtkmm),
creating native types which cannot be instantiated correctly using
g_object_new().  For other uses, you will usually prefer relying on
peas_object_module_register_extension_type().

Since libpeas 1.22, @exten_type can be an Abstract #GType
and not just an Interface #GType.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="127"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="module" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="585">Your plugin's #PeasObjectModule.</doc>
            <type name="ObjectModule" c:type="PeasObjectModule*"/>
          </instance-parameter>
          <parameter name="exten_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="586">The #GType of the extension you implement.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="factory_func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="2"
                     destroy="3">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="587">The #PeasFactoryFunc that will create the @exten_type
  instance when requested.</doc>
            <type name="FactoryFunc" c:type="PeasFactoryFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="589">Data to pass to @func calls.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy_func"
                     transfer-ownership="none"
                     scope="async">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="590">A #GDestroyNotify for @user_data.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="register_extension_type"
              c:identifier="peas_object_module_register_extension_type">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="655">Register @impl_type as an extension which implements @extension_type.

Since libpeas 1.22, @exten_type can be an Abstract #GType
and not just an Interface #GType.</doc>
        <source-position filename="libpeas/peas-object-module.h" line="134"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="module" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="657">Your plugin's #PeasObjectModule.</doc>
            <type name="ObjectModule" c:type="PeasObjectModule*"/>
          </instance-parameter>
          <parameter name="exten_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="658">The #GType of the extension you implement.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="impl_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-object-module.c"
                 line="659">The #GType of your implementation of @exten_type.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <property name="local-linkage"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.c"
             line="334">This property indicates whether the module is loaded with
local linkage, i.e. #G_MODULE_BIND_LOCAL.

Since 1.14</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="module-name"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_module_name"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="path"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_path"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="resident"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="symbol"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_symbol"
                default-value="peas_register_types">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="GObject.TypeModule" c:type="GTypeModule"/>
      </field>
      <field name="priv">
        <type name="ObjectModulePrivate" c:type="PeasObjectModulePrivate*"/>
      </field>
    </class>
    <record name="ObjectModuleClass"
            c:type="PeasObjectModuleClass"
            glib:is-gtype-struct-for="ObjectModule">
      <doc xml:space="preserve"
           filename="libpeas/peas-object-module.h"
           line="77">The class structure for #PeasObjectModule.</doc>
      <source-position filename="libpeas/peas-object-module.h" line="88"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="libpeas/peas-object-module.h"
             line="79">The parent class.</doc>
        <type name="GObject.TypeModuleClass" c:type="GTypeModuleClass"/>
      </field>
      <field name="padding" readable="0" private="1">
        <array zero-terminated="0" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="ObjectModulePrivate"
            c:type="PeasObjectModulePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libpeas/peas-object-module.h" line="44"/>
    </record>
    <function-macro name="PLUGIN_INFO"
                    c:identifier="PEAS_PLUGIN_INFO"
                    introspectable="0">
      <source-position filename="libpeas/peas-plugin-info.h" line="33"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <record name="PluginInfo"
            c:type="PeasPluginInfo"
            opaque="1"
            glib:type-name="PeasPluginInfo"
            glib:get-type="peas_plugin_info_get_type"
            c:symbol-prefix="plugin_info">
      <doc xml:space="preserve"
           filename="libpeas/peas-plugin-info.h"
           line="65">The #PeasPluginInfo structure contains only private data and should only
be accessed using the provided API.</doc>
      <source-position filename="libpeas/peas-plugin-info.h" line="71"/>
      <method name="get_authors" c:identifier="peas_plugin_info_get_authors">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="682">Gets a %NULL-terminated array of strings with the authors of the plugin.

The relevant key in the plugin info file is "Authors".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="110"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="690">the plugin's author list.</doc>
          <array c:type="const gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="684">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_copyright"
              c:identifier="peas_plugin_info_get_copyright">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="718">Gets the copyright of the plugin.

The relevant key in the plugin info file is "Copyright".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="114"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="726">the plugin's copyright information.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="720">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_data_dir" c:identifier="peas_plugin_info_get_data_dir">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="470">Gets the data dir of the plugin.

The module data directory is the directory where a plugin should find its
runtime data. This is not a value read from the #GKeyFile, but rather a
value provided by the #PeasEngine, depending on where the plugin file was
found.</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="93"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="481">the plugin's data dir.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="472">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_dependencies"
              c:identifier="peas_plugin_info_get_dependencies">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="566">Gets the dependencies of the plugin.

The #PeasEngine will always ensure that the dependencies of a plugin are
loaded when the said plugin is loaded. It means that dependencies are
loaded before the plugin, and unloaded after it. Circular dependencies of
plugins lead to undefined loading order.

The relevant key in the plugin info file is "Depends".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="98"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="579">the plugin's dependencies.</doc>
          <array c:type="const gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="568">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="peas_plugin_info_get_description">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="637">Gets the description of the plugin.

The description of the plugin should be a string presenting the purpose of
the plugin. It will typically be presented in a plugin's about box.

The relevant key in the plugin info file is "Description".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="106"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="648">the plugin's description.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="639">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_external_data"
              c:identifier="peas_plugin_info_get_external_data"
              version="1.6">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="778">Gets external data specified for the plugin.

External data is specified in the plugin info file prefixed with X-. For
example, if a key/value pair X-Peas=1 is specified in the key file, you
can use "Peas" for @key to retrieve the value "1".

Note: that you can omit the X- prefix when retrieving the value,
but not when specifying the value in the file.</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="121"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="792">the external data, or %NULL if the external data could not be found.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="780">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="781">The key to lookup.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_help_uri" c:identifier="peas_plugin_info_get_help_uri">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="754">Gets the help URI of the plugin.

The Help URI of a plugin will typically be presented by the plugin manager
as a "Help" button linking to the URI. It can either be a HTTP URL on some
website or a ghelp: URI if a Gnome help page is available for the plugin.

The relevant key in the plugin info file is "Help". Other platform-specific
keys exist for platform-specific help files. Those are "Help-GNOME",
"Help-Windows" and "Help-MacOS-X".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="118"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="768">the plugin's help URI.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="756">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon_name"
              c:identifier="peas_plugin_info_get_icon_name">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="658">Gets the icon name of the plugin.

The icon of the plugin will be presented in the plugin manager UI. If no
icon is specified, the default green puzzle icon will be used.

The relevant key in the plugin info file is "Icon".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="108"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="669">the plugin's icon name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="660">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_module_dir"
              c:identifier="peas_plugin_info_get_module_dir">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="450">Gets the module directory.

The module directory is the directory where the plugin file was found. This
is not a value from the #GKeyFile, but rather a value provided by the
#PeasEngine.</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="460">the module directory.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="452">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_module_name"
              c:identifier="peas_plugin_info_get_module_name">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="428">Gets the module name.

The module name will be used to find the actual plugin. The way this value
will be used depends on the loader (i.e. on the language) of the plugin.
This value is also used to uniquely identify a particular plugin.

The relevant key in the plugin info file is "Module".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="89"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="440">the module name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="430">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="peas_plugin_info_get_name">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="617">Gets the name of the plugin.

The name of a plugin should be a nice short string to be presented in UIs.

The relevant key in the plugin info file is "Name".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="104"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="627">the plugin's name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="619">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_settings"
              c:identifier="peas_plugin_info_get_settings"
              version="1.4">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="491">Creates a new #GSettings for the given @schema_id and if
gschemas.compiled is not in the module directory an attempt
will be made to create it.</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="95"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="500">a new #GSettings, or %NULL.</doc>
          <type name="Gio.Settings" c:type="GSettings*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="493">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
          <parameter name="schema_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="494">The schema id.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_version" c:identifier="peas_plugin_info_get_version">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="736">Gets the version of the plugin.

The relevant key in the plugin info file is "Version".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="116"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="744">the plugin's version.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="738">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_website" c:identifier="peas_plugin_info_get_website">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="700">Gets the website of the plugin.

The relevant key in the plugin info file is "Website".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="112"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="708">the plugin's associated website.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="702">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_dependency"
              c:identifier="peas_plugin_info_has_dependency">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="589">Check if the plugin depends on another plugin.</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="100"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="596">whether the plugin depends on the plugin @module_name.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="591">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
          <parameter name="module_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="592">The name of the plugin to check.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_available"
              c:identifier="peas_plugin_info_is_available"
              throws="1">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="351">Check if the plugin is available.

A plugin is marked as not available when there is no loader available to
load it, or when there has been an error when trying to load it previously.
If not available then @error will be set.</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="81"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="362">%TRUE if the plugin is available.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="353">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_builtin" c:identifier="peas_plugin_info_is_builtin">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="379">Check if the plugin is a builtin plugin.

A builtin plugin is a plugin which cannot be enabled or disabled by the
user through a plugin manager (like #PeasGtkPluginManager). Loading or
unloading such plugins is the responsibility of the application alone.
Most applications will usually load those plugins immediately after
the initialization of the #PeasEngine.

The relevant key in the plugin info file is "Builtin".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="84"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="393">%TRUE if the plugin is a builtin plugin, %FALSE
if not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="381">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_hidden" c:identifier="peas_plugin_info_is_hidden">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="404">Check if the plugin is a hidden plugin.

A hidden plugin is a plugin which cannot be seen by a
user through a plugin manager (like #PeasGtkPluginManager). Loading and
unloading such plugins is the responsibility of the application alone or
through plugins that depend on them.

The relevant key in the plugin info file is "Hidden".</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="86"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="417">%TRUE if the plugin is a hidden plugin, %FALSE
if not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="406">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_loaded" c:identifier="peas_plugin_info_is_loaded">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.c"
             line="335">Check if the plugin is loaded.</doc>
        <source-position filename="libpeas/peas-plugin-info.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libpeas/peas-plugin-info.c"
               line="341">%TRUE if the plugin is loaded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libpeas/peas-plugin-info.c"
                 line="337">A #PeasPluginInfo.</doc>
            <type name="PluginInfo" c:type="const PeasPluginInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="error_quark" c:identifier="peas_plugin_info_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </record>
    <enumeration name="PluginInfoError"
                 c:type="PeasPluginInfoError"
                 glib:error-domain="peas-plugin-info-error">
      <doc xml:space="preserve"
           filename="libpeas/peas-plugin-info.h"
           line="44">These identify the various errors that can occur while
loading a plugin.</doc>
      <source-position filename="libpeas/peas-plugin-info.h" line="63"/>
      <member name="loading_failed"
              value="0"
              c:identifier="PEAS_PLUGIN_INFO_ERROR_LOADING_FAILED">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.h"
             line="46">The plugin failed to load.</doc>
      </member>
      <member name="loader_not_found"
              value="1"
              c:identifier="PEAS_PLUGIN_INFO_ERROR_LOADER_NOT_FOUND">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.h"
             line="48">The plugin's loader was not found.</doc>
      </member>
      <member name="dep_not_found"
              value="2"
              c:identifier="PEAS_PLUGIN_INFO_ERROR_DEP_NOT_FOUND">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.h"
             line="50">A dependency of the plugin was not found.</doc>
      </member>
      <member name="dep_loading_failed"
              value="3"
              c:identifier="PEAS_PLUGIN_INFO_ERROR_DEP_LOADING_FAILED">
        <doc xml:space="preserve"
             filename="libpeas/peas-plugin-info.h"
             line="52">A dependency of the plugin failed to load.</doc>
      </member>
    </enumeration>
    <function-macro name="UNAVAILABLE"
                    c:identifier="PEAS_UNAVAILABLE"
                    introspectable="0">
      <source-position filename="libpeas/peas-version-macros.h" line="34"/>
      <parameters>
        <parameter name="maj">
        </parameter>
        <parameter name="min">
        </parameter>
      </parameters>
    </function-macro>
    <function name="cclosure_marshal_VOID__BOXED_OBJECT"
              c:identifier="peas_cclosure_marshal_VOID__BOXED_OBJECT">
      <source-position filename="libpeas/peas-marshal.h" line="10"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="closure" transfer-ownership="none">
          <type name="GObject.Closure" c:type="GClosure*"/>
        </parameter>
        <parameter name="return_value" transfer-ownership="none">
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="n_param_values" transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="param_values" transfer-ownership="none">
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="invocation_hint"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="marshal_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <docsection name="peas-activatable">
      <doc xml:space="preserve"
           filename="libpeas/peas-activatable.c"
           line="26">#PeasActivatable is an interface which should be implemented by plugins
that should be activated on an object of a certain type (depending on the
application). For instance, in a typical windowed application,
#PeasActivatable plugin instances could be bound to individual toplevel
windows.

It is typical to use #PeasActivatable along with #PeasExtensionSet in order
to activate and deactivate extensions automatically when plugins are loaded
or unloaded.

You can also use the code of this interface as a base for your own
extension types, as illustrated by gedit's %GeditWindowActivatable and
%GeditDocumentActivatable interfaces.</doc>
    </docsection>
    <docsection name="peas-engine">
      <doc xml:space="preserve"
           filename="libpeas/peas-engine.c"
           line="40">The #PeasEngine is the object which manages the plugins.

Its role is twofold:
&lt;itemizedlist&gt;
  &lt;listitem&gt;
    &lt;para&gt;it will fetch all the information about the available plugins
    from all the registered plugin directories;&lt;/para&gt;
  &lt;/listitem&gt;
  &lt;listitem&gt;
    &lt;para&gt;it will provide you an API to load, control and unload your
    plugins and their extensions from within your application.&lt;/para&gt;
  &lt;/listitem&gt;
&lt;/itemizedlist&gt;

Since libpeas 1.22, @extension_type can be an Abstract #GType
and not just an Interface #GType.</doc>
    </docsection>
    <docsection name="peas-extension">
      <doc xml:space="preserve"
           filename="libpeas/peas-extension.c"
           line="27">#PeasExtension is a proxy class used to access actual extensions
implemented using various languages.  As such, the application writer will
use #PeasExtension instances to call methods on extension provided by
loaded plugins.

To properly use the proxy instances, you will need GObject-introspection
data for the #GType you want to use as an extension point.
For instance, if you wish to use #PeasActivatable, you will need to
put the following code excerpt in the engine initialization code, in order
to load the required "Peas" typelib:

|[
g_irepository_require (g_irepository_get_default (),
                       "Peas", "1.0", 0, NULL);
]|

You should proceed the same way for any namespace which provides types
you want to use as extension points. GObject-introspection data is required
for all the supported languages, even for C.

#PeasExtension does not provide any way to access the underlying object.
The main reason is that some loaders may not rely on proper GObject
inheritance for the definition of extensions, and hence it would not be
possible for libpeas to provide a functional GObject instance at all.
Another reason is that it makes reference counting issues easier to deal
with.

See peas_extension_call() for more information.</doc>
    </docsection>
    <docsection name="peas-extension-base">
      <doc xml:space="preserve"
           filename="libpeas/peas-extension-base.c"
           line="28">#PeasExtensionBase can optionally be used as a base class for the extensions
of your plugin. By inheriting from it, you will make your extension able to
access the related #PeasPluginInfo, and especially the location where all
the data of your plugin lives.

Non-C extensions will usually not inherit from this class: Python
plugins automatically get a "plugin_info" attribute that serves
the same purpose.</doc>
    </docsection>
    <docsection name="peas-extension-set">
      <doc xml:space="preserve"
           filename="libpeas/peas-extension-set.c"
           line="34">A #PeasExtensionSet is an object which proxies method calls to a set
of actual extensions.  The application writer will use these objects
in order to call methods on several instances of an actual extension
exported by all the currently loaded plugins.

#PeasExtensionSet will automatically track loading and unloading of
the plugins, and signal appearance and disappearance of new
extension instances.  You should connect to those signals if you
wish to call specific methods on loading or unloading time.

Here is the code for a typical setup of #PeasExtensionSet with
#PeasActivatable as the watched extension point, and #GtkWindow
instances as the target objects:
|[
static void
on_extension_added (PeasExtensionSet *set,
                    PeasPluginInfo   *info,
                    PeasActivatable  *activatable)
{
  peas_activatable_activate (activatable);
}

static void
on_extension_removed (PeasExtensionSet *set,
                      PeasPluginInfo   *info,
                      PeasActivatable  *activatable)
{
  peas_activatable_deactivate (activatable);
}

PeasExtensionSet *
setup_extension_set (PeasEngine *engine,
                     GtkWindow  *window)
{
  PeasExtensionSet *set;

  set = peas_extension_set_new (engine, PEAS_TYPE_ACTIVATABLE,
                                "object", window, NULL);
  peas_extension_set_foreach (set,
                              (PeasExtensionSetForeachFunc) on_extension_added,
                              NULL);
  g_signal_connect (set, "extension-added",
                    G_CALLBACK (on_extension_added), NULL);
  g_signal_connect (set, "extension-removed",
                    G_CALLBACK (on_extension_removed), NULL);
  return set;
}
]|</doc>
    </docsection>
    <docsection name="peas-object-module">
      <doc xml:space="preserve"
           filename="libpeas/peas-object-module.c"
           line="33">#PeasObjectModule is a subclass of #GTypeModule which allows registration
of extensions.  It will be used by C extensions implementors to register
extension implementations from within the peas_register_types module
function.

Since libpeas 1.22, @extension_type can be an Abstract #GType
and not just an Interface #GType.</doc>
    </docsection>
    <docsection name="peas-plugin-info">
      <doc xml:space="preserve"
           filename="libpeas/peas-plugin-info.c"
           line="39">A #PeasPluginInfo contains all the information available about a plugin.

All this information comes from the related plugin info file, whose file
extension is ".plugin". Here is an example of such a plugin file, in the
#GKeyFile format:
|[
[Plugin]
Module=helloworld
Depends=foo;bar;baz
Loader=python3
Name=Hello World
Description=Displays "Hello World"
Authors=Steve Frécinaux &amp;lt;code@istique.net&amp;gt;
Copyright=Copyright © 2009-10 Steve Frécinaux
Website=https://wiki.gnome.org/Projects/Libpeas
Help=http://library.gnome.org/devel/libpeas/stable/
Hidden=false
]|</doc>
    </docsection>
    <function name="plugin_info_error_quark"
              c:identifier="peas_plugin_info_error_quark"
              moved-to="PluginInfo.error_quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
  </namespace>
</repository>
