2 * Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: A parameter class for a find operation.
19 #ifndef T_TVPBKWORDPARSERCALLBACKPARAM_H
20 #define T_TVPBKWORDPARSERCALLBACKPARAM_H
25 * A parameter class for a find operation.
27 * The parameter is used in TCallBack parameter to the client when it uses
28 * the find operation of the contact manager. The find operations will
29 * then leave the parsing of words to clients responsibility.
30 * The Virtual Phonebook store implementation will set the iStringToParse
31 * and client then fills the iWordArray.
33 * @see CVPbkContactManager::FindL
35 struct TVPbkWordParserCallbackParam
40 * @param aStringToParse a string that must be parsed to iWordArray
41 * @param aWordArray an array for parsed words
43 inline TVPbkWordParserCallbackParam( const TDesC* aStringToParse,
44 CDesCArray* aWordArray )
45 : iStringToParse( aStringToParse ),
46 iWordArray( aWordArray ) {}
49 * Not Own: a string that client must parse.
51 const TDesC* iStringToParse;
54 * Not Own: an array for parsed words.
56 CDesCArray* iWordArray;
59 #endif // T_TVPBKWORDPARSERCALLBACKPARAM_H