[tracker/miner-flickr: 2/24] libtracker-client: Add writeback functions to VAPI
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-flickr: 2/24] libtracker-client: Add writeback functions to VAPI
- Date: Fri, 2 Apr 2010 13:19:14 +0000 (UTC)
commit 5a8cf7e57d97f2829b0f9a344fde3fa008702129
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.vapi | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-client/tracker-client.vapi b/src/libtracker-client/tracker-client.vapi
index 007e8fa..d72335c 100644
--- a/src/libtracker-client/tracker-client.vapi
+++ b/src/libtracker-client/tracker-client.vapi
@@ -56,6 +56,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")]
@@ -108,6 +112,8 @@ namespace Tracker {
public delegate void ReplyGPtrArray (GLib.PtrArray result, GLib.Error error);
[CCode (cheader_filename = "libtracker-client/tracker-client.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-client.h")]
public const string DBUS_INTERFACE_RESOURCES;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]