2 * Copyright (c) 2005-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: Phonebook 2 field properties factory.
19 #ifndef PBK2FIELDPROPERTIESFACTORY_H
20 #define PBK2FIELDPROPERTIESFACTORY_H
25 // FORWARD DECLARATIONS
26 class MVPbkFieldTypeList;
27 class MPbk2FieldPropertyArray;
31 * Phonebook 2 field properties factory.
32 * Pbk2FieldPropertiesFactory is responsible for creating field
35 * @see MPbk2FieldPropertyArray
37 class Pbk2FieldPropertiesFactory
42 * Creates a new field property array.
44 * @param aSupportedFieldTypeList A list of Virtual Phonebook
45 * field types. Pass the master
46 * field type list to have all
47 * the properties loaded.
48 * @param aRFs A file system session reference
49 * for reading resources.
50 * If NULL then own session
52 * @return Field property array.
54 IMPORT_C static MPbk2FieldPropertyArray* CreateL(
55 const MVPbkFieldTypeList& aSupportedFieldTypeList,
59 * Creates a new field property array.
61 * @param aSupportedFieldTypeList A list of Virtual Phonebook
62 * field types. Pass the master
63 * field type list to have all
64 * the properties loaded.
65 * @param aRFs A file system session reference
66 * for reading resources.
67 * If NULL then own session
69 * @return Field property array.
71 IMPORT_C static MPbk2FieldPropertyArray* CreateLC(
72 const MVPbkFieldTypeList& aSupportedFieldTypeList,
76 #endif // PBK2FIELDPROPERTIESFACTORY_H