diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-06-17 20:47:59 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-06-29 20:49:05 +0200 |
commit | 7e3f1f3214f68664c4196dbf11826052ac10ec1e (patch) | |
tree | e6693be70f8c0bec46e5992d9cd3f31fdcd7ff60 /docs | |
parent | e15c330afb35c4396a79c14988719d5d65e47825 (diff) | |
download | tracker-7e3f1f3214f68664c4196dbf11826052ac10ec1e.tar.gz |
libtracker-miner: Change API of ::process-file[-attributes]
There's a few changes here:
- The 2 vmethods are now given a GTask, its cancellable is to be
used if the handling goes async.
- tracker_miner_fs_file_notify() has changed into a more generic
tracker_miner_fs_notify_finish() method, that takes such GTask
and completes it.
- The vmethods are no longer given a TrackerSparqlBuilder, instead
they are expected to create the SPARQL through whatever mean is
most fit. The sparql is given in the tracker_miner_fs_notify_finish()
func. This opens the door to TrackerMinerFS implementations using
TrackerResource.
The intent is 1) Pass something to these vmethods that the user
can't forge or mess with, as matching on GFile relies that it's the
same pointer that it was given in the vmethods. And 2) Make the finish()
function more generic to be fit to other methods going async.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/libtracker-miner/libtracker-miner-sections.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/libtracker-miner/libtracker-miner-sections.txt b/docs/reference/libtracker-miner/libtracker-miner-sections.txt index 2a6aabb16..9b23c948f 100644 --- a/docs/reference/libtracker-miner/libtracker-miner-sections.txt +++ b/docs/reference/libtracker-miner/libtracker-miner-sections.txt @@ -202,7 +202,7 @@ tracker_miner_fs_check_directory_with_priority tracker_miner_fs_force_recheck tracker_miner_fs_writeback_file tracker_miner_fs_writeback_notify -tracker_miner_fs_file_notify +tracker_miner_fs_notify_finish tracker_miner_fs_get_urn tracker_miner_fs_get_parent_urn tracker_miner_fs_query_urn |