[tracker/miner-twitter: 2/3] vapi: Add tracker-client binding
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-twitter: 2/3] vapi: Add tracker-client binding
- Date: Wed, 10 Mar 2010 11:22:02 +0000 (UTC)
commit 81ec6cfb5deae12947ead80dcac3d31fc25438ab
Author: Adrien Bustany <abustany gnome org>
Date: Fri Mar 5 20:55:06 2010 -0300
vapi: Add tracker-client binding
src/vapi/tracker-client-0.7.vapi | 115 ++++++++++++++++++++++++++++++++++++++
1 files changed, 115 insertions(+), 0 deletions(-)
---
diff --git a/src/vapi/tracker-client-0.7.vapi b/src/vapi/tracker-client-0.7.vapi
new file mode 100644
index 0000000..ab873f1
--- /dev/null
+++ b/src/vapi/tracker-client-0.7.vapi
@@ -0,0 +1,115 @@
+/* tracker-client-0.7.vapi generated by vapigen, do not modify. */
+
+[CCode (cprefix = "Tracker", lower_case_cprefix = "tracker_")]
+namespace Tracker {
+ [Compact]
+ [CCode (cheader_filename = "libtracker-client/tracker.h")]
+ public class Client {
+ [CCode (has_construct_function = false)]
+ public Client (Tracker.ClientFlags flags, int timeout);
+ }
+ [Compact]
+ [CCode (free_function = "g_object_unref", cheader_filename = "libtracker-client/tracker-sparql-builder.h")]
+ public class SparqlBuilder {
+ [CCode (has_construct_function = false)]
+ public SparqlBuilder ();
+ public void append (string raw);
+ public static unowned Tracker.SparqlBuilder @construct (GLib.Type object_type);
+ public static unowned Tracker.SparqlBuilder construct_embedded_insert (GLib.Type object_type);
+ public static unowned Tracker.SparqlBuilder construct_update (GLib.Type object_type);
+ public void delete_close ();
+ public void delete_open (string graph);
+ public void drop_graph (string iri);
+ [CCode (has_construct_function = false)]
+ public SparqlBuilder.embedded_insert ();
+ public int get_length ();
+ public unowned string get_result ();
+ public void insert_close ();
+ public void insert_open (string graph);
+ public void object (string s);
+ public void object_blank_close ();
+ public void object_blank_open ();
+ public void object_boolean (bool literal);
+ public void object_date (ulong literal);
+ public void object_double (double literal);
+ public void object_int64 (int64 literal);
+ public void object_iri (string iri);
+ public void object_string (string literal);
+ public void object_unvalidated (string value);
+ public void object_variable (string var_name);
+ public void predicate (string s);
+ public void predicate_iri (string iri);
+ public void prepend (string raw);
+ public void subject (string s);
+ public void subject_iri (string iri);
+ public void subject_variable (string var_name);
+ [CCode (has_construct_function = false)]
+ public SparqlBuilder.update ();
+ public void where_close ();
+ public void where_open ();
+ }
+ [CCode (cprefix = "TRACKER_CLIENT_ENABLE_", has_type_id = false, cheader_filename = "libtracker-client/tracker.h")]
+ public enum ClientFlags {
+ WARNINGS
+ }
+ [CCode (cheader_filename = "tracker-client-0.7.h", instance_pos = -2)]
+ public delegate void ReplyArray (string result, GLib.Error error);
+ [CCode (cheader_filename = "tracker-client-0.7.h", instance_pos = -2)]
+ public delegate void ReplyGPtrArray (GLib.PtrArray result, GLib.Error error);
+ [CCode (cheader_filename = "tracker-client-0.7.h", instance_pos = -2)]
+ public delegate void ReplyVoid (GLib.Error error);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public const string DBUS_INTERFACE_RESOURCES;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public const string DBUS_INTERFACE_STATISTICS;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public const string DBUS_OBJECT;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public const string DBUS_SERVICE;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static bool cancel_call (Tracker.Client client, uint call_id);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static bool cancel_last_call (Tracker.Client client);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static unowned Tracker.Client connect (bool enable_warnings, int timeout);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static void disconnect (Tracker.Client client);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static void resources_batch_commit (Tracker.Client client) throws GLib.Error;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint resources_batch_commit_async (Tracker.Client client, Tracker.ReplyVoid callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static void resources_batch_sparql_update (Tracker.Client client, string query) throws GLib.Error;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint resources_batch_sparql_update_async (Tracker.Client client, string query, Tracker.ReplyVoid callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static void resources_load (Tracker.Client client, string uri) throws GLib.Error;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint resources_load_async (Tracker.Client client, string uri, Tracker.ReplyVoid callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static unowned GLib.PtrArray resources_sparql_query (Tracker.Client client, string query) throws GLib.Error;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint resources_sparql_query_async (Tracker.Client client, string query, Tracker.ReplyGPtrArray callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static void resources_sparql_update (Tracker.Client client, string query) throws GLib.Error;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint resources_sparql_update_async (Tracker.Client client, string query, Tracker.ReplyVoid callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static unowned GLib.PtrArray resources_sparql_update_blank (Tracker.Client client, string query) throws GLib.Error;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint resources_sparql_update_blank_async (Tracker.Client client, string query, Tracker.ReplyGPtrArray callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint search_metadata_by_text_and_location_async (Tracker.Client client, string query, string location, Tracker.ReplyArray callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint search_metadata_by_text_and_mime_and_location_async (Tracker.Client client, string query, string mimes, string location, Tracker.ReplyArray callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint search_metadata_by_text_and_mime_async (Tracker.Client client, string query, string mimes, Tracker.ReplyArray callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint search_metadata_by_text_async (Tracker.Client client, string query, Tracker.ReplyArray callback);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static unowned string sparql_escape (string str);
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static unowned GLib.PtrArray statistics_get (Tracker.Client client) throws GLib.Error;
+ [CCode (cheader_filename = "tracker-client-0.7.h")]
+ public static uint statistics_get_async (Tracker.Client client, Tracker.ReplyGPtrArray callback);
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]