ParoleProviderPlugin

ParoleProviderPlugin

Synopsis

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

Description

Details

struct ParoleProviderPluginIface

struct ParoleProviderPluginIface {
    GTypeInterface 	__parent__;
    
    gboolean	   	 (*get_is_configurable)			(ParoleProviderPlugin *provider);
    
    void		 (*configure)				(ParoleProviderPlugin *provider,
								 GtkWidget *parent);
								 
    void		 (*set_player)				(ParoleProviderPlugin *provider,
								 ParoleProviderPlayer *player);
};


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_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_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