D4911: add Baloo DBus signals for moved or removed files

Matthieu Gallien noreply at phabricator.kde.org
Sun Apr 30 12:20:28 UTC 2017


mgallien added a comment.


  In https://phabricator.kde.org/D4911#106088, @dfaure wrote:
  
  > Could this be made more lightweight by adding a precise subscription method rather than signal broadcasts?
  
  
  I will work on this solution.
  
  > The interested application would register into baloo (using dbus or C++, not sure what's applicable here), saying "please do inform me about changes" or maybe even "please inform me about changes <in these dirs> or <for files of this mimetype>". And the MetadataMover code would only emit a dbus signal if 1) someone registered, 2) the signal passes the dir or mimetype filter.
  > 
  > This way, nothing changes performance-wise for people not using an app that needs these signals.
  
  Thanks David for your suggestion. This looks like a great idea and should really help me find a solution that works for applications.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D4911

To: mgallien, vhanda, dfaure
Cc: cullmann, apol, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170430/d66c48d7/attachment.html>


More information about the Kde-frameworks-devel mailing list