| librygel-core Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
RygelV1HacksRygelV1Hacks — Various devices that need a downgrade to MediaServer:1 and ContentDirectory:1 because they ignore that higher versions are required to be backwards-compatible. |
#define RYGEL_TYPE_V1_HACKS void rygel_v1_hacks_apply_on_device (RygelV1Hacks *self,RygelRootDevice *device,const gchar *template_path,GError **error); RygelV1Hacks * rygel_v1_hacks_new (const gchar *device_type,gchar **service_types,int service_types_length1); const gchar * rygel_v1_hacks_get_device_type (RygelV1Hacks *self); void rygel_v1_hacks_set_device_type (RygelV1Hacks *self,const gchar *value); gchar ** rygel_v1_hacks_get_service_types (RygelV1Hacks *self,int *result_length1); struct RygelV1Hacks; struct RygelV1HacksClass;
"device-type" gchar* : Read / Write / Construct "service-types" GStrv : Read / Write / Construct Only
#define RYGEL_TYPE_V1_HACKS (rygel_v1_hacks_get_type ())
The type for RygelV1Hacks.
void rygel_v1_hacks_apply_on_device (RygelV1Hacks *self,RygelRootDevice *device,const gchar *template_path,GError **error);
|
the RygelV1Hacks instance |
|
|
|
|
|
location to store the error occuring, or NULL to ignore |
RygelV1Hacks * rygel_v1_hacks_new (const gchar *device_type,gchar **service_types,int service_types_length1);
|
length of the service_types array |
|
|
|
const gchar * rygel_v1_hacks_get_device_type (RygelV1Hacks *self);
Get and return the current value of the "device-type" property.
|
the RygelV1Hacks instance to query |
Returns : |
the value of the "device-type" property |
void rygel_v1_hacks_set_device_type (RygelV1Hacks *self,const gchar *value);
Set the value of the "device-type" property to value.
|
the RygelV1Hacks instance to modify |
|
the new value of the "device-type" property |
gchar ** rygel_v1_hacks_get_service_types (RygelV1Hacks *self,int *result_length1);
Get and return the current value of the "service-types" property.
|
the RygelV1Hacks instance to query |
Returns : |
the value of the "service-types" property |
struct RygelV1Hacks;
Various devices that need a downgrade to MediaServer:1 and ContentDirectory:1 because they ignore that higher versions are required to be backwards-compatible.
struct RygelV1HacksClass {
GObjectClass parent_class;
};
The class structure for RYGEL_TYPE_V1_HACKS. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |