apengine/apeng/inc/APItemExtra.h
changeset 61 8b0c979bbe8c
parent 59 2709c04a4af5
child 70 ac5daea24fb0
equal deleted inserted replaced
59:2709c04a4af5 61:8b0c979bbe8c
     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:  Declaration of class CApItemExtra 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CAPITEMEXTRA_H
       
    20 #define CAPITEMEXTRA_H
       
    21 
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class CApItemCdmaData;
       
    27 class CApItemWlanData;
       
    28 
       
    29 // CONSTANTS
       
    30 
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 *  Representation of the access point extra data class.
       
    36 *  Provides a way to store additional data whithout breaking BC.
       
    37 */
       
    38 class CApItemExtra :public CBase
       
    39     {
       
    40     public:
       
    41         /**
       
    42         * Two-phased constructor. Leaves on failure
       
    43         * @return The constructed CApItemExtra.
       
    44         */
       
    45         static CApItemExtra* NewL();
       
    46 
       
    47         /**
       
    48         * Destructor.
       
    49         */
       
    50         virtual ~CApItemExtra();
       
    51 
       
    52         /**
       
    53         * C++ default constructor.
       
    54         */
       
    55         CApItemExtra();
       
    56 
       
    57         /**
       
    58         * Second-phase constructor.
       
    59         */
       
    60         void ConstructL();
       
    61     
       
    62 
       
    63     public:
       
    64         TBool               iIsFeatureManagerInitialised; // FALSE by default
       
    65         TBool               iIpv6GetDNSIPFromServer;
       
    66         TBool               iIsWcdma;
       
    67         HBufC*              iIpv6PrimaryDNS;
       
    68         HBufC*              iIpv6SecondaryDNS;
       
    69         TUint               iIsIpv6Supported;   // FALSE by default
       
    70         TBool               iIsVpnAp;           // False by default
       
    71         TApBearerType       iVPnRealIapBearerType;
       
    72         CApItemCdmaData*    iCdmaData;  // Owned. If NULL, CDMA is unsupported.
       
    73         CApItemWlanData*    iWlanData;  // Owned. If NULL, Wlan is unsupported.
       
    74         HBufC*              iLanBearerModemName;
       
    75         HBufC*              iIapBearerType;
       
    76         TUint32             iIapBearerID;
       
    77         TInt                iBearerProtocol;
       
    78         TInt                iBearerSpeed;
       
    79 
       
    80         /**
       
    81         * Indicates if CSD Access point is supported or not.
       
    82         */
       
    83         TBool               iIsAppCsdSupport;      
       
    84         
       
    85         /**
       
    86         * Indicates if HSCSD Access point is supported or not.
       
    87         */
       
    88         TBool               iIsAppHscsdSupport;              
       
    89 
       
    90         
       
    91     };
       
    92 
       
    93 #endif      // CAPITEMEXTRA_H
       
    94 
       
    95 // End of File