[tracker/gdbus-store: 2/8] libtracker-common: Add more bindings to the VAPI



commit c2615cd70e3400ad0559c16f98b7bfa4b1b14954
Author: Jürg Billeter <j bitron ch>
Date:   Wed Jan 12 11:36:27 2011 +0100

    libtracker-common: Add more bindings to the VAPI

 src/libtracker-common/libtracker-common.vapi |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/libtracker-common.vapi b/src/libtracker-common/libtracker-common.vapi
index eb546db..36644c8 100644
--- a/src/libtracker-common/libtracker-common.vapi
+++ b/src/libtracker-common/libtracker-common.vapi
@@ -58,5 +58,26 @@ namespace Tracker {
 		public static void save_string_list (void *object, string property, GLib.KeyFile key_file, string group, string key);
 		public static void save_directory_list (void *object, string property, GLib.KeyFile key_file, string group, string key);
 	}
+
+	[CCode (cheader_filename = "libtracker-common/tracker-common.h")]
+	namespace Log {
+		public bool init (int verbosity, out string used_filename);
+		public void shutdown ();
+	}
+
+	[Compact]
+	[CCode (ref_function = "", unref_function = "", cheader_filename = "libtracker-common/tracker-common.h")]
+	public class DBusRequest {
+		public static DBusRequest begin (string? sender, string format,...);
+		public void debug (string format,...);
+		public void end (GLib.Error? e = null);
+		[CCode (cname = "tracker_dbus_enable_client_lookup")]
+		public static void enable_client_lookup (bool enable);
+	}
+
+	[CCode (cheader_filename = "libtracker-common/tracker-common.h")]
+	public bool env_check_xdg_dirs ();
+	[CCode (cheader_filename = "libtracker-common/tracker-common.h")]
+	public void ioprio_init ();
 }
 



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