epoc32/include/app/MPbk2FieldPropertyArray2.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/app/MPbk2FieldPropertyArray2.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,64 @@
     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 property array interface.
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +
    1.22 +#ifndef MPBK2FIELDPROPERTYARRAY2_H
    1.23 +#define MPBK2FIELDPROPERTYARRAY2_H
    1.24 +
    1.25 +// INCLUDE FILES
    1.26 +#include <e32def.h>
    1.27 +
    1.28 +// FORWARD DECLARATIONS
    1.29 +class MPbk2FieldProperty;
    1.30 +class MVPbkFieldType;
    1.31 +
    1.32 +// CLASS DECLARATION
    1.33 +/**
    1.34 + * This class is an extension to MPbk2FieldPropertyArray.
    1.35 + * See documentation of MPbk2FieldPropertyArray from header
    1.36 + * MPbk2FieldPropertyArray.h 
    1.37 + * 
    1.38 + * You can access this extension by calling
    1.39 + * MPbk2FieldPropertyArray->FieldPropertyArrayExtension()
    1.40 + */
    1.41 +class MPbk2FieldPropertyArray2
    1.42 +    {
    1.43 +    public: // Interface
    1.44 +        /**
    1.45 +         * Returns a property for the field type and given name or NULL.
    1.46 +         *
    1.47 +         * @param aFieldType    The field type whose property is
    1.48 +         *                      searched for.
    1.49 +         * @param aName    Name for the filed type
    1.50 +         * @return  A field property for the field type
    1.51 +         *          or NULL if not found.
    1.52 +         */
    1.53 +        virtual const MPbk2FieldProperty* FindProperty(
    1.54 +                    const MVPbkFieldType& aFieldType,
    1.55 +                    const TDesC& aName ) const = 0;
    1.56 +
    1.57 +    protected:
    1.58 +        /**
    1.59 +         * Destructor.
    1.60 +         */
    1.61 +        virtual ~MPbk2FieldPropertyArray2()
    1.62 +                {}
    1.63 +    };
    1.64 +
    1.65 +#endif // MPBK2FIELDPROPERTYARRAY2_H
    1.66 +
    1.67 +// End of File