CPcsPlugin Class Reference

class CPcsPlugin : public CBase

Search plug-ins (Ecom) interface definition.

Inherits from

Constructor & Destructor Documentation

~CPcsPlugin()

~CPcsPlugin()[inline, virtual]

Destructor

Member Functions Documentation

ChangeSortOrderL(TDesC &, RArray< TInt > &)

voidChangeSortOrderL(TDesC &aURI,
RArray< TInt > &aDataOrder
)[pure virtual]

Set the sort order (mapped to VPbk ids) supported for a URI

Parameters

TDesC & aURI
RArray< TInt > & aDataOrder

GetAdaptiveGridL(const MDesCArray &, const TBool, TDes &)

voidGetAdaptiveGridL(const MDesCArray &aURIs,
const TBoolaCompanyName,
TDes &aAdaptiveGrid
)[pure virtual]

Returns the Adaptive Grid for one or more URI Implementation needs to be provided by the algorithm classes

Parameters

const MDesCArray & aURIs
const TBool aCompanyName
TDes & aAdaptiveGrid

GetDataOrderL(TDesC &, RArray< TInt > &)

voidGetDataOrderL(TDesC &aURI,
RArray< TInt > &aDataOrder
)[pure virtual]

Get the data order (mapped to VPbk ids) supported for a URI

Parameters

TDesC & aURI
RArray< TInt > & aDataOrder

GetSortOrderL(TDesC &, RArray< TInt > &)

voidGetSortOrderL(TDesC &aURI,
RArray< TInt > &aDataOrder
)[pure virtual]

Get the sort order (mapped to VPbk ids) supported for a URI

Parameters

TDesC & aURI
RArray< TInt > & aDataOrder

IsLanguageSupportedL(const TUint32)

TBool IsLanguageSupportedL(const TUint32aLanguage)[pure virtual]

Returns ETrue if the predictive search is supported for the local language Returns EFalse otherwise

Parameters

const TUint32 aLanguage

NewL(TUid)

CPcsPlugin *NewL(TUidaImpUid)[static, inline]

Ecom interface static factory method implementation.

Parameters

TUid aImpUidEcom's implementation uid

NewLC(TUid)

CPcsPlugin *NewLC(TUidaImpUid)[static, inline]

Ecom interface static factory method implementation.

Parameters

TUid aImpUidEcom's implementation uid

PerformSearchL(const CPsSettings &, CPsQuery &, RPointerArray< CPsClientData > &, RPointerArray< CPsPattern > &)

voidPerformSearchL(const CPsSettings &aPcsSettings,
CPsQuery &aCondition,
RPointerArray< CPsClientData > &aData,
RPointerArray< CPsPattern > &aPattern
)[pure virtual]

Performs search Implementation needs to be provided by the algorithm classes. Search results are packed in the stream.

Parameters

const CPsSettings & aPcsSettings
CPsQuery & aCondition
RPointerArray< CPsClientData > & aData
RPointerArray< CPsPattern > & aPattern

PluginId()

TUid PluginId()const [inline]

Gets the plugin id.

SearchInputL(CPsQuery &, TDesC &, RPointerArray< TDesC > &, RArray< TPsMatchLocation > &)

voidSearchInputL(CPsQuery &aSearchQuery,
TDesC &aSearchData,
RPointerArray< TDesC > &aMatchSet,
RArray< TPsMatchLocation > &aMatchLocation
)[pure virtual]

Performs search on a input string Implementation needs to be provided by the algorithm classes

Parameters

CPsQuery & aSearchQuery
TDesC & aSearchData
RPointerArray< TDesC > & aMatchSet
RArray< TPsMatchLocation > & aMatchLocation

SearchMatchStringL(CPsQuery &, TDesC &, TDes &)

voidSearchMatchStringL(CPsQuery &aSearchQuery,
TDesC &aSearchData,
TDes &aMatch
)[pure virtual]

Performs search on a input string, and return result also as a string Implementation needs to be provided by the algorithm classes

Parameters

CPsQuery & aSearchQuery
TDesC & aSearchData
TDes & aMatch

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]

TUid iPluginId

TUid iPluginId[private]