|
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 the class CApAccessPointItem |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
21 #include <nifvar_internal.h> |
|
22 #endif |
|
23 #include <cdblen.h> |
|
24 #include <f32file.h> |
|
25 #include <bautils.h> |
|
26 #include <barsc.h> |
|
27 #include <apengine.rsg> |
|
28 #include "ApAccessPointItem.h" |
|
29 #include "ApEngineConsts.h" |
|
30 #include "ApEngineCommons.h" |
|
31 #include "ApEngineLogger.h" |
|
32 #include <txtetext.h> |
|
33 #include <in_sock.h> |
|
34 |
|
35 #include "APItemExtra.h" |
|
36 #include "APItemCdmaData.h" |
|
37 #include "APItemWlanData.h" |
|
38 |
|
39 #include <featmgr.h> |
|
40 #include <etelpckt.h> |
|
41 #include <etelqos.h> |
|
42 |
|
43 #include <data_caging_path_literals.hrh> |
|
44 |
|
45 |
|
46 // EXTERNAL FUNCTION PROTOTYPES |
|
47 |
|
48 // CONSTANTS |
|
49 _LIT( KDefIspIfName, "ppp" ); // required ! |
|
50 |
|
51 _LIT( KDefGprsIfName, "pppgprs" ); // required ! |
|
52 |
|
53 _LIT( KDefIspIfNetworksIPv4, "ip" ); // required ! |
|
54 //_LIT( KDefGprsIfParams, "gprsnif" ); // required ! |
|
55 _LIT( KDefGprsIfParams, "" ); // required ! |
|
56 |
|
57 _LIT( KDefWapGatewayIpAddress, "0.0.0.0" ); |
|
58 _LIT( KDefIspGateway, "0.0.0.0" ); |
|
59 _LIT( KDefPhoneIpAddress, "0.0.0.0" ); |
|
60 _LIT( KDefPrimaryNameServer, "0.0.0.0" ); |
|
61 _LIT( KDefSecondaryNameServer, "0.0.0.0" ); |
|
62 |
|
63 _LIT( KWellKnownIp6PrimaryNameServer, "fec0:000:0000:ffff::1" ); |
|
64 _LIT( KWellKnownIp6SecondaryNameServer, "fec0:000:0000:ffff::2" ); |
|
65 _LIT( KDefIp6PrimaryNameServer, "0:0:0:0:0:0:0:0" ); |
|
66 _LIT( KDefIp6SecondaryNameServer, "0:0:0:0:0:0:0:0" ); |
|
67 |
|
68 _LIT( KDefIspIfNetworksIPv6, "ip6" ); // required ! |
|
69 _LIT( KDefIspIfNetworksIPv4IPv6, "ip,ip6" ); // required ! |
|
70 _LIT( KDefIspIfNetworksIPv4IPv6LAN, "ip,ip6" ); // required ! |
|
71 |
|
72 |
|
73 |
|
74 /// ROM drive. |
|
75 _LIT( KApEngineResDriveZ, "z:" ); |
|
76 /// ApEngine resource file name. |
|
77 _LIT( KApEngineResFileName, "ApEngine.rsc" ); |
|
78 |
|
79 |
|
80 /** |
|
81 * General Settings UID |
|
82 */ |
|
83 #ifdef __TEST_USE_SHARED_DATA |
|
84 LOCAL_D const TUid KGeneralSettingsUid = { 0X100058EC }; |
|
85 #endif // __TEST_USE_SHARED_DATA |
|
86 |
|
87 |
|
88 // MACROS |
|
89 #define BOOL_COMPARE(a,b) (((a) && (b)) || (!(a) && !(b))) |
|
90 |
|
91 // LOCAL CONSTANTS AND MACROS |
|
92 const TInt KApItemInitialTxtBufSize = 0; |
|
93 |
|
94 const TInt KApMembers = EApWlanIPNameServer2+1; |
|
95 |
|
96 _LIT( KDefProxyProtocolName, "http" ); // required ! |
|
97 |
|
98 #if defined(_DEBUG) |
|
99 _LIT( kApSet, "APEngine" ) ; |
|
100 #endif // (_DEBUG) |
|
101 |
|
102 const TInt KEndOfArray = -1; |
|
103 |
|
104 const TInt KCsdAnalogue[] = { KSpeedAutobaud, KSpeed9600, KSpeed14400, |
|
105 KEndOfArray }; |
|
106 |
|
107 const TInt KCsdAnalogueWcdma[] = { KSpeedAutobaud, KSpeed9600, KSpeed14400, |
|
108 KSpeed28800, KEndOfArray}; |
|
109 |
|
110 const TInt KCsdIsdn110[] = { KSpeed9600, KSpeed14400, KEndOfArray}; |
|
111 |
|
112 const TInt KCsdIsdn110Wcdma[] = { KSpeed9600, KSpeed14400, KSpeed28800, |
|
113 KSpeed38400, KEndOfArray}; |
|
114 |
|
115 const TInt KCsdIsdn120[] = { KSpeed9600, KSpeed14400, KEndOfArray}; |
|
116 |
|
117 const TInt KCsdIsdn120Wcdma[] = { KSpeed9600, KSpeed14400, KSpeed28800, |
|
118 KSpeed56000, KEndOfArray}; |
|
119 |
|
120 const TInt KHcsdAnal[] = { KSpeedAutobaud, KSpeed9600, KSpeed14400, |
|
121 KSpeed19200, KSpeed28800, KEndOfArray}; |
|
122 |
|
123 const TInt KHcsdIsdn110[] = { KSpeed9600, KSpeed14400, KSpeed19200, |
|
124 KSpeed28800, KSpeed38400, KEndOfArray}; |
|
125 |
|
126 const TInt KHcsdIsdn120[] = { KSpeed9600, KSpeed14400, KSpeed19200, |
|
127 KSpeed28800, KSpeed43200, KEndOfArray}; |
|
128 |
|
129 |
|
130 |
|
131 // --------------------------------------------------------- |
|
132 // --------------------------------------------------------- |
|
133 // |
|
134 // LOCAL, CApItemExtra class implementation |
|
135 // |
|
136 // --------------------------------------------------------- |
|
137 // --------------------------------------------------------- |
|
138 // |
|
139 // --------------------------------------------------------- |
|
140 // CApItemExtra::NewL |
|
141 // --------------------------------------------------------- |
|
142 // |
|
143 CApItemExtra* CApItemExtra::NewL() |
|
144 { |
|
145 return NULL; |
|
146 } |
|
147 |
|
148 |
|
149 // Destructor |
|
150 // --------------------------------------------------------- |
|
151 // CApItemExtra::~CApItemExtra |
|
152 // --------------------------------------------------------- |
|
153 // |
|
154 CApItemExtra::~CApItemExtra() |
|
155 { |
|
156 } |
|
157 |
|
158 |
|
159 // C++ default constructor can NOT contain any code that |
|
160 // might leave. |
|
161 // --------------------------------------------------------- |
|
162 // CApItemExtra::CApItemExtra |
|
163 // --------------------------------------------------------- |
|
164 // |
|
165 CApItemExtra::CApItemExtra() |
|
166 :iIsFeatureManagerInitialised( EFalse ), |
|
167 iIpv6GetDNSIPFromServer( ETrue ), |
|
168 iIsWcdma( EFalse ), |
|
169 iIsIpv6Supported( EFalse ), |
|
170 iIsVpnAp( EFalse ), |
|
171 iIsAppCsdSupport( EFalse ) |
|
172 { |
|
173 } |
|
174 |
|
175 // Symbian OS default constructor can leave. |
|
176 // --------------------------------------------------------- |
|
177 // CApItemExtra::ConstructL |
|
178 // --------------------------------------------------------- |
|
179 // |
|
180 void CApItemExtra::ConstructL() |
|
181 { |
|
182 } |
|
183 |
|
184 |
|
185 // --------------------------------------------------------- |
|
186 // --------------------------------------------------------- |
|
187 // |
|
188 // LOCAL, CApItemCdmaData class implementation |
|
189 // |
|
190 // --------------------------------------------------------- |
|
191 // --------------------------------------------------------- |
|
192 // |
|
193 // --------------------------------------------------------- |
|
194 // CApItemCdmaData::NewL |
|
195 // --------------------------------------------------------- |
|
196 // |
|
197 CApItemCdmaData* CApItemCdmaData::NewL() |
|
198 { |
|
199 return NULL; |
|
200 } |
|
201 |
|
202 |
|
203 // Destructor |
|
204 // --------------------------------------------------------- |
|
205 // CApItemCdmaData::~CApItemCdmaData |
|
206 // --------------------------------------------------------- |
|
207 // |
|
208 CApItemCdmaData::~CApItemCdmaData() |
|
209 { |
|
210 } |
|
211 |
|
212 |
|
213 // C++ default constructor can NOT contain any code that |
|
214 // might leave. |
|
215 // --------------------------------------------------------- |
|
216 // CApItemCdmaData::CApItemCdmaData |
|
217 // --------------------------------------------------------- |
|
218 // |
|
219 CApItemCdmaData::CApItemCdmaData() |
|
220 /* Assuming 0 default values everywhere. */ |
|
221 :iServiceOption( RPacketContext::KLowSpeedData ), |
|
222 iPdpType( EIPv4 ), |
|
223 iReqFwdPriority( 0 ), /*RPacketQoS::TQoSLinkPriority*/ |
|
224 iReqRevPriority( 0 ), /*RPacketQoS::TQoSLinkPriority*/ |
|
225 iReqFwdBitrate( 0 ), /*RPacketQoS::TQoSDataRate*/ |
|
226 iReqRevBitrate( 0 ), /*RPacketQoS::TQoSDataRate*/ |
|
227 iReqFwdLoss( 0 ), /*RPacketQoS::TQoSDataLoss*/ |
|
228 iReqRevLoss( 0 ), /*RPacketQoS::TQoSDataLoss*/ |
|
229 iReqFwdMaxDelay( 0 ), /*RPacketQoS::TQoSDelay*/ |
|
230 iReqRevMaxDelay( 0 ), /*RPacketQoS::TQoSDelay*/ |
|
231 iMinFwdBitrate( 0 ), /*RPacketQoS::TQoSDataRate*/ |
|
232 iMinRevBitrate( 0 ), /*RPacketQoS::TQoSDataRate*/ |
|
233 iAccptFwdLoss( 0 ), /*RPacketQoS::TQoSDataLoss*/ |
|
234 iAccptRevLoss( 0 ), /*RPacketQoS::TQoSDataLoss*/ |
|
235 iAccptFwdMaxDelay( 0 ), /*RPacketQoS::TQoSDelay*/ |
|
236 iAccptRevMaxDelay( 0 ), /*RPacketQoS::TQoSDelay*/ |
|
237 iQosWarningTimeout( 0 ), /*0xffffffff disables*/ |
|
238 iRlpMode( RPacketQoS::KRLPUnknown ), |
|
239 // CDMA2000 deprecated Mobile IP fields |
|
240 iMip( EFalse ), |
|
241 iMipTimeout( 0 ), |
|
242 // CDMA2000 specific CDMA parameters provisioned through OTA |
|
243 iNaiType( 0 ), |
|
244 iSimpleIpAuthAlgorithm( 0 ), |
|
245 iSimpleIpPapSsHandle( 0 ), |
|
246 iSimpleIpChapSsHandle( 0 ), |
|
247 iMipTBit( 0 ), |
|
248 iMipMnAaaAuthAlgorithm( 0 ), |
|
249 iMipMnAaaSpi( 0 ), |
|
250 iMipMnAaaSsHandle( 0 ), |
|
251 iMipMnHaAuthAlgorithm( 0 ), |
|
252 iMipMnHaSpi( 0 ), |
|
253 iMipMnHaSsHandle( 0 ) |
|
254 { |
|
255 } |
|
256 |
|
257 // Symbian OS default constructor can leave. |
|
258 // --------------------------------------------------------- |
|
259 // CApItemCdmaData::ConstructL |
|
260 // --------------------------------------------------------- |
|
261 // |
|
262 void CApItemCdmaData::ConstructL() |
|
263 { |
|
264 } |
|
265 |
|
266 |
|
267 |
|
268 |
|
269 |
|
270 |
|
271 |
|
272 // --------------------------------------------------------- |
|
273 // --------------------------------------------------------- |
|
274 // |
|
275 // LOCAL, CApItemWlanData class implementation |
|
276 // |
|
277 // --------------------------------------------------------- |
|
278 // --------------------------------------------------------- |
|
279 // |
|
280 // --------------------------------------------------------- |
|
281 // CApItemWlanData::NewL |
|
282 // --------------------------------------------------------- |
|
283 // |
|
284 CApItemWlanData* CApItemWlanData::NewL() |
|
285 { |
|
286 return NULL; |
|
287 } |
|
288 |
|
289 |
|
290 // Destructor |
|
291 // --------------------------------------------------------- |
|
292 // CApItemWlanData::~CApItemWlanData |
|
293 // --------------------------------------------------------- |
|
294 // |
|
295 CApItemWlanData::~CApItemWlanData() |
|
296 { |
|
297 } |
|
298 |
|
299 |
|
300 // C++ default constructor can NOT contain any code that |
|
301 // might leave. |
|
302 // --------------------------------------------------------- |
|
303 // CApItemWlanData::CApItemWlanData |
|
304 // --------------------------------------------------------- |
|
305 // |
|
306 CApItemWlanData::CApItemWlanData() |
|
307 :iWlanNetworkMode( EInfra ), |
|
308 iWlanSecurityMode( EOpen ) |
|
309 /* Assuming 0 default values elsewhere. */ |
|
310 { |
|
311 } |
|
312 |
|
313 // Symbian OS default constructor can leave. |
|
314 // --------------------------------------------------------- |
|
315 // CApItemWlanData::ConstructL |
|
316 // --------------------------------------------------------- |
|
317 // |
|
318 void CApItemWlanData::ConstructL() |
|
319 { |
|
320 } |
|
321 |
|
322 |
|
323 |
|
324 |
|
325 // MODULE DATA STRUCTURES |
|
326 |
|
327 // ========================================================= |
|
328 // ========================================================= |
|
329 // ========================================================= |
|
330 // |
|
331 // CApAccessPointItem class implementation |
|
332 // |
|
333 // ========================================================= |
|
334 // ========================================================= |
|
335 // ========================================================= |
|
336 // |
|
337 |
|
338 // ================= MEMBER FUNCTIONS ======================= |
|
339 // Two-phased constructor. |
|
340 // --------------------------------------------------------- |
|
341 // CApAccessPointItem::NewLC |
|
342 // --------------------------------------------------------- |
|
343 // |
|
344 EXPORT_C CApAccessPointItem* CApAccessPointItem::NewLC() |
|
345 { |
|
346 return NULL; |
|
347 } |
|
348 |
|
349 |
|
350 // Destructor |
|
351 // --------------------------------------------------------- |
|
352 // CApAccessPointItem::~CApAccessPointItem |
|
353 // --------------------------------------------------------- |
|
354 // |
|
355 EXPORT_C CApAccessPointItem::~CApAccessPointItem() |
|
356 { |
|
357 } |
|
358 |
|
359 |
|
360 // --------------------------------------------------------- |
|
361 // CApAccessPointItem::CopyFromL |
|
362 // --------------------------------------------------------- |
|
363 // |
|
364 EXPORT_C void CApAccessPointItem::CopyFromL( const CApAccessPointItem& |
|
365 aCopyFrom ) |
|
366 { |
|
367 } |
|
368 |
|
369 |
|
370 |
|
371 // --------------------------------------------------------- |
|
372 // CApAccessPointItem::operator== |
|
373 // --------------------------------------------------------- |
|
374 // |
|
375 EXPORT_C TBool CApAccessPointItem::operator==( |
|
376 const CApAccessPointItem& aItem |
|
377 ) const |
|
378 { |
|
379 return EFalse; |
|
380 } |
|
381 |
|
382 |
|
383 |
|
384 // --------------------------------------------------------- |
|
385 // CApAccessPointItem::operator!= |
|
386 // --------------------------------------------------------- |
|
387 // |
|
388 EXPORT_C TBool CApAccessPointItem::operator!=( |
|
389 const CApAccessPointItem& aItem |
|
390 ) const |
|
391 { |
|
392 return EFalse; |
|
393 } |
|
394 |
|
395 |
|
396 |
|
397 // C++ default constructor can NOT contain any code that |
|
398 // might leave. |
|
399 // --------------------------------------------------------- |
|
400 // CApAccessPointItem::CApAccessPointItem |
|
401 // --------------------------------------------------------- |
|
402 // |
|
403 EXPORT_C CApAccessPointItem::CApAccessPointItem() |
|
404 :iIsWTLSSecurityOn( EFalse ), |
|
405 iIsConnectionTypeContinuous( EWapWspOptionConnectionOriented ), |
|
406 iIspType( EIspTypeInternetOnly ), |
|
407 iUseLoginScript( EFalse ), |
|
408 iPromptPassword( EFalse ), |
|
409 iDisplayTerminalWindow( EFalse ), |
|
410 iUseCallBack( EFalse ), |
|
411 iCallBackTypeIsServerNum( ECallbackActionMSCBCPAcceptServerSpecifiedNumber ), |
|
412 iIspCallbackTimeOut( KCallBackTimeOut ), |
|
413 iEnablePPPCompression( EFalse ), |
|
414 iIsPasswordAuthenticationSecure( ETrue ), |
|
415 iBearerCallTypeIsdn( ECallTypeAnalogue ), |
|
416 iIspBearerCE( RMobileCall::EQoSNonTransparent ), |
|
417 iGprsPdpType( EIPv4 ), |
|
418 iIsReadOnly( EFalse ), |
|
419 iApHasProxySettings( EFalse ), |
|
420 iNetworkId( 0 ), |
|
421 iApIapBearerService( RMobileCall::KCapsDataCircuitAsynchronous ) |
|
422 |
|
423 { |
|
424 } |
|
425 |
|
426 |
|
427 // Symbian OS default constructor can leave. |
|
428 // --------------------------------------------------------- |
|
429 // CApAccessPointItem::ConstructL |
|
430 // --------------------------------------------------------- |
|
431 // |
|
432 EXPORT_C void CApAccessPointItem::ConstructL() |
|
433 { |
|
434 } |
|
435 |
|
436 |
|
437 // --------------------------------------------------------- |
|
438 // CApAccessPointItem::ReadTextL |
|
439 // --------------------------------------------------------- |
|
440 // |
|
441 EXPORT_C void CApAccessPointItem::ReadTextL( const TApMember aColumn, |
|
442 TDes8& aValue ) |
|
443 { |
|
444 } |
|
445 |
|
446 |
|
447 |
|
448 // --------------------------------------------------------- |
|
449 // CApAccessPointItem::ReadTextL |
|
450 // --------------------------------------------------------- |
|
451 // |
|
452 EXPORT_C void CApAccessPointItem::ReadTextL( const TApMember aColumn, |
|
453 TDes16& aValue ) |
|
454 { |
|
455 } |
|
456 |
|
457 |
|
458 // --------------------------------------------------------- |
|
459 // CApAccessPointItem::ReadLongTextL |
|
460 // --------------------------------------------------------- |
|
461 // |
|
462 EXPORT_C HBufC* CApAccessPointItem::ReadLongTextL( const TApMember aColumn ) |
|
463 { |
|
464 return NULL; |
|
465 } |
|
466 |
|
467 |
|
468 |
|
469 |
|
470 // --------------------------------------------------------- |
|
471 // CApAccessPointItem::ReadConstLongTextL |
|
472 // --------------------------------------------------------- |
|
473 // |
|
474 EXPORT_C const HBufC* CApAccessPointItem::ReadConstLongTextL |
|
475 ( const TApMember aColumn ) |
|
476 { |
|
477 return NULL; |
|
478 } |
|
479 |
|
480 |
|
481 // --------------------------------------------------------- |
|
482 // CApAccessPointItem::ReadTextLengthL |
|
483 // --------------------------------------------------------- |
|
484 // |
|
485 EXPORT_C TUint32 CApAccessPointItem::ReadTextLengthL( const TApMember aColumn ) |
|
486 { |
|
487 return 0; |
|
488 } |
|
489 |
|
490 |
|
491 // --------------------------------------------------------- |
|
492 // CApAccessPointItem::ReadUint |
|
493 // --------------------------------------------------------- |
|
494 // |
|
495 EXPORT_C TInt CApAccessPointItem::ReadUint( const TApMember aColumn, |
|
496 TUint32& aValue ) |
|
497 { |
|
498 return KErrNotSupported; |
|
499 } |
|
500 |
|
501 |
|
502 |
|
503 // --------------------------------------------------------- |
|
504 // CApAccessPointItem::ReadBool |
|
505 // --------------------------------------------------------- |
|
506 // |
|
507 EXPORT_C TInt CApAccessPointItem::ReadBool( const TApMember aColumn, |
|
508 TBool& aValue ) |
|
509 { |
|
510 return KErrNotSupported; |
|
511 } |
|
512 |
|
513 |
|
514 // Update |
|
515 // --------------------------------------------------------- |
|
516 // CApAccessPointItem::WriteTextL |
|
517 // --------------------------------------------------------- |
|
518 // |
|
519 EXPORT_C TInt CApAccessPointItem::WriteTextL( const TApMember aColumn, |
|
520 const TDesC8& aValue ) |
|
521 { |
|
522 return KErrNotSupported; |
|
523 } |
|
524 |
|
525 |
|
526 |
|
527 // --------------------------------------------------------- |
|
528 // CApAccessPointItem::WriteTextL |
|
529 // --------------------------------------------------------- |
|
530 // |
|
531 EXPORT_C TInt CApAccessPointItem::WriteTextL( const TApMember aColumn, |
|
532 const TDesC16& aValue ) |
|
533 { |
|
534 return KErrNotSupported; |
|
535 } |
|
536 |
|
537 |
|
538 // --------------------------------------------------------- |
|
539 // CApAccessPointItem::WriteLongTextL |
|
540 // --------------------------------------------------------- |
|
541 // |
|
542 EXPORT_C TInt CApAccessPointItem::WriteLongTextL( const TApMember aColumn, |
|
543 const TDesC& aValue ) |
|
544 { |
|
545 return KErrNotSupported; |
|
546 } |
|
547 |
|
548 |
|
549 // --------------------------------------------------------- |
|
550 // CApAccessPointItem::WriteUint |
|
551 // --------------------------------------------------------- |
|
552 // |
|
553 EXPORT_C TInt CApAccessPointItem::WriteUint( const TApMember aColumn, |
|
554 const TUint32& aValue ) |
|
555 { |
|
556 return KErrNotSupported; |
|
557 } |
|
558 |
|
559 |
|
560 |
|
561 // --------------------------------------------------------- |
|
562 // CApAccessPointItem::WriteBool |
|
563 // --------------------------------------------------------- |
|
564 // |
|
565 EXPORT_C TInt CApAccessPointItem::WriteBool( const TApMember aColumn, |
|
566 const TBool& aValue ) |
|
567 { |
|
568 return KErrNotSupported; |
|
569 } |
|
570 |
|
571 |
|
572 |
|
573 // Query |
|
574 // COMMON |
|
575 |
|
576 // --------------------------------------------------------- |
|
577 // CApAccessPointItem::Uid |
|
578 // --------------------------------------------------------- |
|
579 // |
|
580 EXPORT_C TUint32 CApAccessPointItem::WapUid() const |
|
581 { |
|
582 return 0; |
|
583 } |
|
584 |
|
585 |
|
586 // --------------------------------------------------------- |
|
587 // CApAccessPointItem::ConnectionName |
|
588 // --------------------------------------------------------- |
|
589 // |
|
590 EXPORT_C const TDesC& CApAccessPointItem::ConnectionName() const |
|
591 { |
|
592 User::Leave( KErrNotSupported ); |
|
593 } |
|
594 |
|
595 |
|
596 // WAP-spec. |
|
597 // --------------------------------------------------------- |
|
598 // CApAccessPointItem::WapBearer |
|
599 // --------------------------------------------------------- |
|
600 // |
|
601 EXPORT_C const TDesC& CApAccessPointItem::WapBearer() const |
|
602 { |
|
603 User::Leave( KErrNotSupported ); |
|
604 } |
|
605 |
|
606 |
|
607 |
|
608 // WAP-spec. |
|
609 // --------------------------------------------------------- |
|
610 // CApAccessPointItem::BearerTypeL |
|
611 // --------------------------------------------------------- |
|
612 // |
|
613 EXPORT_C TApBearerType CApAccessPointItem::BearerTypeL() |
|
614 { |
|
615 User::Leave( KErrNotSupported ); |
|
616 } |
|
617 |
|
618 |
|
619 |
|
620 // --------------------------------------------------------- |
|
621 // CApAccessPointItem::SetBearerTypeL |
|
622 // --------------------------------------------------------- |
|
623 // |
|
624 EXPORT_C void CApAccessPointItem::SetBearerTypeL( TApBearerType aBearer ) |
|
625 { |
|
626 } |
|
627 |
|
628 |
|
629 |
|
630 // --------------------------------------------------------- |
|
631 // CApAccessPointItem::SetNamesL |
|
632 // --------------------------------------------------------- |
|
633 // |
|
634 EXPORT_C void CApAccessPointItem::SetNamesL( const TDesC16& aValue ) |
|
635 { |
|
636 } |
|
637 |
|
638 |
|
639 |
|
640 // --------------------------------------------------------- |
|
641 // CApAccessPointItem::SanityCheckOk |
|
642 // --------------------------------------------------------- |
|
643 // |
|
644 EXPORT_C TBool CApAccessPointItem::SanityCheckOk() |
|
645 { |
|
646 return EFalse; |
|
647 } |
|
648 |
|
649 |
|
650 |
|
651 // --------------------------------------------------------- |
|
652 // CApAccessPointItem::HasSameIspAndBearer |
|
653 // --------------------------------------------------------- |
|
654 // |
|
655 EXPORT_C TBool CApAccessPointItem::HasSameIspAndBearerL( |
|
656 CApAccessPointItem& aItem ) |
|
657 { |
|
658 return EFalse; |
|
659 } |
|
660 |
|
661 |
|
662 // --------------------------------------------------------- |
|
663 // CApAccessPointItem::IsReadOnly |
|
664 // --------------------------------------------------------- |
|
665 // |
|
666 EXPORT_C TBool CApAccessPointItem::IsReadOnly() const |
|
667 { |
|
668 return EFalse; |
|
669 } |
|
670 |
|
671 |
|
672 |
|
673 |
|
674 // ================= OTHER EXPORTED FUNCTIONS ============== |
|
675 |
|
676 |
|
677 // =============== OTHER NON - EXPORTED FUNCTIONS ============ |
|
678 // --------------------------------------------------------- |
|
679 // CApAccessPointItem::IsVpnAp |
|
680 // --------------------------------------------------------- |
|
681 // |
|
682 TBool CApAccessPointItem::IsVpnAp() const |
|
683 { |
|
684 return EFalse; |
|
685 } |
|
686 |
|
687 |
|
688 // --------------------------------------------------------- |
|
689 // CApAccessPointItem::SetVpnAp |
|
690 // --------------------------------------------------------- |
|
691 // |
|
692 void CApAccessPointItem::SetVpnAp( TBool aIsVpn ) |
|
693 { |
|
694 } |
|
695 |
|
696 // --------------------------------------------------------- |
|
697 // CApAccessPointItem::Specified |
|
698 // --------------------------------------------------------- |
|
699 // |
|
700 TBool CApAccessPointItem::Specified( TApMember aMember ) |
|
701 { |
|
702 return EFalse; |
|
703 } |
|
704 |
|
705 |
|
706 // --------------------------------------------------------- |
|
707 // CApAccessPointItem::Specify |
|
708 // --------------------------------------------------------- |
|
709 // |
|
710 void CApAccessPointItem::Specify( TApMember aMember, TBool aOn ) |
|
711 { |
|
712 } |
|
713 |
|
714 |
|
715 // --------------------------------------------------------- |
|
716 // CApAccessPointItem::SpecifyAll |
|
717 // --------------------------------------------------------- |
|
718 // |
|
719 void CApAccessPointItem::SpecifyAll( TBool aOn ) |
|
720 { |
|
721 } |
|
722 |
|
723 |
|
724 |
|
725 // --------------------------------------------------------- |
|
726 // CApAccessPointItem::SpecifyWap |
|
727 // --------------------------------------------------------- |
|
728 // |
|
729 void CApAccessPointItem::SpecifyWap( TBool aOn ) |
|
730 { |
|
731 } |
|
732 |
|
733 |
|
734 |
|
735 // --------------------------------------------------------- |
|
736 // CApAccessPointItem::SpecifyIpBearer |
|
737 // --------------------------------------------------------- |
|
738 // |
|
739 void CApAccessPointItem::SpecifyIpBearer( TBool aOn ) |
|
740 { |
|
741 } |
|
742 |
|
743 |
|
744 // --------------------------------------------------------- |
|
745 // CApAccessPointItem::SpecifyIAP |
|
746 // --------------------------------------------------------- |
|
747 // |
|
748 void CApAccessPointItem::SpecifyIAP( TBool aOn ) |
|
749 { |
|
750 } |
|
751 |
|
752 |
|
753 // --------------------------------------------------------- |
|
754 // CApAccessPointItem::SpecifyISP |
|
755 // --------------------------------------------------------- |
|
756 // |
|
757 void CApAccessPointItem::SpecifyISP( TBool aOn ) |
|
758 { |
|
759 } |
|
760 |
|
761 |
|
762 // --------------------------------------------------------- |
|
763 // CApAccessPointItem::SpecifyGPRS |
|
764 // --------------------------------------------------------- |
|
765 // |
|
766 void CApAccessPointItem::SpecifyGPRS( TBool aOn ) |
|
767 { |
|
768 } |
|
769 |
|
770 |
|
771 // --------------------------------------------------------- |
|
772 // CApAccessPointItem::SpecifyCDMA |
|
773 // --------------------------------------------------------- |
|
774 // |
|
775 void CApAccessPointItem::SpecifyCDMA( TBool aOn ) |
|
776 { |
|
777 } |
|
778 |
|
779 |
|
780 // --------------------------------------------------------- |
|
781 // CApAccessPointItem::SpecifyWLAN |
|
782 // --------------------------------------------------------- |
|
783 // |
|
784 void CApAccessPointItem::SpecifyWLAN( TBool aOn ) |
|
785 { |
|
786 } |
|
787 |
|
788 |
|
789 // --------------------------------------------------------- |
|
790 // CApAccessPointItem::SetDnsIpFromServer |
|
791 // --------------------------------------------------------- |
|
792 // |
|
793 void CApAccessPointItem::SetDnsIpFromServer() |
|
794 { |
|
795 } |
|
796 |
|
797 |
|
798 |
|
799 // --------------------------------------------------------- |
|
800 // CApAccessPointItem::SetIpFromServer |
|
801 // --------------------------------------------------------- |
|
802 // |
|
803 void CApAccessPointItem::SetIpFromServer() |
|
804 { |
|
805 } |
|
806 |
|
807 |
|
808 |
|
809 // --------------------------------------------------------- |
|
810 // CApAccessPointItem::SetDns6IpFromServer |
|
811 // --------------------------------------------------------- |
|
812 // |
|
813 void CApAccessPointItem::SetDns6IpFromServer() |
|
814 { |
|
815 } |
|
816 |
|
817 |
|
818 // --------------------------------------------------------- |
|
819 // CApAccessPointItem::ReAllocL |
|
820 // --------------------------------------------------------- |
|
821 // |
|
822 void CApAccessPointItem::ReAllocL(HBufC8*& aDes, const TDesC8& aValue) |
|
823 { |
|
824 } |
|
825 |
|
826 |
|
827 // --------------------------------------------------------- |
|
828 // CApAccessPointItem::ReAllocL |
|
829 // --------------------------------------------------------- |
|
830 // |
|
831 void CApAccessPointItem::ReAllocL(HBufC*& aDes, const TDesC16& aValue) |
|
832 { |
|
833 } |
|
834 |
|
835 |
|
836 |
|
837 // --------------------------------------------------------- |
|
838 // CApAccessPointItem::DoCompareApL |
|
839 // --------------------------------------------------------- |
|
840 // |
|
841 TBool CApAccessPointItem::DoCompareApL( const CApAccessPointItem& aItem )const |
|
842 { |
|
843 return EFalse; |
|
844 } |
|
845 |
|
846 |
|
847 |
|
848 // --------------------------------------------------------- |
|
849 // CApAccessPointItem::CompareWap |
|
850 // --------------------------------------------------------- |
|
851 // |
|
852 TBool CApAccessPointItem::CompareWap( const CApAccessPointItem& aItem ) const |
|
853 { |
|
854 return EFalse; |
|
855 } |
|
856 |
|
857 |
|
858 |
|
859 // --------------------------------------------------------- |
|
860 // CApAccessPointItem::CompareIap |
|
861 // --------------------------------------------------------- |
|
862 // |
|
863 TBool CApAccessPointItem::CompareIap( const CApAccessPointItem& aItem ) const |
|
864 { |
|
865 return EFalse; |
|
866 } |
|
867 |
|
868 |
|
869 |
|
870 |
|
871 // --------------------------------------------------------- |
|
872 // CApAccessPointItem::CompareIsp |
|
873 // --------------------------------------------------------- |
|
874 // |
|
875 TBool CApAccessPointItem::CompareIsp( const CApAccessPointItem& aItem ) const |
|
876 { |
|
877 return EFalse; |
|
878 } |
|
879 |
|
880 |
|
881 |
|
882 |
|
883 // --------------------------------------------------------- |
|
884 // CApAccessPointItem::CompareGprs |
|
885 // --------------------------------------------------------- |
|
886 // |
|
887 TBool CApAccessPointItem::CompareGprs( const CApAccessPointItem& aItem ) const |
|
888 { |
|
889 return EFalse; |
|
890 } |
|
891 |
|
892 |
|
893 |
|
894 // --------------------------------------------------------- |
|
895 // CApAccessPointItem::CompareCdma |
|
896 // --------------------------------------------------------- |
|
897 // |
|
898 TBool CApAccessPointItem::CompareCdma( const CApAccessPointItem& aItem ) const |
|
899 { |
|
900 return EFalse; |
|
901 } |
|
902 |
|
903 |
|
904 |
|
905 // --------------------------------------------------------- |
|
906 // CApAccessPointItem::CompareWlan |
|
907 // --------------------------------------------------------- |
|
908 // |
|
909 TBool CApAccessPointItem::CompareWlan( const CApAccessPointItem& aItem ) const |
|
910 { |
|
911 return EFalse; |
|
912 } |
|
913 |
|
914 |
|
915 // --------------------------------------------------------- |
|
916 // CApAccessPointItem::GetCleanIpAddressLC |
|
917 // --------------------------------------------------------- |
|
918 // |
|
919 HBufC* CApAccessPointItem::GetCleanIpAddressLC( const TDesC& aValue ) |
|
920 { |
|
921 return NULL; |
|
922 } |
|
923 |
|
924 |
|
925 |
|
926 // --------------------------------------------------------- |
|
927 // CApAccessPointItem::GetPlainPhoneNumberLC |
|
928 // --------------------------------------------------------- |
|
929 // |
|
930 HBufC* CApAccessPointItem::GetPlainPhoneNumberLC( const TDesC& aNumber ) |
|
931 { |
|
932 return NULL; |
|
933 } |
|
934 |
|
935 |
|
936 |
|
937 |
|
938 |
|
939 // --------------------------------------------------------- |
|
940 // CApAccessPointItem::IsSamePhoneNumber |
|
941 // --------------------------------------------------------- |
|
942 // |
|
943 TBool CApAccessPointItem::IsSamePhoneNumberL( CApAccessPointItem& aItem ) |
|
944 { |
|
945 return EFalse; |
|
946 } |
|
947 |
|
948 |
|
949 |
|
950 // --------------------------------------------------------- |
|
951 // CApAccessPointItem::RemoveInvalidPhoneCharsLC |
|
952 // --------------------------------------------------------- |
|
953 // |
|
954 HBufC* CApAccessPointItem::RemoveInvalidPhoneCharsLC( const TDesC16& aInText ) |
|
955 { |
|
956 return NULL; |
|
957 } |
|
958 |
|
959 |
|
960 |
|
961 // --------------------------------------------------------- |
|
962 // CApAccessPointItem::RemoveInvalidCharsLC |
|
963 // --------------------------------------------------------- |
|
964 // |
|
965 HBufC* CApAccessPointItem::RemoveInvalidCharsLC( const TDesC16& aInText ) |
|
966 { |
|
967 return NULL; |
|
968 } |
|
969 |
|
970 |
|
971 |
|
972 // --------------------------------------------------------- |
|
973 // CApAccessPointItem::RemoveInvalidCharsLC |
|
974 // --------------------------------------------------------- |
|
975 // |
|
976 HBufC8* CApAccessPointItem::RemoveInvalidCharsLC( const TDesC8& aInText ) |
|
977 { |
|
978 return NULL; |
|
979 } |
|
980 |
|
981 |
|
982 // --------------------------------------------------------- |
|
983 // CApAccessPointItem::CompareProxy |
|
984 // --------------------------------------------------------- |
|
985 // |
|
986 TBool CApAccessPointItem::CompareProxy( const CApAccessPointItem& aItem ) const |
|
987 { |
|
988 return EFalse; |
|
989 } |
|
990 |
|
991 |
|
992 // --------------------------------------------------------- |
|
993 // CApAccessPointItem::HasProxy |
|
994 // --------------------------------------------------------- |
|
995 // |
|
996 TBool CApAccessPointItem::HasProxy() const |
|
997 { |
|
998 return EFalse; |
|
999 } |
|
1000 |
|
1001 |
|
1002 |
|
1003 // --------------------------------------------------------- |
|
1004 // CApAccessPointItem::SetProxyFlag |
|
1005 // --------------------------------------------------------- |
|
1006 // |
|
1007 void CApAccessPointItem::SetProxyFlag() |
|
1008 { |
|
1009 } |
|
1010 |
|
1011 |
|
1012 |
|
1013 |
|
1014 //---------------------------------------------------------- |
|
1015 // CApAccessPointItem::LimitSpeed |
|
1016 //---------------------------------------------------------- |
|
1017 // |
|
1018 void CApAccessPointItem::LimitSpeedL() |
|
1019 { |
|
1020 } |
|
1021 |
|
1022 |
|
1023 |
|
1024 //---------------------------------------------------------- |
|
1025 // CApAccessPointItem::SetIfNetworksL |
|
1026 //---------------------------------------------------------- |
|
1027 // |
|
1028 void CApAccessPointItem::SetIfNetworksL() |
|
1029 { |
|
1030 } |
|
1031 |
|
1032 |
|
1033 //---------------------------------------------------------- |
|
1034 // CApAccessPointItem::IsSupported |
|
1035 //---------------------------------------------------------- |
|
1036 // |
|
1037 TBool CApAccessPointItem::IsSupported( TApMember aColumn ) |
|
1038 { |
|
1039 return EFalse; |
|
1040 } |
|
1041 |
|
1042 //---------------------------------------------------------- |
|
1043 // CApAccessPointItem::LeaveIfUnsupportedL |
|
1044 //---------------------------------------------------------- |
|
1045 // |
|
1046 void CApAccessPointItem::LeaveIfUnsupportedL( TApMember aColumn ) |
|
1047 { |
|
1048 } |
|
1049 |
|
1050 |
|
1051 |
|
1052 |
|
1053 //---------------------------------------------------------- |
|
1054 // CApAccessPointItem::IsWlan |
|
1055 //---------------------------------------------------------- |
|
1056 // |
|
1057 TBool CApAccessPointItem::IsWlan() |
|
1058 { |
|
1059 return EFalse; |
|
1060 } |
|
1061 |
|
1062 |
|
1063 //---------------------------------------------------------- |
|
1064 // CApAccessPointItem::LimitIp6DNSL |
|
1065 //---------------------------------------------------------- |
|
1066 // |
|
1067 void CApAccessPointItem::LimitIp6DNSL() |
|
1068 { |
|
1069 } |
|
1070 |
|
1071 // End of File |