| 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; struct RygelPluginClass;
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);
Get and return the current value of the "active" property.
|
the RygelPlugin instance to query |
Returns : |
the value of the "active" property |
void rygel_plugin_set_active (RygelPlugin *self,gboolean value);
Set the value of the "active" property to value.
|
the RygelPlugin instance to modify |
|
the new value of the "active" property |
struct RygelPlugin;
Represents a Rygel plugin. Plugins are supposed to provide an object of this class or a subclass.
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.
| the parent class structure | |
virtual method called by
|