GUPnPDIDLLiteContributor

GUPnPDIDLLiteContributor — DIDL-Lite Contributor

Functions

Properties

gchar * name Read / Write
gchar * role Read / Write
GUPnPAVXMLDoc * xml-doc Write / Construct Only
gpointer xml-node Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GUPnPDIDLLiteContributor

Description

GUPnPDIDLLiteContributor respresents a contributor (artist, author, actor, producer, director, producer and contributor) property in a DIDL-Lite object.

Functions

gupnp_didl_lite_contributor_get_xml_node ()

xmlNode *
gupnp_didl_lite_contributor_get_xml_node
                               (GUPnPDIDLLiteContributor *contributor);

Get the pointer to relevant node in XML document.

Parameters

contributor

The GUPnPDIDLLiteContributor

 

Returns

The pointer to relevant node in XML document.

[transfer none]


gupnp_didl_lite_contributor_get_role ()

const char *
gupnp_didl_lite_contributor_get_role (GUPnPDIDLLiteContributor *contributor);

Get the role of the contributor .

Parameters

contributor

GUPnPDIDLLiteContributor

 

Returns

The role of the contributor , or NULL.


gupnp_didl_lite_contributor_get_name ()

const char *
gupnp_didl_lite_contributor_get_name (GUPnPDIDLLiteContributor *contributor);

Get the name of the contributor .

Parameters

contributor

A GUPnPDIDLLiteContributor

 

Returns

The name of the contributor or NULL.


gupnp_didl_lite_contributor_set_role ()

void
gupnp_didl_lite_contributor_set_role (GUPnPDIDLLiteContributor *contributor,
                                      const char *role);

Set the role of the contributor to role .

Parameters

contributor

GUPnPDIDLLiteContributor

 

role

The role of the contributor

 

gupnp_didl_lite_contributor_set_name ()

void
gupnp_didl_lite_contributor_set_name (GUPnPDIDLLiteContributor *contributor,
                                      const char *name);

Set the name of the contributor to name .

Parameters

contributor

A GUPnPDIDLLiteContributor

 

name

The name of the contributor

 

Types and Values

GUPnPDIDLLiteContributor

typedef struct _GUPnPDIDLLiteContributor GUPnPDIDLLiteContributor;

Property Details

The “name” property

  “name”                     gchar *

The name of this contributor.

Flags: Read / Write

Default value: NULL


The “role” property

  “role”                     gchar *

The role of this contributor.

Flags: Read / Write

Default value: NULL


The “xml-doc” property

  “xml-doc”                  GUPnPAVXMLDoc *

The reference to XML document containing this object.

Internal property.

Flags: Write / Construct Only

Stability Level: Private


The “xml-node” property

  “xml-node”                 gpointer

The pointer to object node in XML document.

Flags: Read / Write / Construct Only