![]() |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Base class for search providers. More...
#include "ifinder.h"
Public Member Functions | |
virtual | ~IFinder () |
virtual QStringList | GetCategories () const =0 |
Returns the plugin's categories. More... | |
virtual QList< IFindProxy_ptr > | GetProxy (const LC::Request &r)=0 |
Returns find proxies for the given request. More... | |
virtual void | categoriesChanged (const QStringList &newCats, const QStringList &oldCats)=0 |
This signal should be emitted by plugin after the list of categories has been updated. More... | |
Base class for search providers.
Plugin is handled for the supported categories by GetCategories() when needed, and GetProxy() is called for individual sub-requests.
|
pure virtual |
This signal should be emitted by plugin after the list of categories has been updated.
[out] | newCats | The list of new categories. |
[out] | oldCats | The list of old categories. |
|
pure virtual |
Returns the plugin's categories.
Returns the categories of requests that this plugin is able to handle. This list isn't cached, so it can be freely changed in runtime, though changes to the list won't be visible until user issues a new search request.
|
pure virtual |
Returns find proxies for the given request.
Returns a shared pointer to IFindProxy objects that handle this sub-request r.
[in] | r | The request that should be handled by the returned IFindProxy objects. |