+0.12.2
+======
+
+Changes since 0.12.1:
+- Fix VAPI generation if GObject-introspection version is >= 1.36.
+- Fix vala bindings for LastChangeParser.parse_last_change.
+- Small improvement to resource matching.
+- Fix DIDLLiteContainer.get_total_deleted_child_count return value.
+- Fix compiling with -Wall -Werror.
+- Fix gtk-doc warnings.
+
+All contributors to this release:
+ Jens Georg <mail@jensge.org>
+ Ludovic Ferrandis <ludovic.ferrandis@intel.com>
+
+0.12.1
+======
+
+Changes since 0.12.0:
+- Fix compiler warnings.
+- Update .gitignore.
+
+All contributors to this release:
+ Andreas Henriksson <andreas@fatal.se>
+ Krzesimir Nowak <qdlacz@gmail.com>
+
0.12.0
======
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gupnp-av 0.12.0.
+# Generated by GNU Autoconf 2.69 for gupnp-av 0.12.2.
#
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP>.
#
# Identity of this package.
PACKAGE_NAME='gupnp-av'
PACKAGE_TARNAME='gupnp-av'
-PACKAGE_VERSION='0.12.0'
-PACKAGE_STRING='gupnp-av 0.12.0'
+PACKAGE_VERSION='0.12.2'
+PACKAGE_STRING='gupnp-av 0.12.2'
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP'
PACKAGE_URL='http://www.gupnp.org/'
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures gupnp-av 0.12.0 to adapt to many kinds of systems.
+\`configure' configures gupnp-av 0.12.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of gupnp-av 0.12.0:";;
+ short | recursive ) echo "Configuration of gupnp-av 0.12.2:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-gupnp-av configure 0.12.0
+gupnp-av configure 0.12.2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by gupnp-av $as_me 0.12.0, which was
+It was created by gupnp-av $as_me 0.12.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='gupnp-av'
- VERSION='0.12.0'
+ VERSION='0.12.2'
cat >>confdefs.h <<_ACEOF
# vapigen
+have_vapigen=no
if test "x$found_introspection" = "xyes"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether G-I is 1.36 or newer" >&5
+$as_echo_n "checking whether G-I is 1.36 or newer... " >&6; }
+ VAPIGEN_MIN_VERSION=0.14
+ if pkg-config --atleast-version=1.36.0 gobject-introspection-1.0; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ VAPIGEN_MIN_VERSION=0.20
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+fi
# Extract the first word of "vapigen", so it can be a program name with args.
set dummy vapigen; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
$as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
else
- if test -n "0.14"; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version 0.14" >&5
-$as_echo_n "checking $VAPIGEN is at least version 0.14... " >&6; }
+ if test -n "$VAPIGEN_MIN_VERSION"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION" >&5
+$as_echo_n "checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION... " >&6; }
am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator *//'`
- as_arg_v1=0.14
+ as_arg_v1=$VAPIGEN_MIN_VERSION
as_arg_v2="$am__vapigen_version"
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
case $? in #(
2) :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator 0.14 not found." >&5
-$as_echo "$as_me: WARNING: Vala API Generator 0.14 not found." >&2;} ;; #(
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&5
+$as_echo "$as_me: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&2;}
+ VAPIGEN=""
+ ;; #(
*) :
;;
esac
fi
+if test "x$VAPIGEN" != "x"; then :
+ have_vapigen=yes
+fi
if test "x$VAPIGEN" != "x"; then
HAVE_VAPIGEN_TRUE=
HAVE_VAPIGEN_FALSE='#'
-
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
set dummy gtkdoc-check; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by gupnp-av $as_me 0.12.0, which was
+This file was extended by gupnp-av $as_me 0.12.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-gupnp-av config.status 0.12.0
+gupnp-av config.status 0.12.2
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
+
+echo "
+ ${PACKAGE} ${VERSION}
+ ---------------------
+
+ Prefix: ${prefix}
+ GObject-Introspection: ${found_introspection}
+ VALA bindings: ${have_vapigen}
+"
AC_PREREQ([2.63])
AC_INIT([gupnp-av],
- [0.12.0],
+ [0.12.2],
[https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP],
[gupnp-av],
[http://www.gupnp.org/])
GOBJECT_INTROSPECTION_CHECK([0.9.5])
# vapigen
+have_vapigen=no
AS_IF([test "x$found_introspection" = "xyes"],
[
- VALA_PROG_VAPIGEN([0.14])
+ dnl output of g-i >= 1.36.0 needs vapigen >= 0.20 to process
+ AC_MSG_CHECKING([whether G-I is 1.36 or newer])
+ VAPIGEN_MIN_VERSION=0.14
+ AS_IF([pkg-config --atleast-version=1.36.0 gobject-introspection-1.0],
+ [
+ AC_MSG_RESULT([yes])
+ VAPIGEN_MIN_VERSION=0.20
+ ],[AC_MSG_RESULT([no])]
+ )
+ GUPNP_PROG_VAPIGEN([$VAPIGEN_MIN_VERSION])
]
)
+AS_IF([test "x$VAPIGEN" != "x"], [have_vapigen=yes])
AM_CONDITIONAL([HAVE_VAPIGEN], [test "x$VAPIGEN" != "x"])
-
GTK_DOC_CHECK([1.10],[--flavour no-tmpl])
AC_CONFIG_FILES([
gupnp-av-1.0-uninstalled.pc
])
AC_OUTPUT
+
+echo "
+ ${PACKAGE} ${VERSION}
+ ---------------------
+
+ Prefix: ${prefix}
+ GObject-Introspection: ${found_introspection}
+ VALA bindings: ${have_vapigen}
+"
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
IGNORE_HFILES= \
xml-util.h \
+ xsd-data.h \
+ fragment-util.h \
gvalue-util.h \
gupnp-av-marshal.h \
gupnp-didl-lite-contributor-private.h \
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
IGNORE_HFILES = \
xml-util.h \
+ xsd-data.h \
+ fragment-util.h \
gvalue-util.h \
gupnp-av-marshal.h \
gupnp-didl-lite-contributor-private.h \
gupnp_didl_lite_object_get_track_number_xml_string
gupnp_didl_lite_object_get_update_id
gupnp_didl_lite_object_get_upnp_class_xml_string
+gupnp_didl_lite_object_get_xml_string
gupnp_didl_lite_object_set_update_id
gupnp_didl_lite_object_unset_artists
gupnp_didl_lite_object_unset_update_id
<SECTION>
<FILE>gupnp-didl-lite-create-class</FILE>
<TITLE>GUPnPDIDLLiteCreateClass</TITLE>
-GUPnPDIDLLiteCreateClass
gupnp_didl_lite_create_class_get_content
gupnp_didl_lite_create_class_set_content
gupnp_didl_lite_create_class_get_include_derived
GUPNP_IS_DIDL_LITE_CREATE_CLASS_CLASS
GUPNP_TYPE_DIDL_LITE_CREATE_CLASS
<SUBSECTION Private>
+GUPnPDIDLLiteCreateClass
GUPnPDIDLLiteCreateClassPrivate
gupnp_didl_lite_create_class_get_type
</SECTION>
GUPNP_CDS_LAST_CHANGE_EVENT_ST_DONE
} GUPnPCDSLastChangeEvent;
</pre>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><a name="GUPNP-CDS-LAST-CHANGE-EVENT-INVALID:CAPS"></a><span class="term"><code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_INVALID</code></span></p></td>
+<td>Invalid <a class="link" href="GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeEntry"><span class="type">GUPnPCDSLastChangeEntry</span></a>.
+</td>
+</tr>
+<tr>
+<td><p><a name="GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-ADDED:CAPS"></a><span class="term"><code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_ADDED</code></span></p></td>
+<td>The <a class="link" href="GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeEntry"><span class="type">GUPnPCDSLastChangeEntry</span></a> is
+an object added event.
+</td>
+</tr>
+<tr>
+<td><p><a name="GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-REMOVED:CAPS"></a><span class="term"><code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_REMOVED</code></span></p></td>
+<td>The <a class="link" href="GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeEntry"><span class="type">GUPnPCDSLastChangeEntry</span></a>
+is an object removal event.
+</td>
+</tr>
+<tr>
+<td><p><a name="GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-MODIFIED:CAPS"></a><span class="term"><code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_MODIFIED</code></span></p></td>
+<td>The <a class="link" href="GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeEntry"><span class="type">GUPnPCDSLastChangeEntry</span></a>
+is an object modification event.
+</td>
+</tr>
+<tr>
+<td><p><a name="GUPNP-CDS-LAST-CHANGE-EVENT-ST-DONE:CAPS"></a><span class="term"><code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_ST_DONE</code></span></p></td>
+<td>The <a class="link" href="GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeEntry"><span class="type">GUPnPCDSLastChangeEntry</span></a> is a
+subtree update done event.
+</td>
+</tr>
+</tbody>
+</table></div>
</div>
<hr>
<div class="refsect2">
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td>
<td>An event from the <a class="link" href="GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeEvent" title="enum GUPnPCDSLastChangeEvent"><span class="type">GUPnPCDSLastChangeEvent</span></a> or
-<code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_INVALID</code> if the entry is not valid.</td>
+<a class="link" href="GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-INVALID:CAPS"><code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_INVALID</code></a> if the entry is not valid.</td>
</tr>
</tbody>
</table></div>
<p>
Get the parent object id of the object in this change entry. This is only
valid if <a class="link" href="GUPnPCDSLastChangeParser.html#gupnp-cds-last-change-entry-get-event" title="gupnp_cds_last_change_entry_get_event ()"><code class="function">gupnp_cds_last_change_entry_get_event()</code></a> returns
-<code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_ADDED</code>.
+<a class="link" href="GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-ADDED:CAPS"><code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_ADDED</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<p>
Get the class of the object in this change entry. This is only
valid if <a class="link" href="GUPnPCDSLastChangeParser.html#gupnp-cds-last-change-entry-get-event" title="gupnp_cds_last_change_entry_get_event ()"><code class="function">gupnp_cds_last_change_entry_get_event()</code></a> returns
-<code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_ADDED</code>.
+<a class="link" href="GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-ADDED:CAPS"><code class="literal">GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_ADDED</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<pre class="synopsis">
"<a class="link" href="GUPnPDIDLLiteContributor.html#GUPnPDIDLLiteContributor--name" title='The "name" property'>name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GUPnPDIDLLiteContributor.html#GUPnPDIDLLiteContributor--role" title='The "role" property'>role</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GUPnPDIDLLiteContributor.html#GUPnPDIDLLiteContributor--xml-doc" title='The "xml-doc" property'>xml-doc</a>" <span class="type">GUPnPXMLDoc</span>* : Write / Construct Only
+ "<a class="link" href="GUPnPDIDLLiteContributor.html#GUPnPDIDLLiteContributor--xml-doc" title='The "xml-doc" property'>xml-doc</a>" <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>* : Write / Construct Only
"<a class="link" href="GUPnPDIDLLiteContributor.html#GUPnPDIDLLiteContributor--xml-node" title='The "xml-node" property'>xml-node</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GUPnPDIDLLiteContributor--xml-doc"></a><h3>The <code class="literal">"xml-doc"</code> property</h3>
-<pre class="programlisting"> "xml-doc" <span class="type">GUPnPXMLDoc</span>* : Write / Construct Only</pre>
+<pre class="programlisting"> "xml-doc" <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>* : Write / Construct Only</pre>
<p>
The reference to XML document containing this object.
</p>
"<a class="link" href="GUPnPDIDLLiteDescriptor.html#GUPnPDIDLLiteDescriptor--id" title='The "id" property'>id</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GUPnPDIDLLiteDescriptor.html#GUPnPDIDLLiteDescriptor--metadata-type" title='The "metadata-type" property'>metadata-type</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GUPnPDIDLLiteDescriptor.html#GUPnPDIDLLiteDescriptor--name-space" title='The "name-space" property'>name-space</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GUPnPDIDLLiteDescriptor.html#GUPnPDIDLLiteDescriptor--xml-doc" title='The "xml-doc" property'>xml-doc</a>" <span class="type">GUPnPXMLDoc</span>* : Write / Construct Only
+ "<a class="link" href="GUPnPDIDLLiteDescriptor.html#GUPnPDIDLLiteDescriptor--xml-doc" title='The "xml-doc" property'>xml-doc</a>" <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>* : Write / Construct Only
"<a class="link" href="GUPnPDIDLLiteDescriptor.html#GUPnPDIDLLiteDescriptor--xml-node" title='The "xml-node" property'>xml-node</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GUPnPDIDLLiteDescriptor--xml-doc"></a><h3>The <code class="literal">"xml-doc"</code> property</h3>
-<pre class="programlisting"> "xml-doc" <span class="type">GUPnPXMLDoc</span>* : Write / Construct Only</pre>
+<pre class="programlisting"> "xml-doc" <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>* : Write / Construct Only</pre>
<p>
The reference to XML document containing this object.
</p>
(<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteObject.html" title="GUPnPDIDLLiteObject"><span class="type">GUPnPDIDLLiteObject</span></a> *object</code></em>);
<span class="returnvalue">char</span> * <a class="link" href="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-upnp-class-xml-string" title="gupnp_didl_lite_object_get_upnp_class_xml_string ()">gupnp_didl_lite_object_get_upnp_class_xml_string</a>
(<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteObject.html" title="GUPnPDIDLLiteObject"><span class="type">GUPnPDIDLLiteObject</span></a> *object</code></em>);
+<span class="returnvalue">char</span> * <a class="link" href="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-xml-string" title="gupnp_didl_lite_object_get_xml_string ()">gupnp_didl_lite_object_get_xml_string</a>
+ (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteObject.html" title="GUPnPDIDLLiteObject"><span class="type">GUPnPDIDLLiteObject</span></a> *object</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-set-update-id" title="gupnp_didl_lite_object_set_update_id ()">gupnp_didl_lite_object_set_update_id</a>
(<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteObject.html" title="GUPnPDIDLLiteObject"><span class="type">GUPnPDIDLLiteObject</span></a> *object</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> update_id</code></em>);
"<a class="link" href="GUPnPDIDLLiteObject.html#GUPnPDIDLLiteObject--upnp-class" title='The "upnp-class" property'>upnp-class</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GUPnPDIDLLiteObject.html#GUPnPDIDLLiteObject--upnp-namespace" title='The "upnp-namespace" property'>upnp-namespace</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only
"<a class="link" href="GUPnPDIDLLiteObject.html#GUPnPDIDLLiteObject--write-status" title='The "write-status" property'>write-status</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GUPnPDIDLLiteObject.html#GUPnPDIDLLiteObject--xml-doc" title='The "xml-doc" property'>xml-doc</a>" <span class="type">GUPnPXMLDoc</span>* : Write / Construct Only
+ "<a class="link" href="GUPnPDIDLLiteObject.html#GUPnPDIDLLiteObject--xml-doc" title='The "xml-doc" property'>xml-doc</a>" <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>* : Write / Construct Only
"<a class="link" href="GUPnPDIDLLiteObject.html#GUPnPDIDLLiteObject--xml-node" title='The "xml-node" property'>xml-node</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only
</pre>
</div>
</div>
<hr>
<div class="refsect2">
+<a name="gupnp-didl-lite-object-get-xml-string"></a><h3>gupnp_didl_lite_object_get_xml_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">char</span> * gupnp_didl_lite_object_get_xml_string
+ (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteObject.html" title="GUPnPDIDLLiteObject"><span class="type">GUPnPDIDLLiteObject</span></a> *object</code></em>);</pre>
+<p>
+Get the representation of this object as an XML string.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>object</code></em>Â :</span></p></td>
+<td><a class="link" href="GUPnPDIDLLiteObject.html" title="GUPnPDIDLLiteObject"><span class="type">GUPnPDIDLLiteObject</span></a></td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td>
+<td>XML representation of this object as string. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
<a name="gupnp-didl-lite-object-set-update-id"></a><h3>gupnp_didl_lite_object_set_update_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gupnp_didl_lite_object_set_update_id
(<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteObject.html" title="GUPnPDIDLLiteObject"><span class="type">GUPnPDIDLLiteObject</span></a> *object</code></em>,
<hr>
<div class="refsect2">
<a name="GUPnPDIDLLiteObject--xml-doc"></a><h3>The <code class="literal">"xml-doc"</code> property</h3>
-<pre class="programlisting"> "xml-doc" <span class="type">GUPnPXMLDoc</span>* : Write / Construct Only</pre>
+<pre class="programlisting"> "xml-doc" <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>* : Write / Construct Only</pre>
<p>
The reference to XML document containing this object.
</p>
"<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--update-count" title='The "update-count" property'>update-count</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
"<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--uri" title='The "uri" property'>uri</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--width" title='The "width" property'>width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
- "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--xml-doc" title='The "xml-doc" property'>xml-doc</a>" <span class="type">GUPnPXMLDoc</span>* : Write / Construct Only
+ "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--xml-doc" title='The "xml-doc" property'>xml-doc</a>" <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>* : Write / Construct Only
"<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--xml-node" title='The "xml-node" property'>xml-node</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GUPnPDIDLLiteResource--xml-doc"></a><h3>The <code class="literal">"xml-doc"</code> property</h3>
-<pre class="programlisting"> "xml-doc" <span class="type">GUPnPXMLDoc</span>* : Write / Construct Only</pre>
+<pre class="programlisting"> "xml-doc" <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>* : Write / Construct Only</pre>
<p>
The reference to XML document containing this object.
</p>
<td>The location where to store any error, or NULL</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>Varargs</code></em>Â :</span></p></td>
+<td><p><span class="term"><em class="parameter"><code>...</code></em>Â :</span></p></td>
<td>tuples of state variable name, state variable type, and state
variable value location, terminated with NULL. The state variable values
should be freed after use.</td>
</tr></table>
<div class="chapter">
<div class="titlepage"><div><div><h2 class="title">
-<a name="idp982128"></a>GUPnP A/V</h2></div></div></div>
+<a name="idp175408"></a>GUPnP A/V</h2></div></div></div>
<div class="toc"><dl>
<dt>
<span class="refentrytitle"><a href="GUPnPDIDLLiteParser.html">GUPnPDIDLLiteParser</a></span><span class="refpurpose"> — A/V DIDL-Lite XML parser</span>
</tr></table>
<div class="chapter">
<div class="titlepage"><div><div><h2 class="title">
-<a name="idp4206528"></a>Error Codes</h2></div></div></div>
+<a name="idp454544"></a>Error Codes</h2></div></div></div>
<div class="toc"><dl><dt>
<span class="refentrytitle"><a href="gupnp-av-Error-codes.html">Error codes</a></span><span class="refpurpose"> — Error domains and codes.</span>
</dt></dl></div>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gupnp-av-GUPnPDIDLLiteCreateClass.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis"> <a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass">GUPnPDIDLLiteCreateClass</a>;
-const <span class="returnvalue">char</span> * <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>
- (<em class="parameter"><code><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>);
+<pre class="synopsis">const <span class="returnvalue">char</span> * <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>
+ (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>);
<span class="returnvalue">void</span> <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>
- (<em class="parameter"><code><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>,
+ (<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>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>
- (<em class="parameter"><code><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>);
+ (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>);
<span class="returnvalue">void</span> <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>
- (<em class="parameter"><code><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>,
+ (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> include_derived</code></em>);
const <span class="returnvalue">char</span> * <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>
- (<em class="parameter"><code><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>);
+ (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>);
<span class="returnvalue">void</span> <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>
- (<em class="parameter"><code><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>,
+ (<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>);
<span class="returnvalue">xmlNode</span> * <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>
- (<em class="parameter"><code><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>);
+ (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gupnp-av-GUPnPDIDLLiteCreateClass.description"></a><h2>Description</h2>
<p>
-<a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> respresents a DIDL-Lite create class element.
+<span class="type">GUPnPDIDLLiteCreateClass</span> respresents a DIDL-Lite create class element.
</p>
</div>
<div class="refsect1">
<a name="gupnp-av-GUPnPDIDLLiteCreateClass.details"></a><h2>Details</h2>
<div class="refsect2">
-<a name="GUPnPDIDLLiteCreateClass"></a><h3>GUPnPDIDLLiteCreateClass</h3>
-<pre class="programlisting">typedef struct {
- GObject parent;
-
- GUPnPDIDLLiteCreateClassPrivate *priv;
-} GUPnPDIDLLiteCreateClass;
-</pre>
-</div>
-<hr>
-<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><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>);</pre>
+ (<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>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>create_class</code></em>Â :</span></p></td>
-<td><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a></td>
+<td><span class="type">GUPnPDIDLLiteCreateClass</span></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td>
<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><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>,
+ (<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>.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>create_class</code></em>Â :</span></p></td>
-<td><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a></td>
+<td><span class="type">GUPnPDIDLLiteCreateClass</span></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>content</code></em>Â :</span></p></td>
<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="http://library.gnome.org/devel/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><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>);</pre>
+ (<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>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>create_class</code></em>Â :</span></p></td>
-<td><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a></td>
+<td><span class="type">GUPnPDIDLLiteCreateClass</span></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td>
<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><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>,
+ (<em class="parameter"><code><span class="type">GUPnPDIDLLiteCreateClass</span> *create_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/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.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>create_class</code></em>Â :</span></p></td>
-<td><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a></td>
+<td><span class="type">GUPnPDIDLLiteCreateClass</span></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>include_derived</code></em>Â :</span></p></td>
<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><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>);</pre>
+ (<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>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>create_class</code></em>Â :</span></p></td>
-<td><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a></td>
+<td><span class="type">GUPnPDIDLLiteCreateClass</span></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td>
<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><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>,
+ (<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>.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>create_class</code></em>Â :</span></p></td>
-<td><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a></td>
+<td><span class="type">GUPnPDIDLLiteCreateClass</span></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>friendly_name</code></em>Â :</span></p></td>
<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><a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a> *create_class</code></em>);</pre>
+ (<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>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>create_class</code></em>Â :</span></p></td>
-<td>The <a class="link" href="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass" title="GUPnPDIDLLiteCreateClass"><span class="type">GUPnPDIDLLiteCreateClass</span></a>
+<td>The <span class="type">GUPnPDIDLLiteCreateClass</span>
</td>
</tr>
<tr>
<keyword type="function" name="gupnp_didl_lite_object_get_track_number_xml_string ()" link="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-track-number-xml-string"/>
<keyword type="function" name="gupnp_didl_lite_object_get_update_id ()" link="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-update-id"/>
<keyword type="function" name="gupnp_didl_lite_object_get_upnp_class_xml_string ()" link="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-upnp-class-xml-string"/>
+ <keyword type="function" name="gupnp_didl_lite_object_get_xml_string ()" link="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-xml-string"/>
<keyword type="function" name="gupnp_didl_lite_object_set_update_id ()" link="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-set-update-id"/>
<keyword type="function" name="gupnp_didl_lite_object_unset_artists ()" link="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-unset-artists"/>
<keyword type="function" name="gupnp_didl_lite_object_unset_update_id ()" link="GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-unset-update-id"/>
<keyword type="property" name="The "role" property" link="GUPnPDIDLLiteContributor.html#GUPnPDIDLLiteContributor--role"/>
<keyword type="property" name="The "xml-doc" property" link="GUPnPDIDLLiteContributor.html#GUPnPDIDLLiteContributor--xml-doc"/>
<keyword type="property" name="The "xml-node" property" link="GUPnPDIDLLiteContributor.html#GUPnPDIDLLiteContributor--xml-node"/>
- <keyword type="struct" name="GUPnPDIDLLiteCreateClass" link="gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass"/>
<keyword type="function" name="gupnp_didl_lite_create_class_get_content ()" link="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-get-content"/>
<keyword type="function" name="gupnp_didl_lite_create_class_set_content ()" link="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-set-content"/>
<keyword type="function" name="gupnp_didl_lite_create_class_get_include_derived ()" link="gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-get-include-derived"/>
<keyword type="constant" name="GUPNP_DIDL_LITE_FRAGMENT_RESULT_READONLY_TAG" link="GUPnPDIDLLiteObject.html#GUPNP-DIDL-LITE-FRAGMENT-RESULT-READONLY-TAG:CAPS"/>
<keyword type="constant" name="GUPNP_DIDL_LITE_FRAGMENT_RESULT_MISMATCH" link="GUPnPDIDLLiteObject.html#GUPNP-DIDL-LITE-FRAGMENT-RESULT-MISMATCH:CAPS"/>
<keyword type="constant" name="GUPNP_DIDL_LITE_FRAGMENT_RESULT_UNKNOWN_ERROR" link="GUPnPDIDLLiteObject.html#GUPNP-DIDL-LITE-FRAGMENT-RESULT-UNKNOWN-ERROR:CAPS"/>
+ <keyword type="constant" name="GUPNP_CDS_LAST_CHANGE_EVENT_INVALID" link="GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-INVALID:CAPS"/>
+ <keyword type="constant" name="GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_ADDED" link="GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-ADDED:CAPS"/>
+ <keyword type="constant" name="GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_REMOVED" link="GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-REMOVED:CAPS"/>
+ <keyword type="constant" name="GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_MODIFIED" link="GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-MODIFIED:CAPS"/>
+ <keyword type="constant" name="GUPNP_CDS_LAST_CHANGE_EVENT_ST_DONE" link="GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-ST-DONE:CAPS"/>
<keyword type="constant" name="GUPNP_SEARCH_CRITERIA_OP_EQ" link="GUPnPSearchCriteriaParser.html#GUPNP-SEARCH-CRITERIA-OP-EQ:CAPS"/>
<keyword type="constant" name="GUPNP_SEARCH_CRITERIA_OP_NEQ" link="GUPnPSearchCriteriaParser.html#GUPNP-SEARCH-CRITERIA-OP-NEQ:CAPS"/>
<keyword type="constant" name="GUPNP_SEARCH_CRITERIA_OP_LESS" link="GUPnPSearchCriteriaParser.html#GUPNP-SEARCH-CRITERIA-OP-LESS:CAPS"/>
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GUPnP A/V Reference Manual</p></th></tr></table></div>
-<div><p class="releaseinfo">Version 0.12.0
+<div><p class="releaseinfo">Version 0.12.2
</p></div>
<div><p class="copyright">Copyright © 2007,2008 OpenedHand LTD</p></div>
<div><p class="copyright">Copyright © 2007,2008 Zeeshan Ali <zeenix@gmail.com></p></div>
<div><p class="copyright">Copyright © 2009,2010 Nokia Corporation</p></div>
<div><div class="legalnotice">
-<a name="idp3804448"></a><p>
+<a name="idp167184"></a><p>
Permission is granted to copy, distribute and/or modify this
document under the terms of the <em class="citetitle">GNU Free
Documentation License</em>, Version 1.1 or any later
<ANCHOR id="gupnp-didl-lite-object-get-track-number-xml-string" href="gupnp-av/GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-track-number-xml-string">
<ANCHOR id="gupnp-didl-lite-object-get-update-id" href="gupnp-av/GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-update-id">
<ANCHOR id="gupnp-didl-lite-object-get-upnp-class-xml-string" href="gupnp-av/GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-upnp-class-xml-string">
+<ANCHOR id="gupnp-didl-lite-object-get-xml-string" href="gupnp-av/GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-xml-string">
<ANCHOR id="gupnp-didl-lite-object-set-update-id" href="gupnp-av/GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-set-update-id">
<ANCHOR id="gupnp-didl-lite-object-unset-artists" href="gupnp-av/GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-unset-artists">
<ANCHOR id="gupnp-didl-lite-object-unset-update-id" href="gupnp-av/GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-unset-update-id">
<ANCHOR id="gupnp-av-GUPnPDIDLLiteCreateClass.synopsis" href="gupnp-av/gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-av-GUPnPDIDLLiteCreateClass.synopsis">
<ANCHOR id="gupnp-av-GUPnPDIDLLiteCreateClass.description" href="gupnp-av/gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-av-GUPnPDIDLLiteCreateClass.description">
<ANCHOR id="gupnp-av-GUPnPDIDLLiteCreateClass.details" href="gupnp-av/gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-av-GUPnPDIDLLiteCreateClass.details">
-<ANCHOR id="GUPnPDIDLLiteCreateClass" href="gupnp-av/gupnp-av-GUPnPDIDLLiteCreateClass.html#GUPnPDIDLLiteCreateClass">
<ANCHOR id="gupnp-didl-lite-create-class-get-content" href="gupnp-av/gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-get-content">
<ANCHOR id="gupnp-didl-lite-create-class-set-content" href="gupnp-av/gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-set-content">
<ANCHOR id="gupnp-didl-lite-create-class-get-include-derived" href="gupnp-av/gupnp-av-GUPnPDIDLLiteCreateClass.html#gupnp-didl-lite-create-class-get-include-derived">
<ANCHOR id="GUPnPCDSLastChangeParser.details" href="gupnp-av/GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeParser.details">
<ANCHOR id="GUPnPCDSLastChangeParser-struct" href="gupnp-av/GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeParser-struct">
<ANCHOR id="GUPnPCDSLastChangeEvent" href="gupnp-av/GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeEvent">
+<ANCHOR id="GUPNP-CDS-LAST-CHANGE-EVENT-INVALID:CAPS" href="gupnp-av/GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-INVALID:CAPS">
+<ANCHOR id="GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-ADDED:CAPS" href="gupnp-av/GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-ADDED:CAPS">
+<ANCHOR id="GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-REMOVED:CAPS" href="gupnp-av/GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-REMOVED:CAPS">
+<ANCHOR id="GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-MODIFIED:CAPS" href="gupnp-av/GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-OBJECT-MODIFIED:CAPS">
+<ANCHOR id="GUPNP-CDS-LAST-CHANGE-EVENT-ST-DONE:CAPS" href="gupnp-av/GUPnPCDSLastChangeParser.html#GUPNP-CDS-LAST-CHANGE-EVENT-ST-DONE:CAPS">
<ANCHOR id="GUPnPCDSLastChangeEntry-struct" href="gupnp-av/GUPnPCDSLastChangeParser.html#GUPnPCDSLastChangeEntry-struct">
<ANCHOR id="gupnp-cds-last-change-parser-new" href="gupnp-av/GUPnPCDSLastChangeParser.html#gupnp-cds-last-change-parser-new">
<ANCHOR id="gupnp-cds-last-change-parser-parse" href="gupnp-av/GUPnPCDSLastChangeParser.html#gupnp-cds-last-change-parser-parse">
gupnp_cds_last_change_entry_unref);
static void
-gupnp_cds_last_change_parser_init (GUPnPCDSLastChangeParser *parser)
+gupnp_cds_last_change_parser_init (G_GNUC_UNUSED GUPnPCDSLastChangeParser *parser)
{
}
static void
-gupnp_cds_last_change_parser_class_init (GUPnPCDSLastChangeParserClass *klass)
+gupnp_cds_last_change_parser_class_init (G_GNUC_UNUSED GUPnPCDSLastChangeParserClass *klass)
{
}
GObjectClass parent_class;
};
+/**
+ * GUPnPCDSLastChangeEvent:
+ * @GUPNP_CDS_LAST_CHANGE_EVENT_INVALID: Invalid #GUPnPCDSLastChangeEntry.
+ * @GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_ADDED: The #GUPnPCDSLastChangeEntry is
+ * an object added event.
+ * @GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_REMOVED: The #GUPnPCDSLastChangeEntry
+ * is an object removal event.
+ * @GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_MODIFIED: The #GUPnPCDSLastChangeEntry
+ * is an object modification event.
+ * @GUPNP_CDS_LAST_CHANGE_EVENT_ST_DONE: The #GUPnPCDSLastChangeEntry is a
+ * subtree update done event.
+ */
typedef enum GUPnPCDSLastChangeEvent {
GUPNP_CDS_LAST_CHANGE_EVENT_INVALID,
GUPNP_CDS_LAST_CHANGE_EVENT_OBJECT_ADDED,
};
static void
-gupnp_didl_lite_container_init (GUPnPDIDLLiteContainer *container)
+gupnp_didl_lite_container_init (G_GNUC_UNUSED GUPnPDIDLLiteContainer *container)
{
/* Nothing to initialize, yay! */
}
return xml_util_get_uint_child_element (xml_node,
"totalDeletedChildCount",
- 0);
+ -1);
}
/**
typedef struct _GUPnPDIDLLiteCreateClassPrivate GUPnPDIDLLiteCreateClassPrivate;
+/**
+ * GUPnPDIDLLiteCreateClass:
+ **/
typedef struct {
GObject parent;
+ /*< private >*/
GUPnPDIDLLiteCreateClassPrivate *priv;
} GUPnPDIDLLiteCreateClass;
};
static void
-gupnp_didl_lite_item_init (GUPnPDIDLLiteItem *item)
+gupnp_didl_lite_item_init (G_GNUC_UNUSED GUPnPDIDLLiteItem *item)
{
/* Nothing to initialize, yay! */
}
static gboolean
is_resource_compatible (GUPnPDIDLLiteResource *resource,
- const char *sink_protocol_info)
+ char **protocols)
{
gboolean ret = FALSE;
- char **protocols, **it;
-
- protocols = g_strsplit (sink_protocol_info, ",", 0);
-
+ char **it;
for (it = protocols; *it != NULL && !ret; it++) {
GUPnPProtocolInfo *info;
g_object_unref (info);
}
- g_strfreev (protocols);
-
return ret;
}
GList *resources = NULL;
GList *compat_resources = NULL;
GList *res;
+ char **protocols = NULL;
g_return_val_if_fail (GUPNP_IS_DIDL_LITE_OBJECT (object), NULL);
g_return_val_if_fail (sink_protocol_info != NULL, NULL);
if (resources == NULL)
return NULL;
+ protocols = g_strsplit (sink_protocol_info, ",", -1);
for (res = resources;
res != NULL;
res = res->next) {
resource = (GUPnPDIDLLiteResource *) res->data;
- if (is_resource_compatible (resource, sink_protocol_info))
+ if (is_resource_compatible (resource, protocols))
compat_resources = g_list_append (compat_resources,
resource);
}
+ g_strfreev (protocols);
+ protocols = NULL;
resource = NULL;
GError **error);
static void
-gupnp_didl_lite_parser_init (GUPnPDIDLLiteParser *parser)
+gupnp_didl_lite_parser_init (G_GNUC_UNUSED GUPnPDIDLLiteParser *parser)
{
}
}
static void
-on_protocol_info_changed (GUPnPProtocolInfo *info,
- GParamSpec *pspec,
- gpointer user_data)
+on_protocol_info_changed (GUPnPProtocolInfo *info,
+ G_GNUC_UNUSED GParamSpec *pspec,
+ gpointer user_data)
{
GUPnPDIDLLiteResource *resource = GUPNP_DIDL_LITE_RESOURCE (user_data);
static void
filter_attributes (xmlNode *node,
- GList *allowed,
- GUPnPDIDLLiteWriter *writer)
+ GList *allowed)
{
xmlAttr *attr;
GList *forbidden = NULL;
const char *container_class = NULL;
if (!tags_only)
- filter_attributes (node, allowed, writer);
+ filter_attributes (node, allowed);
if (strcmp ((const char *) node->name, "container") == 0) {
is_container = TRUE;
{
xmlNode *item_node, *container_node;
GUPnPDIDLLiteObject *object;
- GUPnPXMLDoc *doc;
g_return_val_if_fail (GUPNP_IS_DIDL_LITE_CONTAINER (container), NULL);
G_TYPE_OBJECT);
static void
-gupnp_feature_list_parser_init (GUPnPFeatureListParser *parser)
+gupnp_feature_list_parser_init (G_GNUC_UNUSED GUPnPFeatureListParser *parser)
{
/* Nothing to do here */
}
* features or %NULL if an error occured.
**/
GList *
-gupnp_feature_list_parser_parse_text (GUPnPFeatureListParser *parser,
- const char *text,
- GError **error)
+gupnp_feature_list_parser_parse_text
+ (G_GNUC_UNUSED GUPnPFeatureListParser *parser,
+ const char *text,
+ GError **error)
{
xmlDoc *doc;
xmlNode *element;
G_TYPE_OBJECT);
static void
-gupnp_last_change_parser_init (GUPnPLastChangeParser *parser)
+gupnp_last_change_parser_init (G_GNUC_UNUSED GUPnPLastChangeParser *parser)
{
}
**/
gboolean
gupnp_last_change_parser_parse_last_change_valist
- (GUPnPLastChangeParser *parser,
- guint instance_id,
- const char *last_change_xml,
- GError **error,
- va_list var_args)
+ (G_GNUC_UNUSED GUPnPLastChangeParser *parser,
+ guint instance_id,
+ const char *last_change_xml,
+ GError **error,
+ va_list var_args)
{
const char *variable_name;
xmlDoc *doc;
* @instance_id: The ID of the AV instance caller is interested in
* @last_change_xml: The xml from the "LastChange" event to parse
* @error: The location where to store any error, or NULL
- * @Varargs: tuples of state variable name, state variable type, and state
+ * @...: tuples of state variable name, state variable type, and state
* variable value location, terminated with NULL. The state variable values
* should be freed after use.
*
static void
on_container_available (GUPnPMediaCollection *self,
GUPnPDIDLLiteContainer *container,
- gpointer user_data)
+ G_GNUC_UNUSED gpointer user_data)
{
/* According to media format spec, there's only one container allowed;
* We allow any number of containers, but only the last one wins. */
static void
on_item_available (GUPnPMediaCollection *self,
GUPnPDIDLLiteItem *item,
- gpointer user_data)
+ G_GNUC_UNUSED gpointer user_data)
{
self->priv->items = g_list_prepend (self->priv->items,
g_object_ref (item));
parse_additional_info (const char *additional_info,
GUPnPProtocolInfo *info)
{
- GUPnPProtocolInfoPrivate *priv;
char **tokens = NULL;
short i;
- priv = info->priv;
-
if (strcmp (additional_info, "*") == 0)
return;
#
# VALA_PROG_VAPIGEN([MINIMUM-VERSION])
# ------------------------------------
-AC_DEFUN([VALA_PROG_VAPIGEN],
+AC_DEFUN([GUPNP_PROG_VAPIGEN],
[AC_PATH_PROG([VAPIGEN], [vapigen], [])
AS_IF([test -z "$VAPIGEN"],
[AC_MSG_WARN([No Vala API Generator found. You will not be able to generate .vapi files.])],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
- AC_MSG_WARN([Vala API Generator $1 not found.])])])])
+ AC_MSG_WARN([Vala API Generator $1 not found.])
+ VAPIGEN=""
+ ])])])
])
Name: gupnp-av
Summary: GUPnP-AV is a collection of helpers for building UPnP AV applications
-Version: 0.12.0
+Version: 0.12.2
Release: 0
Group: System/Libraries
License: LGPLv2+
common_cflags = \
$(LIBGUPNP_CFLAGS) \
- -I$(top_srcdir)
+ -I$(top_srcdir) -Wno-unused-parameters
common_ldadd = \
$(top_builddir)/libgupnp-av/libgupnp-av-1.0.la \
$(LIBGUPNP_LIBS)
SUBDIRS = gtest
common_cflags = \
$(LIBGUPNP_CFLAGS) \
- -I$(top_srcdir)
+ -I$(top_srcdir) -Wno-unused-parameters
common_ldadd = \
$(top_builddir)/libgupnp-av/libgupnp-av-1.0.la \
}
int
-main (int argc, char **argv)
+main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
{
GUPnPFeatureListParser *parser;
GError *error;
};
int
-main (int argc, char **argv)
+main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
{
GUPnPSearchCriteriaParser *parser;
GError *error;
- int i;
+ guint i;
#if !GLIB_CHECK_VERSION (2, 35, 0)
g_type_init ();
*/
#include <stdio.h>
+#include <string.h>
#include <libgupnp-av/gupnp-cds-last-change-parser.h>
static void
compare_entries (const char *file, GList *entries)
{
- int reference_size, i, j;
+ guint reference_size, i, j;
GList *it = entries;
reference_size = G_N_ELEMENTS (test_reference_data);
* Boston, MA 02110-1301, USA.
*/
+#include <string.h>
+
#include <libgupnp-av/gupnp-media-collection.h>
/* Flat DIDL_S playlist */
#define ERROR_MESSAGE "Failed to parse DIDL-Lite: No 'DIDL-Lite' node in the DIDL-Lite XML:"
static gboolean
-ignore_xml_parse_error (const gchar *log_domain,
- GLogLevelFlags log_level,
- const gchar *message,
- gpointer user_data)
+ignore_xml_parse_error (G_GNUC_UNUSED const gchar *log_domain,
+ G_GNUC_UNUSED GLogLevelFlags log_level,
+ const gchar *message,
+ G_GNUC_UNUSED gpointer user_data)
{
if (strncmp (message,
ERROR_MESSAGE,
"</DIDL-Lite>"
static void
-test_bgo674319_on_object_available (GUPnPDIDLLiteParser *parser,
- GUPnPDIDLLiteObject *object,
- gpointer user_data)
+test_bgo674319_on_object_available (G_GNUC_UNUSED GUPnPDIDLLiteParser *parser,
+ GUPnPDIDLLiteObject *object,
+ gpointer user_data)
{
GUPnPDIDLLiteObject **out = (GUPnPDIDLLiteObject **) user_data;
*out = g_object_ref (object);
#include <stdlib.h>
static void
-begin_parens_cb (GUPnPSearchCriteriaParser *parser,
- gpointer user_data)
+begin_parens_cb (G_GNUC_UNUSED GUPnPSearchCriteriaParser *parser,
+ G_GNUC_UNUSED gpointer user_data)
{
g_print ("(");
}
static void
-end_parens_cb (GUPnPSearchCriteriaParser *parser,
- gpointer user_data)
+end_parens_cb (G_GNUC_UNUSED GUPnPSearchCriteriaParser *parser,
+ G_GNUC_UNUSED gpointer user_data)
{
g_print (")");
}
static void
-conjunction_cb (GUPnPSearchCriteriaParser *parser,
- gpointer user_data)
+conjunction_cb (G_GNUC_UNUSED GUPnPSearchCriteriaParser *parser,
+ G_GNUC_UNUSED gpointer user_data)
{
g_print (" and ");
}
static void
-disjunction_cb (GUPnPSearchCriteriaParser *parser,
- gpointer user_data)
+disjunction_cb (G_GNUC_UNUSED GUPnPSearchCriteriaParser *parser,
+ G_GNUC_UNUSED gpointer user_data)
{
g_print (" or ");
}
static gboolean
-expression_cb (GUPnPSearchCriteriaParser *parser,
- const char *property,
- GUPnPSearchCriteriaOp op,
- const char *value,
- GError **error,
- gpointer user_data)
+expression_cb (G_GNUC_UNUSED GUPnPSearchCriteriaParser *parser,
+ const char *property,
+ GUPnPSearchCriteriaOp op,
+ const char *value,
+ G_GNUC_UNUSED GError **error,
+ G_GNUC_UNUSED gpointer user_data)
{
g_print ("%s %d %s", property, op, value);
public class SearchCriteriaParser : GLib.Object {
public virtual signal bool expression (string property, GUPnP.SearchCriteriaOp op, string value, GLib.Error error);
}
+
+ public class LastChangeParser : GLib.Object {
+ public bool parse_last_change (uint instance_id, string last_change_xml, ...) throws GLib.Error;
+ }
}