Class
PurpleProtocol
unstable since: 3.0
Instance methods
purple_protocol_can_connect_async
Asks protocol
if it can determine if account
can be connected.
unstable since: 3.0
purple_protocol_can_connect_finish
This should be called from the callback of
purple_protocol_can_connect_async()
to get the result of the call.
unstable since: 3.0
purple_protocol_get_icon_name
Gets the name of the icon that the protocol made available via either
purple_protocol_get_icon_search_path()
or purple_protocol_get_resource_path().
unstable since: 3.0
purple_protocol_get_icon_resource_path
Gets the icon resource path for protocol
. This is used to make icons that
have been embedded into a plugin available to libpurple. The returned value
should be the path of where the icons are in the resource. See
gtk_icon_theme_add_resource_path()
for additional information.
unstable since: 3.0
purple_protocol_get_icon_search_path
Gets the icon search path for protocol
. This is used to allow protocol
plugins to install their icons in any XDG icon theme compliant directory.
The returned value should be the path of where the icons are on disk. See
gtk_icon_theme_add_search_path()
for additional information.
unstable since: 3.0
Properties
Purple.Protocol:description
The description to show in user interface for the protocol.
unstable since: 3.0
Purple.Protocol:icon-name
The name of an icon that has been installed to either the path specified via PurpleProtocol::icon-search-path or PurpleProtocol::icon-resource-path.
unstable since: 3.0
Purple.Protocol:icon-resource-path
A GResource
path which contains the icons for the protocol. See
purple_protocol_get_icon_resource_path()
for more information.
unstable since: 3.0
Purple.Protocol:icon-search-path
The path to an XDG Icon Theme directory which contains the icons for the
protocol. See purple_protocol_get_icon_search_path()
for more information.
unstable since: 3.0
Class structure
Virtual methods
Purple.ProtocolClass.can_connect_async
Asks protocol
if it can determine if account
can be connected.
unstable since: 3.0
Purple.ProtocolClass.can_connect_finish
This should be called from the callback of
purple_protocol_can_connect_async()
to get the result of the call.
unstable since: 3.0
Purple.ProtocolClass.get_account_options
Gets the account options for a protocol.
unstable since: 3.0