| 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. |
Synopsis
#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;
Description
Call rygel_root_device_factory_create() with a plugin to create a root device for the plugin.
Details
RYGEL_TYPE_ROOT_DEVICE_FACTORY
#define RYGEL_TYPE_ROOT_DEVICE_FACTORY (rygel_root_device_factory_get_type ())
The type for RygelRootDeviceFactory.
rygel_root_device_factory_create ()
RygelRootDevice * rygel_root_device_factory_create (RygelRootDeviceFactory *self,RygelPlugin *plugin,GError **error);
|
the RygelRootDeviceFactory instance |
|
|
|
location to store the error occuring, or NULL to ignore |
rygel_root_device_factory_new ()
RygelRootDeviceFactory * rygel_root_device_factory_new (GUPnPContext *context,GError **error);
|
|
|
location to store the error occuring, or NULL to ignore |
rygel_root_device_factory_get_context ()
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
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
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.
GObjectClass |
the parent class structure |
