[tracker/tracker-client-writeback] libtracker-client: Add writeback functions to VAPI



commit 9a1cef0e7a597ed4e177024f03f9c941d1d0b711
Author: Adrien Bustany <abustany gnome org>
Date:   Fri Mar 26 14:43:16 2010 -0300

    libtracker-client: Add writeback functions to VAPI

 src/libtracker-client/tracker-client-0.7.vapi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-client/tracker-client-0.7.vapi b/src/libtracker-client/tracker-client-0.7.vapi
index 5faa158..7381ec1 100644
--- a/src/libtracker-client/tracker-client-0.7.vapi
+++ b/src/libtracker-client/tracker-client-0.7.vapi
@@ -57,6 +57,10 @@ namespace Tracker {
 		public GLib.PtrArray statistics_get () throws GLib.Error;
 		[CCode (cname = "tracker_statistics_get_async")]
 		public void statistics_get_async (Tracker.ReplyGPtrArray callback);
+		[CCode (cname = "tracker_resources_writeback_connect")]
+		public void writeback_connect (Tracker.WritebackCallback callback);
+		[CCode (cname = "tracker_resources_writeback_disconnect")]
+		public void writeback_disconnect ();
 	}
 	[Compact]
 	[CCode (free_function = "g_object_unref", cheader_filename = "libtracker-client/tracker-sparql-builder.h")]
@@ -109,6 +113,8 @@ namespace Tracker {
 	public delegate void ReplyGPtrArray (GLib.PtrArray result, GLib.Error error);
 	[CCode (cheader_filename = "libtracker-client/tracker.h", instance_pos = -2)]
 	public delegate void ReplyVoid (GLib.Error error);
+	[CCode (cheader_filename = "libtracker-client/tracker.h", instance_pos = -2)]
+	public delegate void WritebackCallback (GLib.HashTable resources);
 
 	[CCode (cheader_filename = "libtracker-client/tracker.h")]
 	public const string DBUS_INTERFACE_RESOURCES;



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