| Top |  |  |  |  | 
| GUPnPRootDevice * | gupnp_root_device_new () | 
| GUPnPRootDevice * | gupnp_root_device_new_full () | 
| void | gupnp_root_device_set_available () | 
| gboolean | gupnp_root_device_get_available () | 
| const char * | gupnp_root_device_get_relative_location () | 
| const char * | gupnp_root_device_get_description_dir () | 
| const char * | gupnp_root_device_get_description_path () | 
| GSSDPResourceGroup * | gupnp_root_device_get_ssdp_resource_group () | 
| gboolean | available | Read / Write | 
| gchar * | description-dir | Read / Write / Construct Only | 
| GUPnPXMLDoc * | description-doc | Write / Construct Only | 
| gchar * | description-path | Read / Write / Construct Only | 
GUPnPRootDevice * gupnp_root_device_new (GUPnPContext *context,const char *description_path,const char *description_dir);
Create a new GUPnPRootDevice object, automatically loading and parsing
device description document from description_path
.
| context | The GUPnPContext | |
| description_path | Path to device description document. This could either
be an absolute path or path relative to  | |
| description_dir | Path to directory where description documents are provided. | 
GUPnPRootDevice * gupnp_root_device_new_full (GUPnPContext *context,GUPnPResourceFactory *factory,GUPnPXMLDoc *description_doc,const char *description_path,const char *description_dir);
Create a new GUPnPRootDevice, automatically loading and parsing
device description document from description_path
 if description_doc
 is
NULL.
| context | ||
| factory | ||
| description_doc | Device description document, or  | |
| description_path | Path to device description document. This could either
be an absolute path or path relative to  | |
| description_dir | Path to directory where description documents are provided. | 
void gupnp_root_device_set_available (GUPnPRootDevice *root_device,gboolean available);
Controls whether or not root_device
 is available (announcing
its presence).
gboolean
gupnp_root_device_get_available (GUPnPRootDevice *root_device);
Get whether or not root_device
 is available (announcing its presence).
const char *
gupnp_root_device_get_relative_location
                               (GUPnPRootDevice *root_device);
Get the relative location of root_device
.
const char *
gupnp_root_device_get_description_dir (GUPnPRootDevice *root_device);
Get the path to the directory containing description documents related to
root_device
.
const char *
gupnp_root_device_get_description_path
                               (GUPnPRootDevice *root_device);
Get the path to the device description document of root_device
.
GSSDPResourceGroup *
gupnp_root_device_get_ssdp_resource_group
                               (GUPnPRootDevice *root_device);
Get the GSSDPResourceGroup used by root_device
.
Since: 0.19.2
“available” property“available” gboolean
TRUE if this device is available.
Flags: Read / Write
Default value: FALSE
“description-dir” property“description-dir” gchar *
The path to directory where description documents are provided.
Flags: Read / Write / Construct Only
Default value: NULL
“description-doc” property“description-doc” GUPnPXMLDoc *
Device description document. Constructor property.
Flags: Write / Construct Only
Since: 0.13.0