|  |  |  | librygel-core Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
| RygelRootDeviceFactoryRygelRootDeviceFactory — This is a factory to create RygelRootDevice objects for a given UPnP context. | 
#define RYGEL_TYPE_ROOT_DEVICE_FACTORY RygelRootDevice * rygel_root_device_factory_create (RygelRootDeviceFactory *self,RygelPlugin *plugin,GError **error); RygelRootDeviceFactory * rygel_root_device_factory_new (GUPnPContext *context,GError **error); GUPnPContext * rygel_root_device_factory_get_context (RygelRootDeviceFactory *self); struct RygelRootDeviceFactory; struct RygelRootDeviceFactoryClass; enum RootDeviceFactoryError;
Call rygel_root_device_factory_create() with a plugin to create a root device for the plugin.
#define RYGEL_TYPE_ROOT_DEVICE_FACTORY (rygel_root_device_factory_get_type ())
The type for RygelRootDeviceFactory.
RygelRootDevice * rygel_root_device_factory_create (RygelRootDeviceFactory *self,RygelPlugin *plugin,GError **error);
| 
 | the RygelRootDeviceFactory instance | 
| 
 | location to store the error occuring, or NULLto ignore | 
RygelRootDeviceFactory * rygel_root_device_factory_new (GUPnPContext *context,GError **error);
| 
 | location to store the error occuring, or NULLto ignore | 
GUPnPContext *      rygel_root_device_factory_get_context
                                                        (RygelRootDeviceFactory *self);
Get and return the current value of the "context" property.
| 
 | the RygelRootDeviceFactory instance to query | 
| Returns : | the value of the "context" property | 
struct RygelRootDeviceFactory;
This is a factory to create RygelRootDevice objects for a given UPnP context.
Call rygel_root_device_factory_create() with a plugin to create a root device for the plugin.
struct RygelRootDeviceFactoryClass {
	GObjectClass parent_class;
};
The class structure for RYGEL_TYPE_ROOT_DEVICE_FACTORY. All the fields in this structure are private and should never be accessed directly.