MSearchPluginObserver Class Reference
class MSearchPluginObserver |
Observer class for the search plug-ins.
Member Functions Documentation
ResultFoundL(CSearchLightResult *, TInt, TInt)
void | ResultFoundL | ( | CSearchLightResult * | aResult, |
| TInt | aCurrentDocument, |
| TInt | aTotalDocuments |
| ) | [pure virtual] |
Called when a is result is found.
Parameters
CSearchLightResult * aResult | Pointer to the found result. Ownership is transferred. |
TInt aCurrentDocument | The index of document that is currently being searched. |
TInt aTotalDocuments | The total count of documents to be searched (from all content). |
ResultsRetrieveCompleteL(RPointerArray< CSearchResult > &)
Called when operation is complete.
Parameters
RPointerArray< CSearchResult > & aResultArray | The results returned by the operation. Ownership of the items is transferred to the caller. |
SearchCompletedL(TInt, TInt)
void | SearchCompletedL | ( | TInt | aSearchResult, |
| TInt | aTotalNumberOfResults |
| ) | [pure virtual] |
Called when the plug-in has completed the search process.
Parameters
TInt aSearchResult | Result of the search. KErrNone of OK, otherwise an error code. |
TInt aTotalNumberOfResults | The number of total search results. |
SearchPluginCompletedL(TUid)
void | SearchPluginCompletedL | ( | TUid | aUid | ) | [pure virtual] |
SearchPluginObserverExtensionL(TUid)
TAny * | SearchPluginObserverExtensionL | ( | TUid | | ) | [inline, virtual] |
Returns the extension for this interface. If no extension is available, return NULL.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.