class MNcdSearchFilter |
Search filter interface.
Allows setting of keywords and/or content types to limit searches.
Default implementation class can be found in ncdutils.h.
Public Member Functions | |
---|---|
TUint | ContentPurposes () |
const MDesCArray & | Keywords () |
TUint | RecursionDepth () |
TSearchMode | SearchMode () |
Protected Member Functions | |
---|---|
~MNcdSearchFilter () |
Public Member Enumerations | |
---|---|
enum | TSearchMode { ENormal = 0, EAcceptItems } |
TUint | ContentPurposes | ( | ) | const [pure virtual] |
Returns content types set for the filter. Items must match one of the types in order to be included in search results.
const MDesCArray & | Keywords | ( | ) | const [pure virtual] |
Returns keywords set for the filter. Items must match all keywords in order to be included in search results.
Search mode
ENormal = 0 |
Normal search Items returned by the server in the search response are ignored. This mode should be used always when doing recursive searches |
EAcceptItems |
Accept items in the search response
This mode should be used if the server returns items in its search responses.
Note:
Recursive searching is discouraged because it can cause performance issues. |
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.