A null provider. More...
#include <spotlight.h>
Public Member Functions | |
Constructor & Destructor | |
NullProvider () | |
Default constructor. | |
virtual | ~NullProvider () |
Destructor. | |
virtual void | search (IItem::Vector &, const SearchToken::Vector &) |
Rebuild the result list from a list of tokens. | |
![]() | |
IProvider () | |
Default constructor. | |
virtual | ~IProvider () |
Destructor. | |
virtual void | search (IItem::Vector &out, const SearchToken::Vector &tokens, const Yuni::String &text="")=0 |
Rebuild the result list from a list of tokens. | |
void | redoResearch () |
Redo the research. | |
virtual bool | onSelect (IItem::Ptr &item) |
Event: an item has been selected. | |
virtual bool | onSelect (const IItem::Vector &items) |
Event: a list of items have been selected (more than one) | |
virtual bool | onDoubleClickSelect (IItem::Ptr &item) |
Event: an item has been selected. | |
Spotlight * | component () const |
Get the pointer of the attached component (can be null) | |
Additional Inherited Members | |
![]() | |
using | Ptr = std::shared_ptr<IProvider> |
ptr | |
![]() | |
Spotlight * | pSpotlightComponent |
The parent component (can be null) | |
A null provider.