CSearchClientSessionImp Class Reference
class CSearchClientSessionImp : public CActive
|
This class represents an implementation to the client side session to search framework. This class is dervied from
CActive
and is used to impliment the session in the \ client side searchclient.lib
Constructor & Destructor Documentation
CSearchClientSessionImp()
CSearchClientSessionImp
|
(
|
)
|
[private]
|
Performs the first phase of two phase construction.
~CSearchClientSessionImp()
~CSearchClientSessionImp
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CancelResult()
Cancels the currently ongoing search.
CancelSearch()
Cancels the currently ongoing search.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Performs the second phase construction.
ContinueSearchingLightL()
void
|
ContinueSearchingLightL
|
(
|
)
|
[private]
|
Continues asking Light results
DoCancel()
void
|
DoCancel
|
(
|
)
|
[private, virtual]
|
From
CActive
. Implements cancellation of an outstanding request.
GetLaunchInfoL(const CSearchDocumentId &)
Get file launch information.
GetResultsL(const RPointerArray< CSearchDocumentId > &, MSearchResultRetrieveObserver *)
Gets the results. Asynchronous.
GetSupportedContentL(RPointerArray< CSearchContent > &, TUid)
Function returning a list of support content types that can be searched by the engine.
GetSupportedServicesL(RArray< TUid > &)
void
|
GetSupportedServicesL
|
(
|
RArray
<
TUid
> &
|
aServiceIdArray
|
)
|
|
Gets supported service ids by the search framework.
IsSearching()
Function returning ETrue when a search is ongoing. EFalse otherwise.
LaunchApplicationL(const CSearchDocumentId &)
Launches a viewer/editor application for the given result id.
NewL()
Symbian OS 2 phased constructor.
NewLC()
Symbian OS 2 phased constructor.
RunError(TInt)
TInt
|
RunError
|
(
|
TInt
|
aError
|
)
|
[private, virtual]
|
From
CActive
. Handles a leave occurring in the request completion event handler
RunL()
.
RunL()
void
|
RunL
|
(
|
)
|
[private, virtual]
|
From
CActive
. Handles an active object s request completion event.
SearchL(const CSearchQuery &, const TSearchThreshold &, MSearchQueryObserver *)
Starts the search with the specified search criteria.
Member Data Documentation
RPointerArray< CSearchLightResult > iLightResultArray
TInt
iMaxresults
TInt
|
iMaxresults
|
[private]
|
MSearchQueryObserver * iObserver
Pointer to iObserver Not own
RPointerArray< CSearchDocumentId > iResultIDArray
MSearchResultRetrieveObserver * iRetrieveObserver
Pointer to iRetrieveObserver Not own
RSearchClient
iSearchClient
Client side of the search server
TPckgBuf< TInt > iSearchCount
Set by the server Count of the results found
TPckgBuf< TInt > iSearchFinished
Set by the server when no more results Validation
TBool
iSearchPending
TBool
|
iSearchPending
|
[private]
|
TPckgBuf< TInt > iSearchRes
Set by the server Count of the results found
TInt
iSearchTotalResultsFound
TInt
|
iSearchTotalResultsFound
|
[private]
|
To keep the count of total res found
RPointerArray< CSearchResult > iheavyresult
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.