connectionutilities/ConnectionDialogs/inc/ConnectionInfoArray.h
changeset 0 5a93021fdf25
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Declaration of class CConnectionInfoArray
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __CCONNECTIONINFOARRAY_H__
       
    20 #define __CCONNECTIONINFOARRAY_H__
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <bamdesca.h>
       
    25 
       
    26 
       
    27 // FORWARD DECLARATION
       
    28 class CConnectionInfo;
       
    29 
       
    30 
       
    31 // CLASS DECLARATION
       
    32 /**
       
    33 * CConnectionInfoArray class
       
    34 */
       
    35 NONSHARABLE_CLASS( CConnectionInfoArray ) : 
       
    36                                         public CArrayPtrFlat<CConnectionInfo>,
       
    37                                         public MDesC16Array
       
    38 {
       
    39     public:    
       
    40         /**
       
    41         * Default constructor
       
    42         */
       
    43         CConnectionInfoArray();        
       
    44 
       
    45         
       
    46     public: // from MDesCArray
       
    47         /** 
       
    48         * Returns the number of descriptor elements in a descriptor array.
       
    49         * @return The number of descriptor elements in a descriptor array. 
       
    50         */
       
    51         virtual TInt MdcaCount() const;
       
    52 
       
    53         /** 
       
    54         * Indexes into a descriptor array.
       
    55         * @param aIndex The position of the descriptor element within a 
       
    56         * descriptor array. 
       
    57         * The position is relative to zero; i.e. zero implies the first 
       
    58         * descriptor element in a descriptor array. 
       
    59         * @return A  non-modifiable pointer descriptor representing 
       
    60         * the descriptor element located at position aIndex within a 
       
    61         * descriptor array. 
       
    62         */
       
    63         virtual TPtrC MdcaPoint( TInt aIndex ) const;
       
    64 };                             
       
    65 
       
    66 #endif
       
    67 
       
    68 // End of File