epoc32/include/mw/apaccesspointitem.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
williamr@2
     1
/*
williamr@2
     2
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
williamr@2
     3
* All rights reserved.
williamr@2
     4
* This component and the accompanying materials are made available
williamr@2
     5
* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
williamr@2
     6
* which accompanies this distribution, and is available
williamr@2
     7
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     8
*
williamr@2
     9
* Initial Contributors:
williamr@2
    10
* Nokia Corporation - initial contribution.
williamr@2
    11
*
williamr@2
    12
* Contributors:
williamr@2
    13
*
williamr@2
    14
* Description:  Declaration of the class CApAccessPointItem
williamr@2
    15
*
williamr@2
    16
*/
williamr@2
    17
williamr@2
    18
williamr@2
    19
#ifndef ACCESSPOINTITEM_H
williamr@2
    20
#define ACCESSPOINTITEM_H
williamr@2
    21
williamr@2
    22
// Deprecation warning
williamr@2
    23
#warning This header file has been deprecated. Will be removed in one of the next SDK releases.
williamr@2
    24
williamr@2
    25
 
williamr@2
    26
//  INCLUDES
williamr@2
    27
#include <etelmm.h>
williamr@2
    28
#include <cdbcols.h>
williamr@2
    29
#include <nifvar.h>
williamr@2
    30
#include <ApEngineVer.h>
williamr@2
    31
#include <ApEngineConsts.h>
williamr@2
    32
williamr@2
    33
williamr@2
    34
// DATA TYPES
williamr@2
    35
/**
williamr@2
    36
* This enum is used to identify the data when reading or writing
williamr@2
    37
* CApAccessPointItem data.
williamr@2
    38
* <br>Field types:
williamr@2
    39
* <br>
williamr@2
    40
*    8 - bit text:
williamr@2
    41
* <br>ReadTextL( const TApMember aColumn, TDes8& aValue )
williamr@2
    42
* <br>WriteTextL( const TApMember aColumn, const TDesC8& aValue )
williamr@2
    43
* <br>  EApIspIfCallbackInfo
williamr@2
    44
* <br>  EApIspInitString
williamr@2
    45
* <br>
williamr@2
    46
* <br>
williamr@2
    47
*    16-bit text:
williamr@2
    48
* <br>ReadTextL( const TApMember aColumn, TDes16& aValue )
williamr@2
    49
* <br>WriteTextL( const TApMember aColumn, const TDesC16& aValue )
williamr@2
    50
* <br>  EApWapAccessPointName
williamr@2
    51
* <br>  EApWapCurrentBearer
williamr@2
    52
* <br>  EApWapGatewayAddress
williamr@2
    53
* <br>  EApWapServiceCentreAddress
williamr@2
    54
* <br>  EApIapName
williamr@2
    55
* <br>  EApIapServiceType
williamr@2
    56
* <br>  EApIspName
williamr@2
    57
* <br>  EApIspDescription
williamr@2
    58
* <br>  EApIspDefaultTelNumber
williamr@2
    59
* <br>  EApIspLoginName
williamr@2
    60
* <br>  EApIspLoginPass
williamr@2
    61
* <br>  EApIspIfName
williamr@2
    62
* <br>  EApGprsIfName
williamr@2
    63
* <br>  EApIspIfParams
williamr@2
    64
* <br>  EApGprsIfParams
williamr@2
    65
* <br>  EApIspIfNetworks
williamr@2
    66
* <br>  EApGprsIfNetworks
williamr@2
    67
* <br>  EApIspIfAuthName
williamr@2
    68
* <br>  EApGprsIfAuthName
williamr@2
    69
* <br>  EApIspIfAuthPass
williamr@2
    70
* <br>  EApGprsIfAuthPassword
williamr@2
    71
* <br>  EApIspIPAddr
williamr@2
    72
* <br>  EApGprsIpAddr
williamr@2
    73
* <br>  EApIspIPNetMask
williamr@2
    74
* <br>  EApGprsIpNetMask
williamr@2
    75
* <br>  EApIspIPGateway
williamr@2
    76
* <br>  EApGprsIpGateway
williamr@2
    77
* <br>  EApIspIPNameServer1
williamr@2
    78
* <br>  EApGprsIPNameServer1
williamr@2
    79
* <br>  EApIspIPNameServer2
williamr@2
    80
* <br>  EApGprsIPNameServer2
williamr@2
    81
* <br>  EApGprsPdpAddress
williamr@2
    82
* <br>  EApProxyProtocolName
williamr@2
    83
* <br>  EApNetworkName
williamr@2
    84
* <br>  EApProxyLoginName
williamr@2
    85
* <br>  EApProxyLoginPass
williamr@2
    86
* <br>  EApIP6NameServer1
williamr@2
    87
* <br>  EApIP6NameServer2
williamr@2
    88
* <br>  EApLanBearerName
williamr@2
    89
* <br>
williamr@2
    90
* <br>Long text, 16 bit:
williamr@2
    91
* <br>const HBufC* ReadConstLongTextL( const TApMember aColumn )
williamr@2
    92
* <br>WriteLongTextL( const TApMember aColumn, const TDesC& aValue )
williamr@2
    93
* <br>  EApWapStartPage
williamr@2
    94
* <br>  EApIspLoginScript
williamr@2
    95
* <br>  EApGprsAccessPointName
williamr@2
    96
* <br>  EApProxyServerAddress
williamr@2
    97
* <br>  EApProxyExceptions
williamr@2
    98
* <br>
williamr@2
    99
* <br>Uint:
williamr@2
   100
* <br>ReadUint( const TApMember aColumn, TUint32& aValue )
williamr@2
   101
* <br>WriteUint( const TApMember aColumn, const TUint32& aValue )
williamr@2
   102
* <br>  EApWapAccessPointID
williamr@2
   103
williamr@2
   104
// DEPRECATED
williamr@2
   105
* <br>  EApWapIsp
williamr@2
   106
williamr@2
   107
// DEPRECATED
williamr@2
   108
* <br>  EApWapChargecard
williamr@2
   109
williamr@2
   110
* <br>  EApWapIap
williamr@2
   111
williamr@2
   112
// DEPRECATED
williamr@2
   113
* <br>  EApWapIspType
williamr@2
   114
williamr@2
   115
* <br>  EApIapServiceId
williamr@2
   116
* <br>  EApIapChargecard
williamr@2
   117
* <br>  EApIspIspType
williamr@2
   118
* <br>  EApIspAuthRetries
williamr@2
   119
* <br>  EApGprsIfAuthRetries
williamr@2
   120
* <br>  EApIspIfCallbackType
williamr@2
   121
* <br>  EApIspCallBackTimeOut
williamr@2
   122
* <br>  EApIspBearerName
williamr@2
   123
* <br>  EApIspBearerSpeed
williamr@2
   124
* <br>  EApIspBearerCE
williamr@2
   125
* <br>  EApIspBearerType
williamr@2
   126
* <br>  EApIspBearerCallTypeIsdn
williamr@2
   127
* <br>  EApIspChannelCoding
williamr@2
   128
* <br>  EApIspAIUR
williamr@2
   129
* <br>  EApIspRequestedTimeSlots
williamr@2
   130
* <br>  EApIspMaximumTimeSlots
williamr@2
   131
* <br>  EApGprsPdpType
williamr@2
   132
* <br>  EApGprsReqPrecedence
williamr@2
   133
* <br>  EApGprsReqDelay
williamr@2
   134
* <br>  EApGprsReqReliability
williamr@2
   135
* <br>  EApGprsReqPeakThroughput
williamr@2
   136
* <br>  EApGprsReqMeanPeakThroughput
williamr@2
   137
* <br>  EApGprsMinPrecedence
williamr@2
   138
* <br>  EApGprsMinDelay
williamr@2
   139
* <br>  EApGprsMinReliability
williamr@2
   140
* <br>  EApGprsMinPeakThroughput
williamr@2
   141
* <br>  EApGprsMinMeanThroughput
williamr@2
   142
* <br>  EApWapWspOption
williamr@2
   143
* <br>  EApIspBearerCallTypeIsdn
williamr@2
   144
* <br>  EApProxyPortNumber
williamr@2
   145
* <br>  EApNetworkID
williamr@2
   146
* <br>  EApWapProxyPort
williamr@2
   147
* <br>  EApIapBearerService
williamr@2
   148
* <br>  EApIapBearerID
williamr@2
   149
* <br>
williamr@2
   150
* <br>Bool:
williamr@2
   151
* <br>ReadBool( const TApMember aColumn, TBool& aValue )
williamr@2
   152
* <br>WriteBool( const TApMember aColumn, const TBool& aValue )
williamr@2
   153
* <br>  EApWapSecurity
williamr@2
   154
* <br>  EApIspDialResolution
williamr@2
   155
* <br>  EApIspUseLoginScript
williamr@2
   156
* <br>  EApIspPromptForLogin
williamr@2
   157
* <br>  EApIspDisplayPCT
williamr@2
   158
* <br>  EApIspIfPromptForAuth
williamr@2
   159
* <br>  EApGprsIfPromptForAuth
williamr@2
   160
* <br>  EApIspIfCallbackEnabled
williamr@2
   161
* <br>  EApIspIPAddrFromServer
williamr@2
   162
* <br>  EApGprsIpAddrFromServer
williamr@2
   163
* <br>  EApIspIPDnsAddrFromServer
williamr@2
   164
* <br>  EApGprsIpDnsAddrFromServer
williamr@2
   165
* <br>  EApIspEnableIpHeaderComp
williamr@2
   166
* <br>  EApGprsHeaderCompression
williamr@2
   167
* <br>  EApIspEnableLCPExtensions
williamr@2
   168
* <br>  EApGprsEnableLCPExtensions
williamr@2
   169
* <br>  EApIspDisablePlainTextAuth
williamr@2
   170
* <br>  EApGprsDisablePlainTextAuth
williamr@2
   171
* <br>  EApIspEnableSWCompression
williamr@2
   172
* <br>  EApGprsDataCompression
williamr@2
   173
* <br>  EApGprsUseAnonymAccess
williamr@2
   174
* <br>  EApIsReadOnly
williamr@2
   175
* <br>  EApProxyUseProxy
williamr@2
   176
* <br>  EApHasProxySettings
williamr@2
   177
* <br>  EApIP6DNSAddrFromServer
williamr@2
   178
*/
williamr@2
   179
