parole-provider-plugin

parole-provider-plugin

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── ParoleProviderPlugin

Description

Functions

parole_provider_plugin_get_is_configurable ()

gboolean
parole_provider_plugin_get_is_configurable
                               (ParoleProviderPlugin *provider);

Check if the plugin is configurable.

Parameters

provider

a ParoleProviderPlugin

 

Returns

TRUE if the plugin is configurable, FALSE otherwise

Since: 0.2


parole_provider_plugin_configure ()

void
parole_provider_plugin_configure (ParoleProviderPlugin *provider,
                                  GtkWidget *parent);

Open the plugin configuration dialog.

Parameters

provider

a ParoleProviderPlugin

 

parent

a GtkWidget parent window

 

Since: 0.2


parole_provider_plugin_set_player ()

void
parole_provider_plugin_set_player (ParoleProviderPlugin *provider,
                                   ParoleProviderPlayer *player);

The player calls this method on the iface_init funtion implemented by the plugin to set the ParoleProviderPlayer, don't take any reference of the Player.

Parameters

provider

a ParoleProviderPlugin

 

player

a ParoleProviderPlayer

 

Since: 0.2

Types and Values

ParoleProviderPlugin

typedef struct _ParoleProviderPlugin ParoleProviderPlugin;

The methods of this interface should be overridden by the plugin, the Parole player calls these methods to determine if the plugin is configurable, to ask the plugin to open its configuration dialog or to set the ParoleProviderPlayer that the plugin can use to get access to various functionalities of the player.

Since: 0.2