1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/app/Pbk2FieldPropertiesFactory.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,78 @@
1.4 +/*
1.5 +* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description: Phonebook 2 field properties factory.
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +#ifndef PBK2FIELDPROPERTIESFACTORY_H
1.23 +#define PBK2FIELDPROPERTIESFACTORY_H
1.24 +
1.25 +// INCLUDE FILES
1.26 +#include <e32def.h>
1.27 +
1.28 +// FORWARD DECLARATIONS
1.29 +class MVPbkFieldTypeList;
1.30 +class MPbk2FieldPropertyArray;
1.31 +class RFs;
1.32 +
1.33 +/**
1.34 + * Phonebook 2 field properties factory.
1.35 + * Pbk2FieldPropertiesFactory is responsible for creating field
1.36 + * property arrays.
1.37 + *
1.38 + * @see MPbk2FieldPropertyArray
1.39 + */
1.40 +class Pbk2FieldPropertiesFactory
1.41 + {
1.42 + public: // Interface
1.43 +
1.44 + /**
1.45 + * Creates a new field property array.
1.46 + *
1.47 + * @param aSupportedFieldTypeList A list of Virtual Phonebook
1.48 + * field types. Pass the master
1.49 + * field type list to have all
1.50 + * the properties loaded.
1.51 + * @param aRFs A file system session reference
1.52 + * for reading resources.
1.53 + * If NULL then own session
1.54 + * is created.
1.55 + * @return Field property array.
1.56 + */
1.57 + IMPORT_C static MPbk2FieldPropertyArray* CreateL(
1.58 + const MVPbkFieldTypeList& aSupportedFieldTypeList,
1.59 + RFs* aRFs = NULL );
1.60 +
1.61 + /**
1.62 + * Creates a new field property array.
1.63 + *
1.64 + * @param aSupportedFieldTypeList A list of Virtual Phonebook
1.65 + * field types. Pass the master
1.66 + * field type list to have all
1.67 + * the properties loaded.
1.68 + * @param aRFs A file system session reference
1.69 + * for reading resources.
1.70 + * If NULL then own session
1.71 + * is created.
1.72 + * @return Field property array.
1.73 + */
1.74 + IMPORT_C static MPbk2FieldPropertyArray* CreateLC(
1.75 + const MVPbkFieldTypeList& aSupportedFieldTypeList,
1.76 + RFs* aRFs = NULL );
1.77 + };
1.78 +
1.79 +#endif // PBK2FIELDPROPERTIESFACTORY_H
1.80 +
1.81 +// End of File