diff options
author | David Zeuthen <davidz@redhat.com> | 2011-04-23 17:43:03 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2011-04-23 17:43:03 -0400 |
commit | b5b34fa2f2711bea9b98a7b14882d8bda06c580b (patch) | |
tree | 5cc85692b34886c802c0a373dfc9f0cbb403ee93 /docs/reference/gio/migrating-gdbus.xml | |
parent | f0eeadf30672ba60e3aae8964c1c0d3ef9fef733 (diff) | |
download | glib-b5b34fa2f2711bea9b98a7b14882d8bda06c580b.tar.gz |
gdbus-codegen: Include docs for generated code in the GIO docs
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'docs/reference/gio/migrating-gdbus.xml')
-rw-r--r-- | docs/reference/gio/migrating-gdbus.xml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/docs/reference/gio/migrating-gdbus.xml b/docs/reference/gio/migrating-gdbus.xml index ba2aa94ff..5d82eaaed 100644 --- a/docs/reference/gio/migrating-gdbus.xml +++ b/docs/reference/gio/migrating-gdbus.xml @@ -247,7 +247,7 @@ on_name_acquired (GDBusConnection *connection, linkend="gdbus-codegen">gdbus-codegen</link></command> is used and like its counterpart, it also takes D-Bus Introspection XML as input: </para> - <example id="gdbus-example-codegen-input"><title>Example D-Bus Introspection XML</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../gio/tests/gdbus-example-objectmanager.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting></example> + <example id="gdbus-example-codegen-input"><title>Example D-Bus Introspection XML</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../gio/gdbus-example-objectmanager.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting></example> <para> If this XML is processed like this <informalexample><programlisting><![CDATA[ @@ -277,8 +277,11 @@ gdbus-codegen --interface-prefix org.gtk.GDBus.Example.ObjectManager. \ linkend="gdbus-codegen">gdbus-codegen</link></command> manual page, brief examples of how this generated code can be used can be found in <xref linkend="gdbus-example-codegen-server"/> - and - <xref linkend="gdbus-example-codegen-client"/>. + and <xref + linkend="gdbus-example-codegen-client"/>. Additionally, since + the generated code has 100% gtk-doc coverage, see + #ExampleAnimal, #ExampleCat and #ExampleObjectManagerClient + pages for documentation </para> <example id="gdbus-example-codegen-server"><title>Server-side application using generated code</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../gio/tests/gdbus-example-objectmanager-server.c"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting></example> @@ -287,7 +290,10 @@ gdbus-codegen --interface-prefix org.gtk.GDBus.Example.ObjectManager. \ </section> - <xi:include href="../../../../gio/tests/gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml"/> - <xi:include href="../../../../gio/tests/gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Cat.xml"/> + <xi:include href="../../../../gio/gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml"/> + <xi:include href="../../../../gio/gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Cat.xml"/> + <xi:include href="ExampleAnimal.xml"/> + <xi:include href="ExampleCat.xml"/> + <xi:include href="ExampleObjectManagerClient.xml"/> </chapter> |