[folks/648811-dummy-backend-rebase1: 30/48] dummy: Documentation comment improvements



commit 2547b8ca3da121b493a29747c748c0db3c9351b7
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Nov 6 14:21:40 2013 +0000

    dummy: Documentation comment improvements

 backends/dummy/lib/dummy-persona-store.vala |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/backends/dummy/lib/dummy-persona-store.vala b/backends/dummy/lib/dummy-persona-store.vala
index 4aab6b9..3f76b54 100644
--- a/backends/dummy/lib/dummy-persona-store.vala
+++ b/backends/dummy/lib/dummy-persona-store.vala
@@ -25,9 +25,9 @@ using Gee;
 using GLib;
 
 /**
- * A persona store which allows { link FolksDummy.Persona}s to be programmatically
- * created and manipulated, for the purposes of testing the core of libfolks
- * itself.
+ * A persona store which allows { link FolksDummy.Persona}s to be
+ * programmatically created and manipulated, for the purposes of testing the
+ * core of libfolks itself.
  *
  * TODO: Mock functions
  * TODO: Unstable API
@@ -214,8 +214,8 @@ public class FolksDummy.PersonaStore : Folks.PersonaStore
    *
    * This store will have no personas to begin with; use
    * { link FolksDummy.PersonaStore.register_personas} to add some, then call
-   * { link FolksDummy.PersonaStore.reach_quiescence} to signal the store reaching
-   * quiescence.
+   * { link FolksDummy.PersonaStore.reach_quiescence} to signal the store
+   * reaching quiescence.
    *
    * @param id The new store's ID.
    * @param display_name The new store's display name.
@@ -459,8 +459,7 @@ public class FolksDummy.PersonaStore : Folks.PersonaStore
               var _persona = persona as WebServiceDetails;
               if (_persona != null)
                 {
-                  HashMultiMap<string, WebServiceFieldDetails>
-                    web_service_addresses = 
+                  var web_service_addresses =
                       (HashMultiMap<string, WebServiceFieldDetails>) v.get_object ();
                   if (web_service_addresses != null)
                     {
@@ -966,7 +965,13 @@ public class FolksDummy.PersonaStore : Folks.PersonaStore
     }
 
   /**
-   * TODO
+   * Reach quiescence on the store.
+   *
+   * If the { link PersonaStore.prepare} method has already been called on the
+   * store, this causes the store to signal that it has reached quiescence
+   * immediately. If the store has not yet been prepared, this will set a flag
+   * to ensure that quiescence is reached as soon as
+   * { link PersonaStore.prepare} is called.
    *
    * @since UNRELEASED
    */


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