[evolution-data-server/openismus-work-master: 128/150] AddressBookCursor D-Bus API: new cursor step() API



commit 235aa26547b3c21a1807b772eb7654b31fef8a05
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Fri Oct 18 22:41:41 2013 +0200

    AddressBookCursor D-Bus API: new cursor step() API

 ...nome.evolution.dataserver.AddressBookCursor.xml |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/private/org.gnome.evolution.dataserver.AddressBookCursor.xml 
b/private/org.gnome.evolution.dataserver.AddressBookCursor.xml
index d79fe55..ad60cc4 100644
--- a/private/org.gnome.evolution.dataserver.AddressBookCursor.xml
+++ b/private/org.gnome.evolution.dataserver.AddressBookCursor.xml
@@ -27,16 +27,17 @@
   <property name="Position" type="u" access="read"/>
 
   <!--
-      MoveBy:
+      Step:
       @revision_guard: The expected revision of the addressbook
+      @flags: The #EBookCursorStepFlags
       @origin: The #EBookCursorOrigin
-      @count: The number of contacts to try and fetch, negative values move the cursor in reverse
-      @fetch_results: Whether this call should actually fetch results, or if it should only move the cursor 
position
+      @count: The number of contacts to try and fetch, negative values step the cursor in reverse
+      @n_results: The number contacts actually traversed in this step.
       @vcards: The returned contact list
       @new_total: The total amount of contacts after moving the cursor
       @new_position: The cursor position after moving
 
-      Move the cursor by @count contacts from @origin
+      Step the cursor by @count contacts from @origin
 
       This will also result in changes of the Position and Total properties
 
@@ -44,11 +45,11 @@
       revision, if the revisions differ then %E_CLIENT_ERROR_OUT_OF_SYNC
       will be reported.
   -->
-  <method name="MoveBy">
+  <method name="Step">
     <arg name="revision_guard" direction="in" type="s"/>
+    <arg name="flags" direction="in" type="i"/>
     <arg name="origin" direction="in" type="i"/>
     <arg name="count" direction="in" type="i"/>
-    <arg name="fetch_results" direction="in" type="b"/>
     <arg name="n_results" direction="out" type="i"/>
     <arg name="vcards" direction="out" type="as"/>
     <arg name="new_total" direction="out" type="u"/>


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