epoc32/include/app/MVPbkStoreContactField2.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/app/MVPbkStoreContactField2.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,68 @@
     1.4 +/*
     1.5 +* Copyright (c) 2009 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:  An interface for the field of the store contact
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +#ifndef MVPBKSTORECONTACTFIELD2_H
    1.22 +#define MVPBKSTORECONTACTFIELD2_H
    1.23 +
    1.24 +// INCLUDES
    1.25 +#include <e32base.h>
    1.26 +
    1.27 +// CONSTANTS
    1.28 +
    1.29 +// Use this UID to access store contact field extension 2.
    1.30 +// Used as a parameter to StoreContactFieldExtension() method.
    1.31 +const TUid KMVPbkStoreContactFieldExtension2Uid = { 2 };
    1.32 +
    1.33 +// FORWARD DECLARATIONS
    1.34 +
    1.35 +class CVPbkContactManager;
    1.36 +
    1.37 +// CLASS DECLARATIONS
    1.38 +
    1.39 +/**
    1.40 + * This class is an extension to MVPbkStoreContactField.
    1.41 + * See documentation of MVPbkStoreContactField from header
    1.42 + * MVPbkStoreContactField.h
    1.43 + *
    1.44 + *
    1.45 + * @see MVPbkStoreContactField
    1.46 + *
    1.47 + */
    1.48 +class MVPbkStoreContactField2
    1.49 +    {
    1.50 +    public:  // Interface
    1.51 +
    1.52 +        /**
    1.53 +         * Get the speed dial indexes of contact field.
    1.54 +         *
    1.55 +         * @param aContactManager Contact manager.
    1.56 +         * @return Array of indexes or NULL. Caller takes ownership of
    1.57 +         * the returned object.
    1.58 +         */
    1.59 +        virtual CArrayFix<TInt>* SpeedDialIndexesL() = 0;
    1.60 +
    1.61 +    protected: // Protected destructor
    1.62 +
    1.63 +        ~MVPbkStoreContactField2() { }
    1.64 +
    1.65 +    };
    1.66 +
    1.67 +
    1.68 +#endif  // MVPBKSTORECONTACTFIELD_H
    1.69 +
    1.70 +// End of file
    1.71 +