enum TApMember
williamr@2
   180
    {
williamr@2
   181
    // WAP Access Point Table
williamr@2
   182
    EApWapAccessPointID,            ///< The Uid of the access point.
williamr@2
   183
                                    ///< READ ONLY, assigned by the database.
williamr@2
   184
    EApWapAccessPointName,          ///< The name of the access point
williamr@2
   185
    EApWapCurrentBearer,            ///< Indicates the name of the table from
williamr@2
   186
                                    ///< which to read the bearer information
williamr@2
   187
    EApWapStartPage,                ///< WAP start page URL, LONG TEXT!
williamr@2
   188
williamr@2
   189
    // WAP Common (present in both tables)
williamr@2
   190
    EApWapGatewayAddress,           ///< WAP gateway address (IP address)
williamr@2
   191
    EApWapWspOption,                ///< Enum value indicating whether
williamr@2
   192
                                    ///< connection-oriented or connectionless
williamr@2
   193
                                    ///< API should be used.
williamr@2
   194
                                    ///< Type is TCommsDbWapWspOption.
williamr@2
   195
    EApWapSecurity,                 ///< Attepmt secure WTLS connection to
williamr@2
   196
                                    ///< the gateway
williamr@2
   197
williamr@2
   198
    // WAP IP Bearer Table
williamr@2
   199
//* DEPRECATED
williamr@2
   200
    EApWapIsp,                      ///< Identifier of the ISP to use if this
williamr@2
   201
                                    ///< is an ISP type database
williamr@2
   202
//* DEPRECATED
williamr@2
   203
    EApWapChargecard,               ///< Identifier for the chargecard to use
williamr@2
   204
                                    ///< if this is an ISP type database
williamr@2
   205
    EApWapIap,                      ///< Identifier of a record in the IAP
williamr@2
   206
                                    ///< table to be used if this is an IAP
williamr@2
   207
                                    ///< type database
williamr@2
   208
//* DEPRECATED
williamr@2
   209
    EApWapIspType,                  ///< Enum value indicating whether IAP/ISP
williamr@2
   210
                                    ///< is a dial in or a dial out
williamr@2
   211
williamr@2
   212
    // WAP SMS Bearer Table
williamr@2
   213
    // EApSmsWapGatewayAddress is mapped to EApWapGatewayAddress,
williamr@2
   214
    // different enum needed only for being able to
williamr@2
   215
    // distinguish when editing...
williamr@2
   216
williamr@2
   217
    // IAP Table
williamr@2
   218
    EApIapName,                     ///< The name of this IAP
williamr@2
   219
    EApIapServiceType,              ///< Name of service table in this IAP
williamr@2
   220
    EApIapServiceId,                ///< Identifier of service in this IAP
williamr@2
   221
    EApIapChargecard,               ///< Identifier of the chargecard in
williamr@2
   222
                                    ///< this IAP
williamr@2
   223
williamr@2
   224
    // ISP table
williamr@2
   225
    EApIspName,                     ///< The name of this ISP
williamr@2
   226
    EApIspDescription,              ///< Application's description of this ISP
williamr@2
   227
    EApIspIspType,                  ///< Enum value indicating ISP type, e.g.
williamr@2
   228
                                    ///< Internet ISP, WAP Isp.TCommsDbIspType.
williamr@2
   229
    EApIspDefaultTelNumber,         ///< Default phone number
williamr@2
   230
    EApIspDialResolution,           ///< Perform dialing resolution for default
williamr@2
   231
                                    ///< phone number?
williamr@2
   232
    EApIspUseLoginScript,           ///< Use login script?
williamr@2
   233
    EApIspLoginScript,              ///< Login script (used only if Use Login
williamr@2
   234
                                    ///< Script is true), LONG TEXT.
williamr@2
   235
    EApIspPromptForLogin,           ///< Prompt user for username and password?
williamr@2
   236
    EApIspLoginName,                ///< Login name
williamr@2
   237
    EApIspLoginPass,                ///< Login password
williamr@2
   238
    EApIspDisplayPCT,               ///< Display PCT (without scanning script
williamr@2
   239
                                    ///< for READ command) UNUSED, always FALSE
williamr@2
   240
    EApIspIfName,                   ///< Interface name
williamr@2
   241
    EApIspIfParams,                 ///< Interface parameter string
williamr@2
   242
    EApIspIfNetworks,               ///< Comma separated list of network
williamr@2
   243
                                    ///< protocols
williamr@2
   244
    EApIspIfPromptForAuth,          ///< Prompt user for authentication
williamr@2
   245
                                    ///< username and password?
williamr@2
   246
    EApIspIfAuthName,               ///< Authentication username used by PPP
williamr@2
   247
    EApIspIfAuthPass,               ///< Authentication password used by PPP
williamr@2
   248
    EApIspAuthRetries,              ///< Number of times to retry
williamr@2
   249
                                    ///< authentication if it fails
williamr@2
   250
    EApIspIfCallbackEnabled,        ///< Is callback enabled?
williamr@2
   251
    EApIspIfCallbackType,           ///< Enum value indicating the type of
williamr@2
   252
                                    ///< callback (if enabled).
williamr@2
   253
                                    ///< enum TCallbackAction.
williamr@2
   254
    EApIspIfCallbackInfo,           ///< Info for callback request (if enabled)
williamr@2
   255
                                    ///< 8-bit text field.
williamr@2
   256
    EApIspCallBackTimeOut,          ///< Time to wait for callback in
williamr@2
   257
                                    ///< microseconds (if enabled)
williamr@2
   258
    EApIspIPAddrFromServer,         ///< Get IP address from server?
williamr@2
   259
    EApIspIPAddr,                   ///< IP address of interface
williamr@2
   260
    EApIspIPNetMask,                ///< IP net mask of interface
williamr@2
   261
    EApIspIPGateway,                ///< IP address of gateway
williamr@2
   262
    EApIspIPDnsAddrFromServer,      ///< Get DNS address from server?
williamr@2
   263
    EApIspIPNameServer1,            ///< IP address of primary name server
williamr@2
   264
    EApIspIPNameServer2,            ///< IP address of secondary name server
williamr@2
   265
    EApIspEnableIpHeaderComp,       ///< Enable IP header compression?
williamr@2
   266
    EApIspEnableLCPExtensions,      ///< Enable LCP extensions?
williamr@2
   267
    EApIspDisablePlainTextAuth,     ///< Disable plain text authentication?
williamr@2
   268
    EApIspEnableSWCompression,      ///< Enable software compression?
williamr@2
   269
    EApIspBearerName,               ///< Enum value specifying the name of the
williamr@2
   270
                                    ///< bearer, e.g. Asunchronous Modem,
williamr@2
   271
                                    ///< RBasicGsmCall::TBearerName
williamr@2
   272
    EApIspBearerSpeed,              ///< Enum value specifying the bearer speed
williamr@2
   273
                                    ///< TApCallSpeed.
williamr@2
   274
    EApIspBearerCallTypeIsdn,       ///< call type is ISDN or Analogue...
williamr@2
   275
    EApIspBearerCE,                 ///< Enum value specifying the bearer CE,
williamr@2
   276
                                    ///< RBasicGsmCall::TBearerCE
williamr@2
   277
    EApIspInitString,               ///< Modem initialization string to be used
williamr@2
   278
                                    ///< when this ISP is in use.This string
williamr@2
   279
                                    ///< will be copied into the
williamr@2
   280
                                    ///< MODEM_ISP_INIT_STRING field by
williamr@2
   281
                                    ///< NetDial. 8-bit text field.
williamr@2
   282
    EApIspBearerType,               ///< Enum value indicating connection type
williamr@2
   283
                                    ///< (CSD or HSCSD), TCommsDbBearerType
williamr@2
   284
    EApIspChannelCoding,            ///< Enum value specifying HSCSD channel
williamr@2
   285
                                    ///< coding
williamr@2
   286
    EApIspAIUR,                     ///< Enum value specifying AIUR for HSCSD
williamr@2
   287
    EApIspRequestedTimeSlots,       ///< Requested number of time slots for
williamr@2
   288
                                    ///< HSCSD
williamr@2
   289
    EApIspMaximumTimeSlots,         ///< Maximum number of time slots for HSCSD
williamr@2
   290
                                    ///< which could be requested during this
williamr@2
   291
                                    ///< connection
williamr@2
   292
williamr@2
   293
    EApGprsAccessPointName,         ///< Access Point Name, LONG TEXT!
williamr@2
   294
    EApGprsPdpType,                 ///< PDP type
williamr@2
   295
    EApGprsPdpAddress,              ///< PDP address
williamr@2
   296
    EApGprsReqPrecedence,           ///< Requested quality of service
williamr@2
   297
                                    ///< precedence class
williamr@2
   298
    EApGprsReqDelay,                ///< Requested quality of service
williamr@2
   299
                                    ///< delay class
williamr@2
   300
    EApGprsReqReliability,          ///< Requested quality of service
williamr@2
   301
                                    ///< reliability class
williamr@2
   302
    EApGprsReqPeakThroughput,       ///< Requested quality of service
williamr@2
   303
                                    ///< peak throughput class
williamr@2
   304
    EApGprsReqMeanPeakThroughput,   ///< Requested quality of service
williamr@2
   305
                                    ///< mean throughput class
williamr@2
   306
    EApGprsMinPrecedence,           ///< Minimum quality of service
williamr@2
   307
                                    ///< precedence class
williamr@2
   308
    EApGprsMinDelay,                ///< Minimum quality of service
williamr@2
   309
                                    ///< delay class
williamr@2
   310
    EApGprsMinReliability,          ///< Minimum quality of service
williamr@2
   311
                                    ///< reliability class
williamr@2
   312
    EApGprsMinPeakThroughput,       ///< Minimum quality of service
williamr@2
   313
                                    ///< peak throughput class
williamr@2
   314
    EApGprsMinMeanThroughput,       ///< Minimum quality of service
williamr@2
   315
                                    ///< mean throughput class
williamr@2
   316
    EApGprsUseAnonymAccess,         ///< Use anonymous access on?
williamr@2
   317
williamr@2
   318
    // followings are mapped to ISP... fields
williamr@2
   319
    EApGprsDataCompression,         ///< Data compression on?
williamr@2
   320
    EApGprsHeaderCompression,       ///< IP header compression on?
williamr@2
   321
    EApGprsIfName,                  ///< Interface name
williamr@2
   322
    EApGprsIfParams,                ///< Interface parameter string
williamr@2
   323
    EApGprsIfNetworks,              ///< Comma separated list of network
williamr@2
   324
                                    ///< protocols
williamr@2
   325
    EApGprsIfPromptForAuth,         ///< Prompt user for authentication
williamr@2
   326
                                    ///< username and password?
williamr@2
   327
    EApGprsIfAuthName,              ///< Authentication username used by PPP
williamr@2
   328
    EApGprsIfAuthPassword,          ///< Authentication password used by PPP
williamr@2
   329
    EApGprsIfAuthRetries,           ///< Number of times to retry
williamr@2
   330
                                    ///< authentication if it fails
williamr@2
   331
    EApGprsIpNetMask,               ///< IP net mask of interface
williamr@2
   332
    EApGprsIpGateway,               ///< IP address of gateway
williamr@2
   333
    EApGprsIpAddrFromServer,        ///< Get IP adresses (for Symbian OS)
williamr@2
   334
                                    ///< from server?
williamr@2
   335
    EApGprsIpAddr,                  ///< IP address of Symbian OS
williamr@2
   336
    EApGprsIpDnsAddrFromServer,     ///< Get DNS addresses from server?
williamr@2
   337
    EApGprsIPNameServer1,           ///< IP address of primary name server
williamr@2
   338
    EApGprsIPNameServer2,           ///< IP address of secondary name server
williamr@2
   339
    EApGprsEnableLCPExtensions,     ///< Enable LCP extension?
williamr@2
   340
    EApGprsDisablePlainTextAuth,    ///< Disable plain text authentication?
williamr@2
   341
    EApIsReadOnly                   ///< Is the current record read only?
williamr@2
   342
williamr@2
   343
williamr@2
   344
// expanding this enum is safe and will not cause any trouble as all public 
williamr@2
   345
// part of this module uses it as a const parameter and NEVER as 
williamr@2
   346
// a return value, therefore non-aware clients will NEVER meet with the new
williamr@2
   347
// ones, thus it can not cause any problems that they do not expect them...
williamr@2
   348
    ,
williamr@2
   349
    EApProxyServerAddress,          ///< Proxy server address, long text
williamr@2
   350
    EApProxyProtocolName,           ///< Proxy protocol name, Text
williamr@2
   351
    EApProxyPortNumber,             ///< Proxy port number,  TUint32
williamr@2
   352
    EApProxyUseProxy,               ///< Use proxy server?, TBool 
williamr@2
   353
    EApProxyExceptions,             ///< ';' separated list of addr. for wich 
williamr@2
   354
                                    ///< the server should not be used. 
williamr@2
   355
                                    ///< Long text
williamr@2
   356
    EApHasProxySettings,            ///< Has proxy settings? READ ONLY.
williamr@2
   357
    EApNetworkID,                   ///< The network ID
williamr@2
   358
    EApNetworkName,                 ///< The network name
williamr@2
   359
williamr@2
   360
    EApWapProxyPort,                ///< The wap proxy port number
williamr@2
   361
    EApProxyLoginName,              ///< The proxy login name
williamr@2
   362
    EApProxyLoginPass,              ///< The proxy login password
williamr@2
   363
    EApIapBearerService,            ///< Bearer service
williamr@2
   364
williamr@2
   365
    EApIP6DNSAddrFromServer,        ///< Get IPv6 DNS addresses from server?
williamr@2
   366
    EApIP6NameServer1,              ///< IP address of primary name server
williamr@2
   367
    EApIP6NameServer2,              ///< IP address of secondary name server
williamr@2
   368
williamr@2
   369
    // CDMA2000
williamr@2
   370
    EApCdmaIwfName,                 ///< IWF name, Text
williamr@2
   371
    EApCdmaServiceOption,           ///< Service Option, TUint32
williamr@2
   372
    EApCdmaPdpType,                 ///< PDP type, TUin32
williamr@2
   373
    EApCdmaPdpAddress,              ///< PDP address, Text
williamr@2
   374
    EApCdmaReqFwdPriority,          ///< Requested forward priority, TUint32
williamr@2
   375
    EApCdmaReqRevPriority,          ///< Requested reverse priority, TUint32
williamr@2
   376
    EApCdmaReqFwdBitrate,           ///< Requested forward bitrate, TUint32
williamr@2
   377
    EApCdmaReqRevBitrate,           ///< Requested reverse bitrate, TUint32
williamr@2
   378
    EApCdmaReqFwdLoss,              ///< Req. forward frame loss rate, TUint32
williamr@2
   379
    EApCdmaReqRevLoss,              ///< Req. reverse frame loss rate, TUint32
williamr@2
   380
    EApCdmaReqFwdMaxDelay,          ///< Requested forward delay, TUint32
williamr@2
   381
    EApCdmaReqRevMaxDelay,          ///< Requested reverse delay, TUint32
williamr@2
   382
    EApCdmaMinFwdBitrate,           ///< Min. acceptable fwd bitrate, TUint32
williamr@2
   383
    EApCdmaMinRevBitrate,           ///< Min. acceptable rev bitrate, TUint32
williamr@2
   384
    EApCdmaAccptFwdLoss,            ///< Max. acc. fwd frame loss rate, TUint32
williamr@2
   385
    EApCdmaAccptRevLoss,            ///< Max. acc. rev frame loss rate, TUint32
williamr@2
   386
    EApCdmaAccptFwdMaxDelay,        ///< Max. acceptable forward delay, TUint32
williamr@2
   387
    EApCdmaAccptRevMaxDelay,        ///< Max. acceptable reverse delay, TUint32
williamr@2
   388
williamr@2
   389
    // CDMA2000, mapped to ISP... fields
williamr@2
   390
    EApCdmaDataCompression,         ///< Data compression on? TBool
williamr@2
   391
    EApCdmaHeaderCompression,       ///< IP header compression on? TBool
williamr@2
   392
    EApCdmaAnonymousAccess,         ///< Use anonymous access on? TBool
williamr@2
   393
    EApCdmaIfName,                  ///< Interface name
williamr@2
   394
    EApCdmaIfParams,                ///< Interface parameter string
williamr@2
   395
    EApCdmaIfNetworks,              ///< Comma separated list of network
williamr@2
   396
                                    ///< protocols
williamr@2
   397
    EApCdmaIfPromptForAuth,         ///< Prompt user for authentication
williamr@2
   398
                                    ///< username and password?
williamr@2
   399
    EApCdmaIfAuthName,              ///< Authentication username used by PPP
williamr@2
   400
    EApCdmaIfAuthPassword,          ///< Authentication password used by PPP
williamr@2
   401
    EApCdmaIfAuthRetries,           ///< Number of times to retry
williamr@2
   402
                                    ///< authentication if it fails
williamr@2
   403
    EApCdmaIpNetMask,               ///< IP net mask of interface
williamr@2
   404
    EApCdmaIpGateway,               ///< IP address of gateway
williamr@2
   405
    EApCdmaIpAddrFromServer,        ///< Get IP adresses (for Symbian OS)
williamr@2
   406
                                    ///< from server?
williamr@2
   407
    EApCdmaIpAddr,                  ///< IP address of Symbian OS
williamr@2
   408
    EApCdmaIpDnsAddrFromServer,     ///< Get DNS addresses from server?
williamr@2
   409
    EApCdmaIPNameServer1,           ///< IP address of primary name server
williamr@2
   410
    EApCdmaIPNameServer2,           ///< IP address of secondary name server
williamr@2
   411
    EApCdmaEnableLCPExtensions,     ///< Enable LCP extension?
williamr@2
   412
    EApCdmaDisablePlainTextAuth,    ///< Disable plain text authentication?
williamr@2
   413
williamr@2
   414
    // CDMA2000
williamr@2
   415
    EApCdmaApType,                  ///< Internet / WAP or both? TUint32
williamr@2
   416
    EApCdmaQosWarningTimeout,       ///< Notify user if the requested QOS
williamr@2
   417
                                    ///< cannot be satisfied for this time in
williamr@2
   418
                                    ///< microseconds, TUint32
williamr@2
   419
    EApCdmaRlpMode,                 ///< Transparent or non-transparent
williamr@2
   420
                                    ///< radio link protocol, TUint32
williamr@2
   421
    // CDMA2000 deprecated Mobile IP fields
williamr@2
   422
    EApCdmaMip,                     ///< Attempt to use mobile IP, TBool
williamr@2
   423
    EApCdmaHomeAgentAddress,        ///< Home Agent address, Text
williamr@2
   424
    EApCdmaMipTimeout,              ///< A normal reconnect (informing the
williamr@2
   425
                                    ///< user) takes place if both the PPP link
williamr@2
   426
                                    ///< drops and a change in SID or NID is
williamr@2
   427
                                    ///< received within this time in
williamr@2
   428
                                    ///< milliseconds, TUint32
williamr@2
   429
    // CDMA2000 specific CDMA parameters provisioned through OTA and defined
williamr@2
   430
    // in TIA-683B section 3.5.8
williamr@2
   431
    // These fields replace the old Mobile IP fields (above).
williamr@2
   432
    EApCdmaNaiType,                 ///< Type of NAI, TUint32
williamr@2
   433
    EApCdmaSimpleIpAuthAlgorithm,   ///< SimpleIP auth.algorithm, TUint32
williamr@2
   434
    EApCdmaSimpleIpPapSsHandle,     ///< SimpleIP PAP shared secret handle,
williamr@2
   435
                                    ///< TUint32
williamr@2
   436
    EApCdmaSimpleIpChapSsHandle,    ///< SimpleIP CHAP shared secret handle,
williamr@2
   437
                                    ///< TUint32
williamr@2
   438
    EApCdmaMipTBit,                 ///< Reverse-tunneling reqd flag, TUint32
williamr@2
   439
    EApCdmaMipHomeAddress,          ///< Home address, Text
williamr@2
   440
    EApCdmaMipPrimaryHomeAgent,     ///< IP address of mobile node's
williamr@2
   441
                                    ///< primary home agent, Text
williamr@2
   442
    EApCdmaMipSecondaryHomeAgent,   ///< IP address of mobile node's
williamr@2
   443
                                    ///< secondary home agent, Text
williamr@2
   444
    EApCdmaMipMnAaaAuthAlgorithm,   ///< MN-AAA auth algorithm, TUint32
williamr@2
   445
    EApCdmaMipMnAaaSpi,             ///< MN-AAA security param index, TUint32
williamr@2
   446
    EApCdmaMipMnAaaSsHandle,        ///< MN-AAA shared secret handle, TUint32
williamr@2
   447
    EApCdmaMipMnHaAuthAlgorithm,    ///< MN-HA auth algorithm, TUint32
williamr@2
   448
    EApCdmaMipMnHaSpi,              ///< MN-HA security param index, TUint32
williamr@2
   449
    EApCdmaMipMnHaSsHandle,         ///< MN-HA shared secret handle, TUint32
williamr@2
   450
    
williamr@2
   451
williamr@2
   452
    // WLAN specific fields
williamr@2
   453
    EApWlanNetworkName,             ///< The network name, Text
williamr@2
   454
    EApWlanNetworkMode,             ///< Gives network mode, TUint32
williamr@2
   455
    EApWlanSecurityMode,            ///< The security mode, TUint32
williamr@2
   456
williamr@2
   457
    // WLAN, mapped to ISP... fields
williamr@2
   458
    EApWlanIfNetworks,              ///< Comma separated list of network
williamr@2
   459
                                ///< protocols
williamr@2
   460
    EApWlanIfPromptForAuth,         ///< Prompt user for authentication
williamr@2
   461
                                ///< username and password?
williamr@2
   462
    EApWlanIfAuthName,              ///< Authentication username used by PPP
williamr@2
   463
    EApWlanIfAuthPassword,          ///< Authentication password used by PPP
williamr@2
   464
    EApWlanIfAuthRetries,           ///< Number of times to retry
williamr@2
   465
                                ///< authentication if it fails
williamr@2
   466
    EApWlanIpNetMask,               ///< IP net mask of interface
williamr@2
   467
    EApWlanIpGateway,               ///< IP address of gateway
williamr@2
   468
    EApWlanIpAddrFromServer,        ///< Get IP adresses (for Symbian OS)
williamr@2
   469
                                    ///< from server?
williamr@2
   470
    EApWlanIpAddr,                  ///< IP address of Symbian OS
williamr@2
   471
    EApWlanIpDnsAddrFromServer,     ///< Get DNS addresses from server?
williamr@2
   472
    EApWlanIPNameServer1,           ///< IP address of primary name server
williamr@2
   473
    EApWlanIPNameServer2,           ///< IP address of secondary name server
williamr@2
   474
    EApWlanSettingsId,              ///< COMMDB_ID of the WLAN settings,
williamr@2
   475
                                    ///< TUint32
williamr@2
   476
    EApWlanScanSSID,                ///< TBool, whether need to scan the SSID
williamr@2
   477
    EApWlanChannelId,               ///< In ad-hoc network mode, the channel  
williamr@2
   478
                                    ///< ID, TUint32
williamr@2
   479
    EApLanBearerName,               ///< The name of the LAN bearer
williamr@2
   480
    EApIapBearerID,                 ///< UID of the bearer record (LAN/Modem)
williamr@2
   481
    EApIapBearerType,               ///< The name of the iap bearer 
williamr@2
   482
                                    ///< table (LAN/Modem)
williamr@2
   483
    // some defines for UI ONLY, NOT TO BE USED BY ANYONE ELSE!!!
williamr@2
   484
    EApIpv4Settings = 0x00010000,
williamr@2
   485
    EApIpv6Settings,
williamr@2
   486
    EApWlanSecuritySettings         ///< The security settings launcher
williamr@2
   487
    };
