summaryrefslogtreecommitdiff
path: root/src/libtracker-sparql/tracker-notifier.h
Commit message (Collapse)AuthorAgeFilesLines
* libtracker-sparql: Add TrackerNotifier to subscribe to change notificationsCarlos Garnacho2016-11-201-0/+90
This object abstracts GraphUpdated, and is now the recommended method to receive notifications upon changes in Tracker data. After creation, the caller may connect to the ::events signal. This signal packs all events received in one go, so as to avoid signal emission overhead on mass changes. The TrackerNotifier behavior can be slightly modified through the flags passed during instantiation. Eg. it can be requested to query some data (urn, location) upfront, although the API is tracker:id centric otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=773028