From: Marcel Holtmann Date: Wed, 20 Aug 2008 08:09:24 +0000 (+0200) Subject: Add example for D-Bus documentation X-Git-Tag: 0.1~205 X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=120501d82b2f136212668d9888b2732d330bbde9;p=connman Add example for D-Bus documentation --- diff --git a/doc/Makefile.am b/doc/Makefile.am index ecd6b5e..0d0381f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -33,10 +33,19 @@ MAINTAINERCLEANFILES = Makefile.in \ if ENABLE_GTK_DOC include $(top_srcdir)/doc/gtk-doc.make + +all-local: xml/dbus-manager.xml + +xml/dbus-manager.xml : dbus-manager.xml dbus-introspection.xsl + echo "" > $@ + echo "" >> $@ + $(XSLTPROC) dbus-introspection.xsl $< | tail -n +2 >> $@ + else EXTRA_DIST = $(DOC_MAIN_SGML_FILE) $(content_files) endif -EXTRA_DIST += dbus-introspection.dtd dbus-introspection.xsl +EXTRA_DIST += dbus-introspection.dtd dbus-introspection.xsl \ + dbus-manager.xml EXTRA_DIST += manager-api.txt element-api.txt agent-api.txt plugin-api.txt diff --git a/doc/connman-docs.xml b/doc/connman-docs.xml index 837d8b0..66d895c 100644 --- a/doc/connman-docs.xml +++ b/doc/connman-docs.xml @@ -57,6 +57,17 @@ + + D-Bus API Reference + + + This part presents the D-Bus interface used to access Connection + Manager. + + + + + Manager interface @@ -72,7 +83,7 @@ - API Reference + Plugin API Reference This part presents the function reference for Connection Manager. diff --git a/doc/dbus-manager.xml b/doc/dbus-manager.xml new file mode 100644 index 0000000..446cd7e --- /dev/null +++ b/doc/dbus-manager.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + List of object paths representing an element. + + + + + + + + + List all registered elements in the system. + + + + + + + +