[evolution-data-server/openismus-work-3-8] EBookClientCursor: Enhancing API documentation.



commit 17e21435ed2c268a0f179157fd2dce73cd65e0aa
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Thu Aug 29 18:00:49 2013 +0200

    EBookClientCursor: Enhancing API documentation.
    
    Added a link to EBookClientCursor to include the cursor-example.c
    sources directly in the cursor documentation.

 addressbook/libebook/e-book-client-cursor.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libebook/e-book-client-cursor.c b/addressbook/libebook/e-book-client-cursor.c
index 2d12b5d..0c8fcf2 100644
--- a/addressbook/libebook/e-book-client-cursor.c
+++ b/addressbook/libebook/e-book-client-cursor.c
@@ -197,6 +197,17 @@
  * you have reached in the active alphabet.
  * </para>
  * </refsect2>
+ *
+ * <refsect2 id="cursor-example">
+ * <title>Example contact browser</title>
+ * <para>
+ * EDS includes a fully functional example contact browser as an
+ * example of how to use the cursor API. The most relevant part of
+ * this example program is listed below.
+ *
+ * <example id="example-contact-browser"><title>Example Contact Browser</title><programlisting><xi:include 
xmlns:xi="http://www.w3.org/2001/XInclude"; parse="text" 
href="../../../../../tests/cursor-example/cursor-example.c"><xi:fallback>FIXME: MISSING XINCLUDE 
CONTENT</xi:fallback></xi:include></programlisting></example>
+ * </para>
+ * </refsect2>
  */
 #ifdef HAVE_CONFIG_H
 #include <config.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]