![]() |
LeechCraft
%{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
|
Base interface for data filter plugins. More...
#include "idatafilter.h"
Classes | |
struct | FilterVariant |
Public Member Functions | |
virtual | ~IDataFilter () |
virtual QString | GetFilterVerb () const =0 |
virtual QList< FilterVariant > | GetFilterVariants () const =0 |
Base interface for data filter plugins.
Data filter plugins provide some means to manipulate and alter data. Examples of such plugins are image uploaders to various image bins, text finders, etc.
The list of possible data filter variants (that is, image bins supported by a single plugin) is returned from the GetFilterVariants() function.
Plugins implementing this interface are also expected to implement IEntityHandler, considering (and accepting) entities with MIME "x-leechcraft/data-filter-request". Such entities will contain the entity to filter (like, a piece of text or an image) in the Entity::Entity_ field and may contain the "DataFilter" key in the Entity::Additional_ map with the name of the exact filter variant to use (if user has already selected it).
Definition at line 55 of file idatafilter.h.
|
inlinevirtual |
Definition at line 65 of file idatafilter.h.
|
pure virtual |
Referenced by LeechCraft::Util::StdDataFilterMenuCreator::StdDataFilterMenuCreator().
|
pure virtual |