omaprovisioning/provisioning/ProvisioningEngine/Inc/MWPContextExtensionArray.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Declares extension interface for adapters.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MWPCONTEXTEXTENSIONARRAY_H
       
    20 #define MWPCONTEXTEXTENSIONARRAY_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class MWPContextExtension;
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  * MWPContextExtension has to be implemented by visitors.
       
    29 *
       
    30 *  @lib ProvisioningEngine
       
    31 *  @since 2.0
       
    32  */ 
       
    33 class MWPContextExtensionArray
       
    34     {
       
    35     public:
       
    36         /**
       
    37         * Returns the number of context extensions in this array.
       
    38         * @return Number of context extensions
       
    39         */
       
    40         virtual TInt MwpceCount() const = 0;
       
    41 
       
    42         /**
       
    43         * Returns a context extension.
       
    44         * @param aIndex Index of the extension
       
    45         * @return The reference to extension
       
    46         */
       
    47         virtual MWPContextExtension&  MwpcePoint(TInt aIndex) = 0;
       
    48     };
       
    49 
       
    50 #endif /* MWPCONTEXTEXTENSIONARRAY_H*/