Top |
RygelMediaRendererPluginRygelMediaRendererPlugin — This is the base class for every Rygel UPnP renderer plugin. |
Functions
Types and Values
#define | RYGEL_TYPE_MEDIA_RENDERER_PLUGIN |
struct | RygelMediaRendererPlugin |
struct | RygelMediaRendererPluginClass |
Description
This class is useful when implementing Rygel renderer plugins.
Renderer plugins should also implement their own RygelMediaPlayer and return an instance of it from their get_player()
implementation.
Functions
rygel_media_renderer_plugin_get_player ()
RygelMediaPlayer *
rygel_media_renderer_plugin_get_player
(RygelMediaRendererPlugin *self
);
rygel_media_renderer_plugin_get_protocol_info ()
gchar *
rygel_media_renderer_plugin_get_protocol_info
(RygelMediaRendererPlugin *self
);
rygel_media_renderer_plugin_new ()
RygelMediaRendererPlugin * rygel_media_renderer_plugin_new (const gchar *name
,const gchar *title
,const gchar *description
,RygelPluginCapabilities capabilities
);
Create an instance of the plugin.
Parameters
name |
. The non-human-readable name for the plugin and its renderer, used in UPnP messages and in the Rygel configuration file. . |
[in] |
title |
. An optional human-readable name (friendlyName) of the UPnP renderer provided by the plugin. If the title is empty then the name will be used. . |
[in][allow-none] |
description |
. An optional human-readable description (modelDescription) of the UPnP renderer provided by the plugin. . |
[in][allow-none] |
capabilities |
|
rygel_media_renderer_plugin_get_supported_profiles ()
GList *
rygel_media_renderer_plugin_get_supported_profiles
(RygelMediaRendererPlugin *self
);
Get and return the current value of the "supported-profiles" property.
rygel_media_renderer_plugin_set_supported_profiles ()
void rygel_media_renderer_plugin_set_supported_profiles (RygelMediaRendererPlugin *self
,GList *value
);
Set the value of the "supported-profiles" property to value
.
Parameters
self |
the RygelMediaRendererPlugin instance to modify |
|
value |
the new value of the "supported-profiles" property |
Types and Values
RYGEL_TYPE_MEDIA_RENDERER_PLUGIN
#define RYGEL_TYPE_MEDIA_RENDERER_PLUGIN (rygel_media_renderer_plugin_get_type ())
The type for RygelMediaRendererPlugin.
struct RygelMediaRendererPlugin
struct RygelMediaRendererPlugin;
This is the base class for every Rygel UPnP renderer plugin.
This class is useful when implementing Rygel renderer plugins.
Renderer plugins should also implement their own RygelMediaPlayer and return an instance of it from their get_player()
implementation.
struct RygelMediaRendererPluginClass
struct RygelMediaRendererPluginClass { RygelPluginClass parent_class; RygelMediaPlayer* (*get_player) (RygelMediaRendererPlugin* self); RygelPlayerController* (*get_controller) (RygelMediaRendererPlugin* self); };
The class structure for RYGEL_TYPE_MEDIA_RENDERER_PLUGIN
. All the fields in this structure are private and should never be accessed directly.
Property Details
The “supported-profiles”
property
“supported-profiles” gpointer
supported-profiles.
Flags: Read / Write / Construct