Constructor
PurplePluginInfonew
unstable since: 3.0
Declaration [src]
GPluginPluginInfo*
purple_plugin_info_new (
const char* first_property,
...
)
Description [src]
Creates a new PurplePluginInfo
instance to be returned from
plugin_query of a plugin, using the provided name/value pairs.
All properties except
Valid property names are:
NULL
-terminated list of
plugin authors. format: First Last <user`domain.com></entry>
</row>
<row><entry><literal>"website"</literal></entry>
<entry>(string) Website of the plugin.</entry>
</row>
<row><entry><literal>"icon"</literal></entry>
<entry>(string) Path to a plugin's icon.</entry>
</row>
<row><entry><literal>"license-id"</literal></entry>
<entry>(string) Short name of the plugin's license. This should
either be an identifier of the license from
<ulink url="http://dep.debian.net/deps/dep5/#license-specification">
DEP5</ulink> or "Other" for custom licenses.</entry>
</row>
<row><entry><literal>"license-text"</literal></entry>
<entry>(string) The text of the plugin's license, if unlisted on
DEP5.</entry>
</row>
<row><entry><literal>"license-url"</literal></entry>
<entry>(string) The plugin's license URL, if unlisted on DEP5.</entry>
</row>
<row><entry><literal>"dependencies"</literal></entry>
<entry>(<type>const gchar * const *</type>) A
NULL-terminated list of
plugin IDs required by the plugin.</entry>
</row>
<row><entry><literal>"flags"</literal></entry>
<entry>(
PurplePluginInfoFlags`) The flags for a plugin.
See #PURPLE_PLUGIN_ABI_VERSION, Plugin IDs.
Available since: 3.0
This constructor is not directly available to language bindings.
Parameters
first_property
-
Type:
const char*
The first property name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. ...
-
Type:
The value of the first property, followed optionally by more name/value pairs, followed by
NULL
.
Return value
Type: GPluginPluginInfo
A new PurplePluginInfo
instance.
The caller of the function takes ownership of the data, and is responsible for freeing it. |