Revision 60cc5e9...

Go back to digest for 23rd December 2012

Features in KDE Base

Vishesh Handa committed changes in [nepomuk-core/KDE/4.10] /fileindexer/indexer:

FileIndexer: Give plugins better control over indexing

Plugins could initially only supply a list of mimetypes which they
support, and they would then be called when a file of that mimetype was
found.

Now, they can implement a function shouldIndex which allows them to
control exactly when they should be called. Both the old and the new
mechanism are supported. Plugins need to report which mechanism they are
using.

Also implemented an ExtractorPluginMangager to handle getting the list
of plugins to call for a particular url and mimetype.

File Changes

Added 2 files
  • /fileindexer/indexer
  •   services/extractorpluginmanager.cpp
  •   services/extractorpluginmanager.h
Modified 6 files
  • /fileindexer/indexer
  •   services/CMakeLists.txt
  •   services/extractorplugin.cpp
  •   services/extractorplugin.h
  •   services/indexer.cpp
  •   services/indexer.h
  •   services/main.cpp
8 files changed in total