Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GUPnPDIDLLiteCreateClass: GUPnP A/V Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GUPnP A/V Reference Manual">
<link rel="up" href="ch01.html" title="GUPnP A/V">
<link rel="prev" href="GUPnPDIDLLiteContributor.html" title="GUPnPDIDLLiteContributor">
<link rel="next" href="GUPnPLastChangeParser.html" title="GUPnPLastChangeParser">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#gupnp-av-GUPnPDIDLLiteCreateClass.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GUPnPDIDLLiteContributor.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GUPnPLastChangeParser.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gupnp-av-GUPnPDIDLLiteCreateClass"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gupnp-av-GUPnPDIDLLiteCreateClass.top_of_page"></a>GUPnPDIDLLiteCreateClass</span></h2>
<p>GUPnPDIDLLiteCreateClass — DIDL-Lite CreateClass</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gupnp-av-GUPnPDIDLLiteCreateClass.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-get-content" title="gupnp_didl_lite_create_class_get_content ()">gupnp_didl_lite_create_class_get_content</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-set-content" title="gupnp_didl_lite_create_class_set_content ()">gupnp_didl_lite_create_class_set_content</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-get-include-derived" title="gupnp_didl_lite_create_class_get_include_derived ()">gupnp_didl_lite_create_class_get_include_derived</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-set-include-derived" title="gupnp_didl_lite_create_class_set_include_derived ()">gupnp_didl_lite_create_class_set_include_derived</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-get-friendly-name" title="gupnp_didl_lite_create_class_get_friendly_name ()">gupnp_didl_lite_create_class_get_friendly_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-set-friendly-name" title="gupnp_didl_lite_create_class_set_friendly_name ()">gupnp_didl_lite_create_class_set_friendly_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">xmlNode</span> *
</td>
<td class="function_name">
<a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-get-xml-node" title="gupnp_didl_lite_create_class_get_xml_node ()">gupnp_didl_lite_create_class_get_xml_node</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gupnp-av-GUPnPDIDLLiteCreateClass.description"></a><h2>Description</h2>
<p><span class="type">GUPnPDIDLLiteCreateClass</span> respresents a DIDL-Lite create class element.</p>
</div>
<div class="refsect1">
<a name="gupnp-av-GUPnPDIDLLiteCreateClass.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gupnp-didl-lite-create-class-get-content"></a><h3>gupnp_didl_lite_create_class_get_content ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
gupnp_didl_lite_create_class_get_content
                               (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>);</pre>
<p>Get the content of the <em class="parameter"><code>create_class</code></em>
.</p>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-get-content.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>create_class</p></td>
<td class="parameter_description"><p><span class="type">GUPnPDIDLLiteCreateClass</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-get-content.returns"></a><h4>Returns</h4>
<p> The Content of the <em class="parameter"><code>create_class</code></em>
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gupnp-didl-lite-create-class-set-content"></a><h3>gupnp_didl_lite_create_class_set_content ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gupnp_didl_lite_create_class_set_content
                               (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *content</code></em>);</pre>
<p>Set the content of the <em class="parameter"><code>create_class</code></em>
.</p>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-set-content.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>create_class</p></td>
<td class="parameter_description"><p><span class="type">GUPnPDIDLLiteCreateClass</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>content</p></td>
<td class="parameter_description"><p>The content</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gupnp-didl-lite-create-class-get-include-derived"></a><h3>gupnp_didl_lite_create_class_get_include_derived ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gupnp_didl_lite_create_class_get_include_derived
                               (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>);</pre>
<p>Checks whether <em class="parameter"><code>create_class</code></em>
 can be derived.</p>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-get-include-derived.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>create_class</p></td>
<td class="parameter_description"><p><span class="type">GUPnPDIDLLiteCreateClass</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-get-include-derived.returns"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if <em class="parameter"><code>create_class</code></em>
can be derived.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gupnp-didl-lite-create-class-set-include-derived"></a><h3>gupnp_didl_lite_create_class_set_include_derived ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gupnp_didl_lite_create_class_set_include_derived
                               (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>,
                                <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> include_derived</code></em>);</pre>
<p>(Un)set the derivability of create_class.</p>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-set-include-derived.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>create_class</p></td>
<td class="parameter_description"><p><span class="type">GUPnPDIDLLiteCreateClass</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>include_derived</p></td>
<td class="parameter_description"><p>the derivability</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gupnp-didl-lite-create-class-get-friendly-name"></a><h3>gupnp_didl_lite_create_class_get_friendly_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
gupnp_didl_lite_create_class_get_friendly_name
                               (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>);</pre>
<p>Get the friendly name of the <em class="parameter"><code>create_class</code></em>
.</p>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-get-friendly-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>create_class</p></td>
<td class="parameter_description"><p><span class="type">GUPnPDIDLLiteCreateClass</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-get-friendly-name.returns"></a><h4>Returns</h4>
<p> The FriendlyName of the <em class="parameter"><code>create_class</code></em>
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gupnp-didl-lite-create-class-set-friendly-name"></a><h3>gupnp_didl_lite_create_class_set_friendly_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gupnp_didl_lite_create_class_set_friendly_name
                               (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *friendly_name</code></em>);</pre>
<p>Set the friendly name of the <em class="parameter"><code>create_class</code></em>
.</p>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-set-friendly-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>create_class</p></td>
<td class="parameter_description"><p><span class="type">GUPnPDIDLLiteCreateClass</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>friendly_name</p></td>
<td class="parameter_description"><p>The friendly name</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gupnp-didl-lite-create-class-get-xml-node"></a><h3>gupnp_didl_lite_create_class_get_xml_node ()</h3>
<pre class="programlisting"><span class="returnvalue">xmlNode</span> *
gupnp_didl_lite_create_class_get_xml_node
                               (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>);</pre>
<p>Get the pointer to relevant node in XML document.</p>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-get-xml-node.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>create_class</p></td>
<td class="parameter_description"><p>The <span class="type">GUPnPDIDLLiteCreateClass</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gupnp-didl-lite-create-class-get-xml-node.returns"></a><h4>Returns</h4>
<p> The pointer to relevant node in XML document. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="gupnp-av-GUPnPDIDLLiteCreateClass.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>