CPcsPlugin Class Reference
class CPcsPlugin : public CBase
|
Search plug-ins (Ecom) interface definition.
Public Member Functions
|
|
~CPcsPlugin
()
|
void
|
ChangeSortOrderL
(
TDesC
&,
RArray
<
TInt
> &)
|
void
|
GetAdaptiveGridL
(const MDesCArray &, const
TBool
,
TDes
&)
|
void
|
GetDataOrderL
(
TDesC
&,
RArray
<
TInt
> &)
|
void
|
GetSortOrderL
(
TDesC
&,
RArray
<
TInt
> &)
|
TBool
|
IsLanguageSupportedL
(const
TUint32
)
|
CPcsPlugin
*
|
NewL
(
TUid
)
|
CPcsPlugin
*
|
NewLC
(
TUid
)
|
void
|
PerformSearchL
(const
CPsSettings
&,
CPsQuery
&,
RPointerArray
<
CPsClientData
> &,
RPointerArray
<
CPsPattern
> &)
|
TUid
|
PluginId
()
|
void
|
SearchInputL
(
CPsQuery
&,
TDesC
&,
RPointerArray
<
TDesC
> &,
RArray
< TPsMatchLocation > &)
|
void
|
SearchMatchStringL
(
CPsQuery
&,
TDesC
&,
TDes
&)
|
Constructor & Destructor Documentation
~CPcsPlugin()
~CPcsPlugin
|
(
|
)
|
[inline, virtual]
|
Member Functions Documentation
ChangeSortOrderL(TDesC &, RArray< TInt > &)
void
|
ChangeSortOrderL
|
(
|
TDesC
&
|
aURI,
|
|
RArray
<
TInt
> &
|
aDataOrder
|
|
)
|
[pure virtual]
|
Set the sort order (mapped to VPbk ids) supported for a URI
GetAdaptiveGridL(const MDesCArray &, const TBool, TDes &)
void
|
GetAdaptiveGridL
|
(
|
const MDesCArray &
|
aURIs,
|
|
const
TBool
|
aCompanyName,
|
|
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 > &)
void
|
GetDataOrderL
|
(
|
TDesC
&
|
aURI,
|
|
RArray
<
TInt
> &
|
aDataOrder
|
|
)
|
[pure virtual]
|
Get the data order (mapped to VPbk ids) supported for a URI
GetSortOrderL(TDesC &, RArray< TInt > &)
void
|
GetSortOrderL
|
(
|
TDesC
&
|
aURI,
|
|
RArray
<
TInt
> &
|
aDataOrder
|
|
)
|
[pure virtual]
|
Get the sort order (mapped to VPbk ids) supported for a URI
IsLanguageSupportedL(const TUint32)
TBool
|
IsLanguageSupportedL
|
(
|
const
TUint32
|
aLanguage
|
)
|
[pure virtual]
|
Returns ETrue if the predictive search is supported for the local language Returns EFalse otherwise
NewL(TUid)
Ecom interface static factory method implementation.
Parameters
TUid
aImpUid
|
Ecom's implementation uid
|
NewLC(TUid)
Ecom interface static factory method implementation.
Parameters
TUid
aImpUid
|
Ecom's implementation uid
|
PerformSearchL(const CPsSettings &, CPsQuery &, RPointerArray< CPsClientData > &, RPointerArray< CPsPattern > &)
Performs search Implementation needs to be provided by the algorithm classes. Search results are packed in the stream.
PluginId()
TUid
|
PluginId
|
(
|
)
|
const [inline]
|
SearchInputL(CPsQuery &, TDesC &, RPointerArray< TDesC > &, RArray< TPsMatchLocation > &)
Performs search on a input string Implementation needs to be provided by the algorithm classes
SearchMatchStringL(CPsQuery &, TDesC &, TDes &)
void
|
SearchMatchStringL
|
(
|
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
Member Data Documentation
TUid
iDtor_ID_Key
TUid
|
iDtor_ID_Key
|
[private]
|
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.