[tracker/miner-web: 29/49] Complete TrackerMiner* bindings and bind TrackerPasswordProvider
- From: Adrien Bustany <abustany src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/miner-web: 29/49] Complete TrackerMiner* bindings and bind TrackerPasswordProvider
- Date: Tue, 2 Feb 2010 22:12:01 +0000 (UTC)
commit a191efdf25a630d5258800a8e478d01b2666b58b
Author: Adrien Bustany <madcat mymadcat com>
Date: Sat Jan 30 17:59:50 2010 -0300
Complete TrackerMiner* bindings and bind TrackerPasswordProvider
.../vapi/tracker-miner-0.7-custom.vala | 29 ++++++++++++++++++++
.../vapi/tracker-miner-0.7.metadata | 12 +++++++-
2 files changed, 40 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/vapi/tracker-miner-0.7-custom.vala b/src/libtracker-miner/vapi/tracker-miner-0.7-custom.vala
index 23e5fc5..3e52344 100644
--- a/src/libtracker-miner/vapi/tracker-miner-0.7-custom.vala
+++ b/src/libtracker-miner/vapi/tracker-miner-0.7-custom.vala
@@ -5,5 +5,34 @@ namespace Tracker {
public async void execute_batch_update (string sparql);
public async unowned GLib.PtrArray execute_sparql (string sparql);
public async void execute_update (string sparql);
+
+ public virtual void started ();
+ public virtual void stopped ();
+ public virtual void paused ();
+ public virtual void resumed ();
+ public virtual void writeback (string[] subjects);
+
+ public signal void error (GLib.Error e);
+ }
+
+ [CCode (cheader_filename = "libtracker-miner/tracker-miner-fs.h")]
+ public class MinerFS {
+ public virtual bool check_file (GLib.File file);
+ public virtual bool check_directory (GLib.File directory);
+ public virtual bool check_directory_contents (GLib.File directory, GLib.List<GLib.File> children);
+ public virtual bool monitor_directory (GLib.File directory);
+ // Commented out since we don't have a Tracker.SparqlBuilder binding yet
+ //public virtual bool process_file (GLib.File file, Tracker.SparqlBuilder builder, GLib.Cancellable cancellable);
+ //public virtual bool writeback_file (GLib.File file, Tracker.SparqlBuilder builder, GLib.Cancellable cancellable);
+
+ public signal void finished (double elapsed, uint directories_found, uint directories_ignored, uint files_found, uint files_ignored);
+ }
+
+ [CCode (cheader_filename="libtracker-miner/tracker-miner-web.h")]
+ public class MinerWeb : Miner {
+ public virtual void associate (GLib.HashTable association_data) throws MinerWebError;
+ public virtual Tracker.MinerWebAssociationStatus authenticate () throws MinerWebError;
+ public virtual void dissociate () throws MinerWebError;
+ public virtual GLib.HashTable get_association_data () throws MinerWebError;
}
}
diff --git a/src/libtracker-miner/vapi/tracker-miner-0.7.metadata b/src/libtracker-miner/vapi/tracker-miner-0.7.metadata
index a223d5d..7fe5bd7 100644
--- a/src/libtracker-miner/vapi/tracker-miner-0.7.metadata
+++ b/src/libtracker-miner/vapi/tracker-miner-0.7.metadata
@@ -3,6 +3,8 @@ TrackerMinerWeb cheader_filename="libtracker-miner/tracker-miner-web.h"
TrackerMinerWebAssociationStatus cheader_filename="libtracker-miner/tracker-miner-web.h"
TRACKER_MINER_* cheader_filename="libtracker-miner/tracker-miner.h"
TrackerMinerFS cheader_filename="libtracker-miner/tracker-miner-fs.h"
+TrackerMiner.parent_instance hidden="1"
+TrackerMinerFS.parent hidden="1"
TrackerMinerClass hidden="1"
tracker_miner_commit hidden="1"
tracker_miner_commit_finish hidden="1"
@@ -12,12 +14,20 @@ tracker_miner_execute_sparql hidden="1"
tracker_miner_execute_sparql_finish hidden="1"
tracker_miner_execute_update hidden="1"
tracker_miner_execute_update_finish hidden="1"
+tracker_miner_writeback hidden="1"
TrackerMinerFS.private hidden="1"
TrackerMinerFSClass hidden="1"
TrackerMinerFSDoneCb hidden="1"
tracker_miner_dbus_* hidden="1"
TrackerMiner.private hidden="1"
-TrackerPasswordProvider* hidden="1"
TrackerMinerWeb.private hidden="1"
+TrackerMinerWeb.parent_instance hidden="1"
TrackerMinerWebClass hidden="1"
TrackerMinerWebError errordomain="1" cheader_filename="libtracker-miner/tracker-miner-web.h"
+tracker_miner_web_associate hidden="1"
+tracker_miner_web_dissociate hidden="1"
+tracker_miner_web_authenticate hidden="1"
+tracker_miner_web_get_association_data hidden="1"
+TrackerPasswordProviderIface hidden="1"
+TrackerPasswordProviderError errordomain="1" cheader_filename="libtracker-miner/tracker-password-provider.h"
+TrackerPasswordProvider cheader_filename="libtracker-miner/tracker-password-provider.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]