MSearchPluginObserver Class Reference

class MSearchPluginObserver

Observer class for the search plug-ins.

Member Functions Documentation

ResultFoundL(CSearchLightResult *, TInt, TInt)

voidResultFoundL(CSearchLightResult *aResult,
TIntaCurrentDocument,
TIntaTotalDocuments
)[pure virtual]

Called when a is result is found.

Parameters

CSearchLightResult * aResultPointer to the found result. Ownership is transferred.
TInt aCurrentDocumentThe index of document that is currently being searched.
TInt aTotalDocumentsThe total count of documents to be searched (from all content).

ResultsRetrieveCompleteL(RPointerArray< CSearchResult > &)

voidResultsRetrieveCompleteL(RPointerArray< CSearchResult > &aResultArray)[pure virtual]

Called when operation is complete.

Parameters

RPointerArray< CSearchResult > & aResultArrayThe results returned by the operation. Ownership of the items is transferred to the caller.

SearchCompletedL(TInt, TInt)

voidSearchCompletedL(TIntaSearchResult,
TIntaTotalNumberOfResults
)[pure virtual]

Called when the plug-in has completed the search process.

Parameters

TInt aSearchResultResult of the search. KErrNone of OK, otherwise an error code.
TInt aTotalNumberOfResultsThe number of total search results.

SearchPluginCompletedL(TUid)

voidSearchPluginCompletedL(TUidaUid)[pure virtual]

Parameters

TUid aUid

SearchPluginObserverExtensionL(TUid)

TAny *SearchPluginObserverExtensionL(TUid)[inline, virtual]

Returns the extension for this interface. If no extension is available, return NULL.

Parameters

TUid