Top |
#define | RYGEL_TYPE_PLUGIN |
struct | RygelPlugin |
struct | RygelPluginClass |
enum | RygelPluginCapabilities |
Plugin libraries should provide an object of this class or a subclass in their module_init()
function.
It is generally convenient to derive from RygelMediaRendererPlugin from librygel-renderer, or from RygelMediaServerPlugin from librygel-server.
Plugins may change their behaviour based on their configuration. See rygel_meta_config_get_default()
.
struct RygelPlugin { GUPnPResourceFactory parent_instance; RygelPluginPrivate * priv; };
This represents a Rygel plugin.
Plugin libraries should provide an object of this class or a subclass in their module_init()
function.
It is generally convenient to derive from RygelMediaRendererPlugin from librygel-renderer, or from RygelMediaServerPlugin from librygel-server.
Plugins may change their behaviour based on their configuration. See rygel_meta_config_get_default()
.
struct RygelPluginClass { GUPnPResourceFactoryClass parent_class; void (*apply_hacks) (RygelPlugin* self, RygelRootDevice* device, const gchar* description_path, GError** error); };
The class structure for RYGEL_TYPE_PLUGIN
. All the fields in this structure are private and should never be accessed directly.