| librygel-core Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
RygelPluginRygelPlugin — Represents a Rygel plugin. Plugins are supposed to provide an object of this class or a subclass. |
#define RYGEL_TYPE_PLUGIN void rygel_plugin_add_resource (RygelPlugin *self,RygelResourceInfo *resource_info); void rygel_plugin_add_icon (RygelPlugin *self,RygelIconInfo *icon_info); void rygel_plugin_apply_hacks (RygelPlugin *self,RygelRootDevice *device,const gchar *description_path,GError **error); RygelPlugin * rygel_plugin_new (const gchar *desc_path,const gchar *name,const gchar *title,const gchar *description); gboolean rygel_plugin_get_active (RygelPlugin *self); void rygel_plugin_set_active (RygelPlugin *self,gboolean value); struct RygelPlugin;
void rygel_plugin_add_resource (RygelPlugin *self,RygelResourceInfo *resource_info);
|
the RygelPlugin instance |
void rygel_plugin_add_icon (RygelPlugin *self,RygelIconInfo *icon_info);
|
the RygelPlugin instance |
void rygel_plugin_apply_hacks (RygelPlugin *self,RygelRootDevice *device,const gchar *description_path,GError **error);
|
the RygelPlugin instance |
|
location to store the error occuring, or NULL to ignore |
RygelPlugin * rygel_plugin_new (const gchar *desc_path,const gchar *name,const gchar *title,const gchar *description);
gboolean rygel_plugin_get_active (RygelPlugin *self);
|
the RygelPlugin instance to query |
Returns : |
the value of the "active" property |
void rygel_plugin_set_active (RygelPlugin *self,gboolean value);
|
the RygelPlugin instance to modify |
|
the new value of the "active" property |