ParoleProviderPlugin

ParoleProviderPlugin — The interface of the plugin type registration.

Synopsis

                    ParoleProviderPlugin;
gboolean            parole_provider_plugin_get_is_configurable
                                                        (ParoleProviderPlugin *provider);
void                parole_provider_plugin_configure    (ParoleProviderPlugin *provider,
                                                         GtkWidget *parent);
void                parole_provider_plugin_set_player   (ParoleProviderPlugin *provider,
                                                         ParoleProviderPlayer *player);

Object Hierarchy

  GInterface
   +----ParoleProviderPlugin

Description

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.

Details

ParoleProviderPlugin

typedef struct _ParoleProviderPlugin ParoleProviderPlugin;


parole_provider_plugin_get_is_configurable ()

gboolean            parole_provider_plugin_get_is_configurable
                                                        (ParoleProviderPlugin *provider);

Get if the plugin is configurable.

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

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.

provider :

a ParoleProviderPlugin

player :

a ParoleProviderPlayer

Since 0.2

See Also

ParoleProviderPlayer.