williamr@2
   488
williamr@2
   489
williamr@2
   490
williamr@2
   491
// CONSTANTS
williamr@2
   492
// D E P R E C A T E D,  please do not use it!!!!!!!!!!
williamr@2
   493
// can not remove as it was part of the public API...
williamr@2
   494
const TInt KApMemberNum = EApGprsDisablePlainTextAuth+1;
williamr@2
   495
williamr@2
   496
// FORWARD
williamr@2
   497
class CApItemExtra;
williamr@2
   498
williamr@2
   499
// CLASS DECLARATION
williamr@2
   500
williamr@2
   501
williamr@2
   502
/**
williamr@2
   503
* CApAccessPointItem is used to exchange data between engine and client.
williamr@2
   504
* It holds the information for an access point including WAP, IAP, ISP
williamr@2
   505
* (if present & applies).
williamr@2
   506
* This class uses the same approach as CommDB to read and write data: it
williamr@2
   507
* has functions for each data type implemented. To read or write the data,
williamr@2
   508
* we have to know the data type and the enum name of the 'column'.
williamr@2
   509
* The column values has the names of the database columns with the 'EAp'
williamr@2
   510
* prefix. The reason for this (not using the database column descriptors)
williamr@2
   511
* is performance. It is much faster to compare enum values than literals.
williamr@2
   512
*/
williamr@2
   513
class CApAccessPointItem :public CBase
williamr@2
   514
    {
williamr@2
   515
williamr@2
   516
    public:  // Constructors and destructor
williamr@2
   517
        /**
williamr@2
   518
        * Two-phased constructor. Leaves on failure, places instance
williamr@2
   519
        * on cleanup stack. Instance is initialised to default values.
williamr@2
   520
        * The created instance is suitable for passing to CApDataHandler's
williamr@2
   521
        * functions, contains all necessary information.
williamr@2
   522
        * @return The constructed CApAccessPointItem.
williamr@2
   523
        *
williamr@2
   524
        * @deprecated
williamr@2
   525
        */
williamr@2
   526
        IMPORT_C static CApAccessPointItem* NewLC();
williamr@2
   527
williamr@2
   528
williamr@2
   529
        /**
williamr@2
   530
        * Destructor.
williamr@2
   531
        *
williamr@2
   532
        * @deprecated
williamr@2
   533
        */
williamr@2
   534
        IMPORT_C virtual ~CApAccessPointItem();
williamr@2
   535
williamr@2
   536
williamr@2
   537
        /**
williamr@2
   538
        * Copies the data from another CApAccessPointItem.
williamr@2
   539
        * Substitute for the "assignment operator". It requires allocation
williamr@2
   540
        * thus can leave.
williamr@2
   541
        * Wap Access Point Uid is not copied.
williamr@2
   542
        *
williamr@2
   543
        * @deprecated
williamr@2
   544
        */
williamr@2
   545
        IMPORT_C void CopyFromL( const CApAccessPointItem& aCopyFrom  );
williamr@2
   546
williamr@2
   547
williamr@2
   548
        /**
williamr@2
   549
        * Equality operator. Wap Access Point Uid is not counted.
williamr@2
   550
        *
williamr@2
   551
        * @deprecated
williamr@2
   552
        */
williamr@2
   553
        IMPORT_C TBool operator==( const CApAccessPointItem& aitem ) const;
williamr@2
   554
williamr@2
   555
williamr@2
   556
        /**
williamr@2
   557
        * Inequality operator. Wap Access Point Uid is not counted.
williamr@2
   558
        *
williamr@2
   559
        * @deprecated
williamr@2
   560
        */
williamr@2
   561
        IMPORT_C TBool operator!=( const CApAccessPointItem& aitem ) const;
williamr@2
   562
williamr@2
   563
williamr@2
   564
    protected:      // Constructors
williamr@2
   565
williamr@2
   566
        /**
williamr@2
   567
        * C++ default constructor.
williamr@2
   568
        *
williamr@2
   569
        * @deprecated
williamr@2
   570
        */
williamr@2
   571
        IMPORT_C CApAccessPointItem();
williamr@2
   572
williamr@2
   573
        /**
williamr@2
   574
        * Second-phase constructor.
williamr@2
   575
        *
williamr@2
   576
        * @deprecated
williamr@2
   577
        */
williamr@2
   578
        IMPORT_C void ConstructL();
williamr@2
   579
williamr@2
   580
williamr@2
   581
williamr@2
   582
williamr@2
   583
    public: // New functions
williamr@2
   584
williamr@2
   585
williamr@2
   586
        /**
williamr@2
   587
        * This function reads up an 8-bit text value from the specified column.
williamr@2
   588
        * @param aColumn Enum value indicating the column to read.
williamr@2
   589
        * @param aValue Reference to an 8-bit descriptor to hold the value
williamr@2
   590
        * @return no return value
williamr@2
   591
        *
williamr@2
   592
        * @deprecated
williamr@2
   593
        */
williamr@2
   594
        IMPORT_C void ReadTextL( const TApMember aColumn, TDes8& aValue );
williamr@2
   595
williamr@2
   596
        /**
williamr@2
   597
        * This function reads up a 16-bit text value from the specified column.
williamr@2
   598
        * @param aColumn Enum value indicating the column to read.
williamr@2
   599
        * @param aValue Reference to a 16-bit descriptor to hold the value
williamr@2
   600
        * @return no return value
williamr@2
   601
        *
williamr@2
   602
        * @deprecated
williamr@2
   603
        */
williamr@2
   604
        IMPORT_C void ReadTextL( const TApMember aColumn, TDes16& aValue );
williamr@2
   605
williamr@2
   606
        /**
williamr@2
   607
        * NOTE: This function is deprecated. Use ReadConstLongTextL!
williamr@2
   608
        * This function reads up a long text value from the specified column.
williamr@2
   609
        * The ownership is not passed to the caller. It means that the caller
williamr@2
   610
        * should not delete the received value.
williamr@2
   611
        * If the caller must take the ownership for any reason, must make a
williamr@2
   612
        * copy and use that and delete the copy when no longer needed.
williamr@2
   613
        * @param aColumn Enum value indicating the column to read.
williamr@2
   614
        * @return A HBufC* to the value.
williamr@2
   615
        *
williamr@2
   616
        * @deprecated
williamr@2
   617
        */
williamr@2
   618
        IMPORT_C HBufC* ReadLongTextL( const TApMember aColumn );
williamr@2
   619
williamr@2
   620
williamr@2
   621
        /**
williamr@2
   622
        * This function reads up a long text value from the specified column.
williamr@2
   623
        * The ownership is not passed to the caller. It means that the caller
williamr@2
   624
        * should not delete the received value.
williamr@2
   625
        * If the caller must take the ownership for any reason, must make a
williamr@2
   626
        * copy and use that and delete the copy when no longer needed.
williamr@2
   627
        * @param aColumn Enum value indicating the column to read.
williamr@2
   628
        * @return A const HBufC* to the value.
williamr@2
   629
        *
williamr@2
   630
        * @deprecated
williamr@2
   631
        */
williamr@2
   632
        IMPORT_C const HBufC* ReadConstLongTextL( const TApMember aColumn );
williamr@2
   633
williamr@2
   634
williamr@2
   635
williamr@2
   636
        /**
williamr@2
   637
        * This function reads the length of the text in the specified column.
williamr@2
   638
        * @param aColumn Enum value indicating the column to read.
williamr@2
   639
        * @return The length of the text in that column.
williamr@2
   640
        *
williamr@2
   641
        * @deprecated
williamr@2
   642
        */
williamr@2
   643
        IMPORT_C TUint32 ReadTextLengthL( const TApMember aColumn );
williamr@2
   644
williamr@2
   645
williamr@2
   646
        /**
williamr@2
   647
        * This function reads up a TUint32 value from the specified column.
williamr@2
   648
        * In case the given value was not written to the database,
williamr@2
   649
        * it will return KErrValueUnspecified.
williamr@2
   650
        * If the specified column does not exist (that is, not part of the
williamr@2
   651
        * database structure), it will Panic in debug builds and it will
williamr@2
   652
        * return KErrInvalidColumn in release builds without Panicking.
williamr@2
   653
        * Panic is used in debug builds because it indicates a programming
williamr@2
   654
        * error. In release, it 'notifies' the caller about the error through
williamr@2
   655
        * the return value but enables system to continue operation.
williamr@2
   656
        * @param aColumn Enum value indicating the column to read.
williamr@2
   657
        * @param aValue A reference to a TUint32 to hold the value
williamr@2
   658
        * @return Error code.
williamr@2
   659
        *
williamr@2
   660
        * @deprecated
williamr@2
   661
        */
williamr@2
   662
        IMPORT_C TInt ReadUint( const TApMember aColumn, TUint32& aValue );
williamr@2
   663
williamr@2
   664
        /**
williamr@2
   665
        * This function reads up a boolean value from the specified column.
williamr@2
   666
        * If the specified column does not exist (that is, not part of the
williamr@2
   667
        * database structure), it will Panic in debug builds and it will
williamr@2
   668
        * return KErrInvalidColumn in release builds without Panicking.
williamr@2
   669
        * Panic is used in debug builds because it indicates a programming
williamr@2
   670
        * error. In release, it 'notifies' the caller about the error through
williamr@2
   671
        * the return value but enables system to continue operation.
williamr@2
   672
        * @param aColumn Enum value indicating the column to read.
williamr@2
   673
        * @param aValue A reference to a boolean to hold the value
williamr@2
   674
        * @return Error code.
williamr@2
   675
        *
williamr@2
   676
        * @deprecated
williamr@2
   677
        */
williamr@2
   678
        IMPORT_C TInt ReadBool( const TApMember aColumn, TBool& aValue );
williamr@2
   679
williamr@2
   680
williamr@2
   681
        // Update
williamr@2
   682
        /**
williamr@2
   683
        * This function writes an 8-bit text value to the specified column.
williamr@2
   684
        * If the specified column does not exist (that is, not part of the
williamr@2
   685
        * database structure), it will Panic in debug builds and it will
williamr@2
   686
        * return KErrInvalidColumn in release builds without Panicking.
williamr@2
   687
        * Panic is used in debug builds because it indicates a programming
williamr@2
   688
        * error. In release, it 'notifies' the caller about the error through
williamr@2
   689
        * the return value but enables system to continue operation.
williamr@2
   690
        * This function can Leave if the copying of the text does not succeed.
williamr@2
   691
        * Possible leave codes are the system leave codes.
williamr@2
   692
        * @param aColumn Enum value indicating the column to write.
williamr@2
   693
        * @param aValue Reference to an 8-bit text descriptor to the value
williamr@2
   694
        * @return Error code.
williamr@2
   695
        *
williamr@2
   696
        * @deprecated
williamr@2
   697
        */
williamr@2
   698
        IMPORT_C TInt WriteTextL( const TApMember aColumn,
williamr@2
   699
                                const TDesC8& aValue );
williamr@2
   700
williamr@2
   701
        /**
williamr@2
   702
        * This function writes a 16-bit text value to the specified column.
williamr@2
   703
        * If the specified column does not exist (that is, not part of the
williamr@2
   704
        * database structure), it will Panic in debug builds and it will
williamr@2
   705
        * return KErrInvalidColumn in release builds without Panicking.
williamr@2
   706
        * Panic is used in debug builds because it indicates a programming
williamr@2
   707
        * error. In release, it 'notifies' the caller about the error through
williamr@2
   708
        * the return value but enables system to continue operation.
williamr@2
   709
        * This function can Leave if the copying of the text does not succeed.
williamr@2
   710
        * @param aColumn Enum value indicating the column to write.
williamr@2
   711
        * @param aValue Reference to a 16-bit text descriptor to the value
williamr@2
   712
        * @return Error code.
williamr@2
   713
        *
williamr@2
   714
        * @deprecated
williamr@2
   715
        */
williamr@2
   716
        IMPORT_C TInt WriteTextL( const TApMember aColumn,
williamr@2
   717
                                const TDesC16& aValue );
williamr@2
   718
williamr@2
   719
        /**
williamr@2
   720
        * This function writes a long text value to the specified column.
williamr@2
   721
        * If the specified column does not exist (that is, not part of the
williamr@2
   722
        * database structure), it will Panic in debug builds and it will
williamr@2
   723
        * return KErrInvalidColumn in release builds without Panicking.
williamr@2
   724
        * Panic is used in debug builds because it indicates a programming
williamr@2
   725
        * error. In release, it 'notifies' the caller about the error through
williamr@2
   726
        * the return value but enables system to continue operation.
williamr@2
   727
        * This function can Leave if the copying of the text does not succeed.
williamr@2
   728
        * @param aColumn Enum value indicating the column to write.
williamr@2
   729
        * @param aValue Reference to a 16-bit text descriptor to the value
williamr@2
   730
        * @return Error code.
williamr@2
   731
        *
williamr@2
   732
        * @deprecated
williamr@2
   733
        */
williamr@2
   734
        IMPORT_C TInt WriteLongTextL( const TApMember aColumn,
williamr@2
   735
                                    const TDesC& aValue );
williamr@2
   736
williamr@2
   737
        /**
williamr@2
   738
        * This function writes a TUint32 value to the specified column.
williamr@2
   739
        * If the specified column does not exist (that is, not part of the
williamr@2
   740
        * database structure), it will Panic in debug builds and it will
williamr@2
   741
        * return KErrInvalidColumn in release builds without Panicking.
williamr@2
   742
        * Panic is used in debug builds because it indicates a programming
williamr@2
   743
        * error. In release, it 'notifies' the caller about the error through
williamr@2
   744
        * the return value but enables system to continue operation.
williamr@2
   745
        * @param aColumn Enum value indicating the column to write.
williamr@2
   746
        * @param aValue A const reference to a TUint32 value
williamr@2
   747
        * @return Error code.
williamr@2
   748
        *
williamr@2
   749
        * @deprecated
williamr@2
   750
        */
williamr@2
   751
        IMPORT_C TInt WriteUint( const TApMember aColumn,
williamr@2
   752
                                const TUint32& aValue );
williamr@2
   753
williamr@2
   754
        /**
williamr@2
   755
        * This function writes a boolean value to the specified column.
williamr@2
   756
        * If the specified column does not exist (that is, not part of the
williamr@2
   757
        * database structure), it will Panic in debug builds and it will
williamr@2
   758
        * return KErrInvalidColumn in release builds without Panicking.
williamr@2
   759
        * Panic is used in debug builds because it indicates a programming
williamr@2
   760
        * error. In release, it 'notifies' the caller about the error through
williamr@2
   761
        * the return value but enables system to continue operation.
williamr@2
   762
        * @param aColumn Enum value indicating the column to write.
williamr@2
   763
        * @param aValue A const reference to a boolean value
williamr@2
   764
        * @return Error code.
williamr@2
   765
        *
williamr@2
   766
        * @deprecated
williamr@2
   767
        */
williamr@2
   768
        IMPORT_C TInt WriteBool( const TApMember aColumn,
williamr@2
   769
                                const TBool& aValue );
williamr@2
   770
williamr@2
   771
williamr@2
   772
        // Query
williamr@2
   773
        // COMMON
williamr@2
   774
        /**
williamr@2
   775
        * This function returns the ID of the access point
williamr@2
   776
        * @return The ID of this access point
williamr@2
   777
        *
williamr@2
   778
        * @deprecated
williamr@2
   779
        */
williamr@2
   780
        IMPORT_C TUint32 WapUid() const;
williamr@2
   781
williamr@2
   782
williamr@2
   783
        /**
williamr@2
   784
        * This function returns the name of the connection
williamr@2
   785
        * Ownership is not passed.
williamr@2
   786
        * @return The name of the connection
williamr@2
   787
        *
williamr@2
   788
        * @deprecated
williamr@2
   789
        */
williamr@2
   790
        IMPORT_C const TDesC& ConnectionName() const;
williamr@2
   791
williamr@2
   792
williamr@2
   793
        // WAP-spec.
williamr@2
   794
        /**
williamr@2
   795
        * This function returns the current WAP bearer for the access point
williamr@2
   796
        * Ownership is not passed.
williamr@2
   797
        * @return The current WAP bearer for the access point
williamr@2
   798
        *
williamr@2
   799
        * @deprecated
williamr@2
   800
        */
williamr@2
   801
        IMPORT_C const TDesC& WapBearer() const;
williamr@2
   802
williamr@2
   803
williamr@2
   804
        /**
williamr@2
   805
        * This function returns the bearer type for the current access point
williamr@2
   806
        * @return The current bearer type for the access point
williamr@2
   807
        *
williamr@2
   808
        * @deprecated
williamr@2
   809
        */
williamr@2
   810
        IMPORT_C TApBearerType BearerTypeL();
williamr@2
   811
williamr@2
   812
williamr@2
   813
        /**
williamr@2
   814
        * This function sets the bearer type for the current access point
williamr@2
   815
        * @param aBearer TApBearerType enum indicating the desired bearer type.
williamr@2
   816
        * @return No return value.
williamr@2
   817
        *
williamr@2
   818
        * @deprecated
williamr@2
   819
        */
williamr@2
   820
        IMPORT_C void SetBearerTypeL( TApBearerType aBearer );
williamr@2
   821
williamr@2
   822
williamr@2
   823
        /**
williamr@2
   824
        * This function writes a 16-bit text value to the 'name' fields
williamr@2
   825
        * of the access point.
williamr@2
   826
        * This includes: WAP_ACCESS_POINT, IAP, Dial/in/out/Gprs In/Out
williamr@2
   827
        * table's COMM_DB_NAME fields.
williamr@2
   828
        * These fields are (by TApMember): EApWapAccessPointName, EApIapName,
williamr@2
   829
        * EApIspName.
williamr@2
   830
        * It is useful if we need to use same names.
williamr@2
   831
        * @param aValue A const reference to a 16-bit text descriptor to
williamr@2
   832
        * the value.
williamr@2
   833
        * @return No return value.
williamr@2
   834
        *
williamr@2
   835
        * @deprecated
williamr@2
   836
        */
williamr@2
   837
        IMPORT_C void SetNamesL( const TDesC16& aValue );
williamr@2
   838
williamr@2
   839
williamr@2
   840
        /**
williamr@2
   841
        * This function checks the integrity of the CApAccessPointItem.
williamr@2
   842
        * Currently checks:
williamr@2
   843
        * IF WAP_IP_BEARER, WAP_ISP_TYPE conforms to IAP_SERVICE_TYPE
williamr@2
   844
        * @return Boolean indicating whether the sanity check has
williamr@2
   845
        * passed(ETrue) or not(EFalse)
williamr@2
   846
        *
williamr@2
   847
        * @deprecated
williamr@2
   848
        */
williamr@2
   849
        IMPORT_C TBool SanityCheckOk();
williamr@2
   850
williamr@2
   851
williamr@2
   852
        /**
williamr@2
   853
        * This function compares this and the passed CApAccessPointItem
williamr@2
   854
        * whether they have the same ISP and bearer
williamr@2
   855
        * Returns true if the APs have the same phone number
williamr@2
   856
        * @param aItem a CApAccessPointItem to compare with
williamr@2
   857
        * @return whether the APs have the same isp and bearer
williamr@2
   858
        *
williamr@2
   859
        * @deprecated
williamr@2
   860
        */
williamr@2
   861
        IMPORT_C TBool HasSameIspAndBearerL( CApAccessPointItem& aItem );
williamr@2
   862
williamr@2
   863
        /**
williamr@2
   864
        * This function returns whether the access point is read-only or not.
williamr@2
   865
        * @return Whether the current access point is read-only or not.
williamr@2
   866
        *
williamr@2
   867
        * @deprecated
williamr@2
   868
        */
williamr@2
   869
        IMPORT_C TBool IsReadOnly() const;
williamr@2
   870
williamr@2
   871
    public: // public, not exported, available only inside the ApEngine dll
williamr@2
   872
        /**
williamr@2
   873
        * Returnes whether the given access point is a VPN ap or not.
williamr@2
   874
        */
williamr@2
   875
        TBool IsVpnAp() const;
williamr@2
   876
williamr@2
   877
        /**
williamr@2
   878
        * Sets the current access point as VPN or as normal AP.
williamr@2
   879
        * Internal use only!
williamr@2
   880
        * @param aIsVpn a TBool specifiyng that the current AP is VPN or not.
williamr@2
   881
        */
williamr@2
   882
        void SetVpnAp( TBool aIsVpn );
williamr@2
   883
williamr@2
   884
    private:
williamr@2
   885
        /**
williamr@2
   886
        * Returns whether a given member is specified (after reading it from
williamr@2
   887
        * the DB) or not.
williamr@2
   888
        * @param aMember The member we would like to knopw if it is specified 
williamr@2
   889
        * or not.
williamr@2
   890
        * @return whether a given member is specified (after reading it from
williamr@2
   891
        * the DB) or not.
williamr@2
   892
        */
williamr@2
   893
        TBool Specified( TApMember aMember );
williamr@2
   894
williamr@2
   895
        /**
williamr@2
   896
        * Sets a given member as specified or not
williamr@2
   897
        * @param aMember The member to set
williamr@2
   898
        * @param aOn The value to set
williamr@2
   899
        */
williamr@2
   900
        void Specify( TApMember aMember, TBool aOn );
williamr@2
   901
williamr@2
   902
        /**
williamr@2
   903
        * Sets all WAP member as specified or not
williamr@2
   904
        * @param aOn The value to set
williamr@2
   905
        */
williamr@2
   906
        void SpecifyWap( TBool aOn );
williamr@2
   907
williamr@2
   908
        /**
williamr@2
   909
        * Sets all IP bearer member as specified or not
williamr@2
   910
        * @param aOn The value to set
williamr@2
   911
        */
williamr@2
   912
        void SpecifyIpBearer( TBool aOn );
williamr@2
   913
williamr@2
   914
        /**
williamr@2
   915
        * Sets all IAP member as specified or not
williamr@2
   916
        * @param aOn The value to set
williamr@2
   917
        */
williamr@2
   918
        void SpecifyIAP( TBool aOn );
williamr@2
   919
williamr@2
   920
        /**
williamr@2
   921
        * Sets all ISP member as specified or not
williamr@2
   922
        * @param aOn The value to set
williamr@2
   923
        */
williamr@2
   924
        void SpecifyISP( TBool aOn );
williamr@2
   925
williamr@2
   926
        /**
williamr@2
   927
        * Sets all GPRS member as specified or not
williamr@2
   928
        * @param aOn The value to set
williamr@2
   929
        */
williamr@2
   930
        void SpecifyGPRS( TBool aOn );
williamr@2
   931
williamr@2
   932
        /**
williamr@2
   933
        * Sets all CDMA member as specified or not
williamr@2
   934
        * @param aOn The value to set
williamr@2
   935
        */
williamr@2
   936
        void SpecifyCDMA( TBool aOn );
williamr@2
   937
williamr@2
   938
        /**
williamr@2
   939
        * Sets all WLAN member as specified or not
williamr@2
   940
        * @param aOn The value to set
williamr@2
   941
        */
williamr@2
   942
        void SpecifyWLAN( TBool aOn );
williamr@2
   943
williamr@2
   944
        /**
williamr@2
   945
        * Sets all member as specified or not
williamr@2
   946
        * @param aOn The value to set
williamr@2
   947
        */
williamr@2
   948
        void SpecifyAll( TBool aOn );
williamr@2
   949
williamr@2
   950
        /**
williamr@2
   951
        * Sets iGetDNSIPFromServer according the currently valid iPrimaryDNS
williamr@2
   952
        * & iSecondaryDNS values. Called internally, after every setting of
williamr@2
   953
        * the above two values
williamr@2
   954
        */
williamr@2
   955
        void SetDnsIpFromServer();
williamr@2
   956
williamr@2
   957
        /**
williamr@2
   958
        * Sets iIspIPAddrFromServer according the currently valid iIspIPAddr
williamr@2
   959
        * value. Called internally, after every setting of iIspIPAddr values
williamr@2
   960
        */
williamr@2
   961
        void SetIpFromServer();
williamr@2
   962
williamr@2
   963
williamr@2
   964
        /**
williamr@2
   965
        * Sets iExt->iIpv6GetDNSIPFromServer according the currently valid 
williamr@2
   966
        * iExt->iIpv6PrimaryDNS & iExt->iIpv6SecondaryDNS values.
williamr@2
   967
        * Called internally, after every setting of the above two values
williamr@2
   968
        */
williamr@2
   969
        void SetDns6IpFromServer();
williamr@2
   970
williamr@2
   971
williamr@2
   972
        /**
williamr@2
   973
        * Reallocates a passed 16-bit descriptor. Passed descriptor is deleted,
williamr@2
   974
        * new one is AllocL-ed
williamr@2
   975
        * Passed descriptor MUST NOT BE on the CleanupStack
williamr@2
   976
        * @param aDes The descriptor to hold the value
williamr@2
   977
        * @param aValue The value to pass to the aDes descriptor.
williamr@2
   978
        */
williamr@2
   979
        void ReAllocL(HBufC*& aDes, const TDesC16& aValue);
williamr@2
   980
williamr@2
   981
        /**
williamr@2
   982
        * Reallocates a passed 8-bit descriptor. Passed descriptor is deleted,
williamr@2
   983
        * new one is AllocL-ed
williamr@2
   984
        * Passed descriptor MUST NOT BE on the CleanupStack
williamr@2
   985
        * @param aDes The descriptor to hold the value
williamr@2
   986
        * @param aValue The value to pass to the aDes descriptor.
williamr@2
   987
        */
williamr@2
   988
        void ReAllocL(HBufC8*& aDes, const TDesC8& aValue);
williamr@2
   989
williamr@2
   990
williamr@2
   991
        /**
williamr@2
   992
        * Compares THIS and the passed aItem.
williamr@2
   993
        * @param aItem The item to compare this to
williamr@2
   994
        * @return Whether the item is equal with this or not
williamr@2
   995
        */
williamr@2
   996
        TBool DoCompareApL( const CApAccessPointItem& aItem ) const;
williamr@2
   997
williamr@2
   998
williamr@2
   999
        /**
williamr@2
  1000
        * Compares the WAP part of THIS and the passed aItem.
williamr@2
  1001
        * Does not compares IAP ID
williamr@2
  1002
        * @param aItem The item to compare this to
williamr@2
  1003
        * @return Whether the WAP part is equal with this or not
williamr@2
  1004
        */
williamr@2
  1005
        TBool CompareWap( const CApAccessPointItem& aItem ) const;
williamr@2
  1006
williamr@2
  1007
williamr@2
  1008
        /**
williamr@2
  1009
        * Compares the IAP part of THIS and the passed aItem.
williamr@2
  1010
        * @param aItem The item to compare this to
williamr@2
  1011
        * @return Whether the IAP part is equal with this or not
williamr@2
  1012
        */
williamr@2
  1013
        TBool CompareIap( const CApAccessPointItem& aItem ) const;
williamr@2
  1014
williamr@2
  1015
williamr@2
  1016
        /**
williamr@2
  1017
        * Compares the IsP part of THIS and the passed aItem.
williamr@2
  1018
        * @param aItem The item to compare this to
williamr@2
  1019
        * @return Whether the ISP part is equal with this or not
williamr@2
  1020
        */
williamr@2
  1021
        TBool CompareIsp( const CApAccessPointItem& aItem ) const;
williamr@2
  1022
williamr@2
  1023
williamr@2
  1024
        /**
williamr@2
  1025
        * Compares the Gprs part of THIS and the passed aItem.
williamr@2
  1026
        * @param aItem The item to compare this to
williamr@2
  1027
        * @return Whether the GPRS part is equal with this or not
williamr@2
  1028
        */
williamr@2
  1029
        TBool CompareGprs( const CApAccessPointItem& aItem ) const;
williamr@2
  1030
williamr@2
  1031
williamr@2
  1032
        /**
williamr@2
  1033
        * Compares the Cdma part of THIS and the passed aItem.
williamr@2
  1034
        * @param aItem The item to compare this to
williamr@2
  1035
        * @return Whether the CDMA part is equal with this or not        
williamr@2
  1036
        */
williamr@2
  1037
        TBool CompareCdma( const CApAccessPointItem& aItem ) const;
williamr@2
  1038
williamr@2
  1039
williamr@2
  1040
        /**
williamr@2
  1041
        * Compares the Wlan part of THIS and the passed aItem.
williamr@2
  1042
        * @param aItem The item to compare this to
williamr@2
  1043
        * @return Whether the WLAN part is equal with this or not
williamr@2
  1044
        */
williamr@2
  1045
        TBool CompareWlan( const CApAccessPointItem& aItem ) const;
williamr@2
  1046
williamr@2
  1047
williamr@2
  1048
        /**
williamr@2
  1049
        * Removes leading 0s from the passed IP address.
williamr@2
  1050
        * @param aValue A descriptor holding the IP address to remove
williamr@2
  1051
        * leading 0s from
williamr@2
  1052
        * @return A newly allocated HBufC holding the resulting string.
williamr@2
  1053
        */
williamr@2
  1054
        HBufC* GetCleanIpAddressLC( const TDesC& aValue );
williamr@2
  1055
williamr@2
  1056
williamr@2
  1057
williamr@2
  1058
        /**
williamr@2
  1059
        * Removes invalid chars e.g. space, () from the passed phone number.
williamr@2
  1060
        * (valid are 0,1,2,..9,p,w,+,*,#)
williamr@2
  1061
        * Strips pre- and postfixes, prefix separator is#,
williamr@2
  1062
        * postfix separators are p, w or +
williamr@2
  1063
        * @param aValue A descriptor holding the phone number
williamr@2
  1064
        * @return A newly allocated HBufC holding the resulting string.
williamr@2
  1065
        */
williamr@2
  1066
        HBufC* GetPlainPhoneNumberLC( const TDesC& aNumber );
williamr@2
  1067
williamr@2
  1068
williamr@2
  1069
        /**
williamr@2
  1070
        * Compares the 'default phone number' (ISP dial-in number) of this
williamr@2
  1071
        * and the passed CApAccessPointItem
williamr@2
  1072
        * @param aItem The item to compare this to
williamr@2
  1073
        * @return a TBool indicating whether the phone numbers are
williamr@2
  1074
        * the same or not.
williamr@2
  1075
        */
williamr@2
  1076
        TBool IsSamePhoneNumberL( CApAccessPointItem& aItem );
williamr@2
  1077
williamr@2
  1078
williamr@2
  1079
        /**
williamr@2
  1080
        * Removes invalid chars from the passed phone number
williamr@2
  1081
        * @param aIntext Text to remove invalid characters from phone number
williamr@2
  1082
        * @return a HBufC holding the new text
williamr@2
  1083
        */
williamr@2
  1084
        HBufC* RemoveInvalidPhoneCharsLC( const TDesC16& aInText );
williamr@2
  1085
williamr@2
  1086
williamr@2
  1087
        /**
williamr@2
  1088
        * Removes invalid chars from the passed text
williamr@2
  1089
        * Invalid chars are: TAB
williamr@2
  1090
        * @param aIntext Text to remove invalid characters from        
williamr@2
  1091
        * @return a HBufC16 holding the new text
williamr@2
  1092
        */
williamr@2
  1093
        HBufC* RemoveInvalidCharsLC( const TDesC16& aInText );
williamr@2
  1094
williamr@2
  1095
williamr@2
  1096
        /**
williamr@2
  1097
        * Removes invalid chars from the passed text
williamr@2
  1098
        * Invalid chars are: TAB
williamr@2
  1099
        * @param aIntext Text to remove invalid characters from        
williamr@2
  1100
        * @return a HBufC8 holding the new text
williamr@2
  1101
        */
williamr@2
  1102
        HBufC8* RemoveInvalidCharsLC( const TDesC8& aInText );
williamr@2
  1103
williamr@2
  1104
williamr@2
  1105
        /**
williamr@2
  1106
        * Compares the proxy data of this and the passed CApAccessPointItem.
williamr@2
  1107
        * @param aItem The item to compare this to
williamr@2
  1108
        * @return Whether the Proxy part is equal with this or not
williamr@2
  1109
        */
williamr@2
  1110
        TBool CompareProxy( const CApAccessPointItem& aItem ) const;
williamr@2
  1111
williamr@2
  1112
williamr@2
  1113
        /**
williamr@2
  1114
        * Returns whether the Ap has proxy data or not.
williamr@2
  1115
        * @return Whether the Ap has proxy data or not.
williamr@2
  1116
        */
williamr@2
  1117
        TBool HasProxy() const;
williamr@2
  1118
williamr@2
  1119
williamr@2
  1120
        /**
williamr@2
  1121
        * Sets the proxy flag.
williamr@2
  1122
        */
williamr@2
  1123
        void SetProxyFlag();
williamr@2
  1124
williamr@2
  1125
williamr@2
  1126
        /**
williamr@2
  1127
        * Limits the speed after changing e.g. bearer type
williamr@2
  1128
        */
williamr@2
  1129
        void LimitSpeedL();
williamr@2
  1130
williamr@2
  1131
williamr@2
  1132
        /**
williamr@2
  1133
        * Sets the IfNetworks value according to the bearer type and 
williamr@2
  1134
        * the IPv6 support availability. The required values are:
williamr@2
  1135
        * IPv4:
williamr@2
  1136
        *   GPRS/CDMA, pdptype ipv4 "ip",
williamr@2
  1137
        *   CSD                     "ip"
williamr@2
  1138
        *   HSCSD                   "ip"
williamr@2
  1139
        * IPv6:
williamr@2
  1140
        *   GPRS/CDMA, pdptype ipv4 "ip",
williamr@2
  1141
        *   GPRS/CDMA, pdptype ipv6 "ip6",
williamr@2
  1142
        *   CSD                     "ip,ip6"
williamr@2
  1143
        *   HSCSD                   "ip,ip6"
williamr@2
  1144
        *
williamr@2
  1145
        */
williamr@2
  1146
        void SetIfNetworksL();
williamr@2
  1147
williamr@2
  1148
williamr@2
  1149
        /**
williamr@2
  1150
        * Check if aColumn is supported.
williamr@2
  1151
        * @param aColumn Enum value indicating the column to check.
williamr@2
  1152
        * @return Whether the given member is supported or not
williamr@2
  1153
        */
williamr@2
  1154
        TBool IsSupported( TApMember aColumn );
williamr@2
  1155
williamr@2
  1156
williamr@2
  1157
        /**
williamr@2
  1158
        * Leave with KErrNotSupported if aColumn is not supported.
williamr@2
  1159
        * @param aColumn Enum value indicating the column to check.
williamr@2
  1160
        */
williamr@2
  1161
        void LeaveIfUnsupportedL( TApMember aColumn );
williamr@2
  1162
williamr@2
  1163
williamr@2
  1164
        /**
williamr@2
  1165
        * Returns whether this item has WLAN or not
williamr@2
  1166
        * @return Whether this item has WLAN or not
williamr@2
  1167
        */
williamr@2
  1168
        TBool IsWlan();
williamr@2
  1169
williamr@2
  1170
williamr@2
  1171
        /**
williamr@2
  1172
        * Limit the Ip6 DNS address
williamr@2
  1173
        * In case of CSD, HSCSD, only Well-known and User defined is supported, 
williamr@2
  1174
        * so if the bearer is changed from something else to these bearer
williamr@2
  1175
        * types, the possible 'Dynamic' should be replaced with Well-known
williamr@2
  1176
        */
williamr@2
  1177
        void LimitIp6DNSL();
williamr@2
  1178
williamr@2
  1179
private:    // Data
williamr@2
  1180
williamr@2
  1181
        // member data
williamr@2
  1182
        // COMMON
williamr@2
  1183
        TUint32 iWapUid;        ///< The unique identifier of the AP record.
williamr@2
  1184
        HBufC* iWapAccessPointName;
williamr@2
  1185
williamr@2
  1186
williamr@2
  1187
        // WAP-spec.
williamr@2
  1188
        HBufC* iWapBearer;
williamr@2
  1189
        HBufC* iStartingPage;
williamr@2
  1190
williamr@2
  1191
        // common for bearers
williamr@2
  1192
        HBufC* iWapGatewayAddress;  ///< The WAP gateway address
williamr@2
  1193
        TBool iIsWTLSSecurityOn;
williamr@2
  1194
        TUint32 iIsConnectionTypeContinuous;
williamr@2
  1195
williamr@2
  1196
        CApItemExtra*   iExt;
williamr@2
  1197
        TUint32         iChargeCard;
williamr@2
  1198
        TUint32         iWapIap;
williamr@2
  1199
        TUint32         iWapIspType;    // deprecated, not used but kept 
williamr@2
  1200
                                        // to keep member positions
williamr@2
  1201
williamr@2
  1202
williamr@2
  1203
        // IAP-part
williamr@2
  1204
        HBufC* iIapName;
williamr@2
  1205
williamr@2
  1206
        TUint32 iIapServiceId;
williamr@2
  1207
        HBufC* iIapServiceType;
williamr@2
  1208
williamr@2
  1209
        TUint32 iIapChargeCardId;
williamr@2
  1210
williamr@2
  1211
        // ISP-part
williamr@2
  1212
        HBufC* iIspName;
williamr@2
  1213
        HBufC* iIspDescription;
williamr@2
  1214
        TCommsDbIspType  iIspType;
williamr@2
  1215
        HBufC* iIspDefaultTelNumber;
williamr@2
  1216
        TBool iIspDialResolution;
williamr@2
  1217
        TBool iUseLoginScript;
williamr@2
  1218
        HBufC* iLoginScript;
williamr@2
  1219
        TBool iPromptPassword;
williamr@2
  1220
        HBufC* iUserName;
williamr@2
  1221
        HBufC* iPassword;
williamr@2
  1222
        TBool iDisplayTerminalWindow;
williamr@2
  1223
        HBufC* iIspIfName;
williamr@2
  1224
        HBufC* iIspIfParams;
williamr@2
  1225
        HBufC* iIspIfNetworks;
williamr@2
  1226
        TBool iIspIfPromptForAuth;
williamr@2
  1227
        HBufC* iIspIfAuthName;
williamr@2
  1228
        HBufC* iIspIfAuthPass;
williamr@2
  1229
        TUint32 iIspIfAuthRetries;
williamr@2
  1230
        TBool iUseCallBack;
williamr@2
  1231
        TCallbackAction iCallBackTypeIsServerNum;
williamr@2
  1232
        HBufC8* iIspIfCallbackInfo;
williamr@2
  1233
        TUint32 iIspCallbackTimeOut;
williamr@2
  1234
        TBool iIspIPAddrFromServer;
williamr@2
  1235
        HBufC* iIspIPAddr;
williamr@2
  1236
        HBufC* iIspIPNetMask;
williamr@2
  1237
        HBufC* iIspGateway;
williamr@2
  1238
        TBool iGetDNSIPFromServer;
williamr@2
  1239
        HBufC* iPrimaryDNS;
williamr@2
  1240
        HBufC* iSecondaryDNS;
williamr@2
  1241
        TBool iEnablePPPCompression;
williamr@2
  1242
        TBool iIspEnableLCPExtensions;
williamr@2
  1243
        TBool iIsPasswordAuthenticationSecure;
williamr@2
  1244
        TBool iIspEnableSwCompression;
williamr@2
  1245
        /*****************************************************
williamr@2
  1246
        *   Series 60 Customer / ETel
williamr@2
  1247
        *   Series 60   ETel API
williamr@2
  1248
        *****************************************************/
williamr@2
  1249
        TInt    iIspBearerName; // RMobileCall::TMobileCallDataServiceCaps  
williamr@2
  1250
        TApCallSpeed iMaxConnSpeed;
williamr@2
  1251
        TApCallType iBearerCallTypeIsdn; //RMobileCall::TMobileCallDataProtocol
williamr@2
  1252
        TInt    iIspBearerCE; // RMobileCall::TMobileCallDataQoS 
williamr@2
  1253
        HBufC8* iIspInitString;
williamr@2
  1254
        TUint32 iIspBearerType;
williamr@2
  1255
        TUint32 iIspChannelCoding;
williamr@2
  1256
        TUint32 iIspAIUR;
williamr@2
  1257
        TUint32 iIspRequestedTimeSlots;
williamr@2
  1258
        TUint32 iIspMaximumTimeSlots;
williamr@2
  1259
williamr@2
  1260
        // GPRS part
williamr@2
  1261
        HBufC*  iGprsAccessPointName;
williamr@2
  1262
        TUint32 iGprsPdpType;
williamr@2
  1263
        HBufC*  iGprsPdpAddress;
williamr@2
  1264
        TUint32 iGprsReqPrecedence;
williamr@2
  1265
        TUint32 iGprsReqDelay;
williamr@2
  1266
        TUint32 iGprsReqReliability;
williamr@2
  1267
        TUint32 iGprsReqPeakThroughput;
williamr@2
  1268
        TUint32 iGprsReqMeanPeakThroughput;
williamr@2
  1269
        TUint32 iGprsMinPrecedence;
williamr@2
  1270
williamr@2
  1271
        TUint32 iGprsMinDelay;
williamr@2
  1272
        TUint32 iGprsMinReliability;
williamr@2
  1273
        TUint32 iGprsMinPeakThroughput;
williamr@2
  1274
        TUint32 iGprsMinMeanThroughput;
williamr@2
  1275
        TBool   iGprsUseAnonymAccess;
williamr@2
  1276
williamr@2
  1277
        CArrayFixFlat<TBool>    *iSpecified;
williamr@2
  1278
        TBool iIsReadOnly;
williamr@2
  1279
williamr@2
  1280
        HBufC*  iApProxyProtocolName;
williamr@2
  1281
        HBufC*  iApProxyServerAddress;
williamr@2
  1282
        TUint32 iApProxyPortNumber;
williamr@2
  1283
        TBool   iApProxyUseProxy;
williamr@2
  1284
        HBufC*  iApProxyExceptions;
williamr@2
  1285
        TBool   iApHasProxySettings;
williamr@2
  1286
williamr@2
  1287
        TUint32 iNetworkId;
williamr@2
  1288
        TUint32 iWapProxyPort;
williamr@2
  1289
        HBufC*  iNetworkName;
williamr@2
  1290
        HBufC*  iWapProxyLoginName;
williamr@2
  1291
        HBufC*  iWapProxyLoginPass;
williamr@2
  1292
        TUint32 iApIapBearerService; // RMobileCall::TMobileCallDataServiceCaps
williamr@2
  1293
williamr@2
  1294
williamr@2
  1295
williamr@2
  1296
    protected:  // Friend classes
williamr@2
  1297
        friend class CApDataHandler;
williamr@2
  1298
williamr@2
  1299
williamr@2
  1300
    };
williamr@2
  1301
williamr@2
  1302
#endif      // ACCESSPOINTITEM_H
williamr@2
  1303
williamr@2
  1304
// End of File