|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Declaration of class CApDataHandler |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
21 #include <nifvar_internal.h> |
|
22 #endif |
|
23 #include "APEngineVariant.hrh" |
|
24 |
|
25 #include <cdbcols.h> |
|
26 #include <commdb.h> |
|
27 #include <cdbpreftable.h> |
|
28 #include <etelpckt.h> |
|
29 #include <featmgr.h> |
|
30 #ifdef __TEST_USE_SHARED_DATA |
|
31 #include <SharedDataClient.h> |
|
32 #include <sharedDataValues.h> |
|
33 #endif //__TEST_USE_SHARED_DATA |
|
34 #include <WlanCdbCols.h> |
|
35 |
|
36 #include "ApDataHandler.h" |
|
37 #include "ApAccessPointItem.h" |
|
38 #include "ApEngineCommons.h" |
|
39 #include "ApUtils.h" |
|
40 #include "ApEngineVer.h" |
|
41 #include "ApEngineLogger.h" |
|
42 #include "ApNetworkItem.h" |
|
43 #include "APItemExtra.h" |
|
44 #include "APItemCdmaData.h" |
|
45 #include "APItemWlanData.h" |
|
46 #include "ApSpeedLookup.h" |
|
47 |
|
48 // CONSTANTS |
|
49 #if defined(_DEBUG) |
|
50 _LIT( KErrInvalidIntendedType, "Invalid intended default type" ); |
|
51 #endif // (_DEBUG) |
|
52 _LIT( KErrNoSuchCase, "No such case" ); |
|
53 |
|
54 |
|
55 // Agreed GPRS_QOS_WARNING_TIMEOUT Value |
|
56 const TInt KGprsOsTimeout = -1; |
|
57 |
|
58 /** |
|
59 * General Settings UID |
|
60 */ |
|
61 #ifdef __TEST_USE_SHARED_DATA |
|
62 LOCAL_D const TUid KGeneralSettingsUid = { 0X100058EC }; |
|
63 #endif // __TEST_USE_SHARED_DATA |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 _LIT( KWlanBearerName, "WLANBearer" ); |
|
71 _LIT( KWlanBearerAgent, "wlanagt.agt" ); |
|
72 _LIT( KWlanBearerNif, "wlannif" ); |
|
73 |
|
74 _LIT( KWlanLDDName, "not used" ); |
|
75 _LIT( KWlanPDDName, "not used" ); |
|
76 |
|
77 const TInt KWlanLastSocketActivityTimeout = -1; |
|
78 const TInt KWlanLastSessionClosedTimeout = 1; |
|
79 const TInt KWlanLastSocketClosedTimeout = -1; |
|
80 |
|
81 |
|
82 |
|
83 |
|
84 |
|
85 |
|
86 // MACROS |
|
87 |
|
88 |
|
89 // LOCAL FUNCTION PROTOTYPES |
|
90 |
|
91 |
|
92 // ================= MEMBER FUNCTIONS ======================= |
|
93 |
|
94 // C++ default constructor can NOT contain any code that |
|
95 // might leave. |
|
96 // |
|
97 // --------------------------------------------------------- |
|
98 // CApDataHandler::NewLC |
|
99 // --------------------------------------------------------- |
|
100 // |
|
101 EXPORT_C CApDataHandler* CApDataHandler::NewLC( CCommsDatabase& aDb ) |
|
102 { |
|
103 return NULL; |
|
104 } |
|
105 |
|
106 |
|
107 |
|
108 // --------------------------------------------------------- |
|
109 // CApDataHandler::~CApDataHandler |
|
110 // --------------------------------------------------------- |
|
111 // |
|
112 EXPORT_C CApDataHandler::~CApDataHandler() |
|
113 { |
|
114 } |
|
115 |
|
116 |
|
117 // --------------------------------------------------------- |
|
118 // CApDataHandler::CApDataHandler |
|
119 // --------------------------------------------------------- |
|
120 // |
|
121 EXPORT_C CApDataHandler::CApDataHandler( ) |
|
122 { |
|
123 } |
|
124 |
|
125 |
|
126 // --------------------------------------------------------- |
|
127 // CApDataHandler::ConstructL |
|
128 // --------------------------------------------------------- |
|
129 // |
|
130 EXPORT_C void CApDataHandler::ConstructL( CCommsDatabase& aDb ) |
|
131 { |
|
132 } |
|
133 |
|
134 |
|
135 // query |
|
136 // --------------------------------------------------------- |
|
137 // CApDataHandler::AccessPointDataL |
|
138 // --------------------------------------------------------- |
|
139 // |
|
140 EXPORT_C void CApDataHandler::AccessPointDataL( TUint32 aUid, |
|
141 CApAccessPointItem& aApItem ) |
|
142 { |
|
143 } |
|
144 |
|
145 |
|
146 |
|
147 // update |
|
148 // --------------------------------------------------------- |
|
149 // CApDataHandler::UpdateAccessPointDataL |
|
150 // --------------------------------------------------------- |
|
151 // |
|
152 EXPORT_C void CApDataHandler::UpdateAccessPointDataL |
|
153 ( |
|
154 CApAccessPointItem& aApItem, |
|
155 TBool& aNameChanged |
|
156 ) |
|
157 { |
|
158 } |
|
159 |
|
160 |
|
161 |
|
162 // Creating new AP |
|
163 // --------------------------------------------------------- |
|
164 // CApDataHandler::CreateCopyFromL |
|
165 // --------------------------------------------------------- |
|
166 // |
|
167 EXPORT_C TUint32 CApDataHandler::CreateCopyFromL( TUint32 aBaseId ) |
|
168 { |
|
169 User::Leave( KErrNotSupported ); |
|
170 } |
|
171 |
|
172 |
|
173 |
|
174 // --------------------------------------------------------- |
|
175 // CApDataHandler::CreateFromDataL |
|
176 // --------------------------------------------------------- |
|
177 // |
|
178 EXPORT_C TUint32 CApDataHandler::CreateFromDataL( CApAccessPointItem& aApItem ) |
|
179 { |
|
180 User::Leave( KErrNotSupported ); |
|
181 } |
|
182 |
|
183 |
|
184 |
|
185 // Remove |
|
186 // --------------------------------------------------------- |
|
187 // CApDataHandler::RemoveAP |
|
188 // --------------------------------------------------------- |
|
189 // |
|
190 EXPORT_C void CApDataHandler::RemoveAPL( TUint32 aUid ) |
|
191 { |
|
192 User::Leave( KErrNotSupported ); |
|
193 } |
|
194 |
|
195 |
|
196 // Getting default access point |
|
197 // --------------------------------------------------------- |
|
198 // CApDataHandler::DefaultL |
|
199 // --------------------------------------------------------- |
|
200 // |
|
201 EXPORT_C TUint32 CApDataHandler::DefaultL( TBool aIsWap ) const |
|
202 { |
|
203 return 0; |
|
204 } |
|
205 |
|
206 |
|
207 |
|
208 // Setting as default |
|
209 // --------------------------------------------------------- |
|
210 // CApDataHandler::SetAsDefaultL |
|
211 // --------------------------------------------------------- |
|
212 // |
|
213 EXPORT_C void CApDataHandler::SetAsDefaultL( TUint32 aUid, |
|
214 TCommsDbIspType aIntendedType ) |
|
215 { |
|
216 User::Leave( KErrNotSupported ); |
|
217 } |
|
218 |
|
219 |
|
220 // --------------------------------------------------------- |
|
221 // --------------------------------------------------------- |
|
222 // Connection Preferene Handling |
|
223 // --------------------------------------------------------- |
|
224 // --------------------------------------------------------- |
|
225 |
|
226 |
|
227 // --------------------------------------------------------- |
|
228 // CApDataHandler::SetPreferredIfDbIapTypeL |
|
229 // --------------------------------------------------------- |
|
230 // |
|
231 EXPORT_C void CApDataHandler::SetPreferredIfDbIapTypeL |
|
232 ( |
|
233 TUint32 aRank, |
|
234 TCommDbConnectionDirection aDirection, |
|
235 TUint32 aBearers, |
|
236 TCommDbDialogPref aPrompt, |
|
237 TUint32 aIAP, |
|
238 TBool aOverwrite |
|
239 ) |
|
240 { |
|
241 User::Leave( KErrNotSupported ); |
|
242 } |
|
243 |
|
244 |
|
245 // --------------------------------------------------------- |
|
246 // CApDataHandler::SetPreferredIfDbIspTypeL |
|
247 // --------------------------------------------------------- |
|
248 // |
|
249 EXPORT_C void CApDataHandler::SetPreferredIfDbIspTypeL |
|
250 ( |
|
251 TUint32 aRank, |
|
252 TCommDbConnectionDirection aDirection, |
|
253 TUint32 aBearers, |
|
254 TCommDbDialogPref aPrompt, |
|
255 TUint32 aISP, |
|
256 TUint32 aChargeCard, |
|
257 const TDesC& aServiceType, |
|
258 TBool aOverwrite |
|
259 ) |
|
260 { |
|
261 User::Leave( KErrNotSupported ); |
|
262 } |
|
263 |
|
264 |
|
265 // --------------------------------------------------------- |
|
266 // CApDataHandler::GetPreferredIfDbIapTypeL |
|
267 // --------------------------------------------------------- |
|
268 // |
|
269 EXPORT_C void CApDataHandler::GetPreferredIfDbIapTypeL |
|
270 ( |
|
271 TUint32 aRank, |
|
272 TCommDbConnectionDirection aDirection, |
|
273 TUint32& aBearers, |
|
274 TUint32& aPrompt, |
|
275 TUint32& aIAP |
|
276 ) |
|
277 { |
|
278 } |
|
279 |
|
280 |
|
281 |
|
282 // --------------------------------------------------------- |
|
283 // CApDataHandler::GetPreferredIfDbIspTypeL |
|
284 // --------------------------------------------------------- |
|
285 // |
|
286 EXPORT_C const TDesC& CApDataHandler::GetPreferredIfDbIspTypeL |
|
287 ( |
|
288 TUint32 /*aRank*/, |
|
289 TCommDbConnectionDirection /*aDirection*/, |
|
290 TUint32& /*aBearers*/, |
|
291 TUint32& /*aPrompt*/, |
|
292 TUint32& /*aISP*/, |
|
293 TUint32& /*aChargeCard*/ |
|
294 ) |
|
295 { |
|
296 User::Leave( KErrNotSupported ); |
|
297 } |
|
298 |
|
299 |
|
300 |
|
301 // --------------------------------------------------------- |
|
302 // CApDataHandler::GetPreferredIfDbIspTypeL |
|
303 // --------------------------------------------------------- |
|
304 // |
|
305 EXPORT_C TUint32 CApDataHandler::DefaultL( TBool aIsWap, |
|
306 TBool& aReadOnly ) const |
|
307 { |
|
308 return 0; |
|
309 } |
|
310 |
|
311 |
|
312 |
|
313 |
|
314 // --------------------------------------------------------- |
|
315 // CApDataHandler::RemoveNetworkL |
|
316 // --------------------------------------------------------- |
|
317 // |
|
318 EXPORT_C void CApDataHandler::RemoveNetworkL( TUint32 aUid ) |
|
319 { |
|
320 User::Leave( KErrNotSupported ); |
|
321 } |
|
322 |
|
323 |
|
324 // --------------------------------------------------------- |
|
325 // CApDataHandler::CreateNetworkL |
|
326 // --------------------------------------------------------- |
|
327 // |
|
328 EXPORT_C void CApDataHandler::CreateNetworkL( CApNetworkItem& aNetwork ) |
|
329 { |
|
330 User::Leave( KErrNotSupported ); |
|
331 } |
|
332 |
|
333 |
|
334 // --------------------------------------------------------- |
|
335 // CApDataHandler::ReadNetworkPartL |
|
336 // --------------------------------------------------------- |
|
337 // |
|
338 EXPORT_C void CApDataHandler::ReadNetworkPartL( CApAccessPointItem& aItem ) |
|
339 { |
|
340 } |
|
341 |
|
342 |
|
343 // --------------------------------------------------------- |
|
344 // CApDataHandler::ReadNetworkL |
|
345 // --------------------------------------------------------- |
|
346 // |
|
347 EXPORT_C void CApDataHandler::ReadNetworkL( TUint32 aUid, |
|
348 CApNetworkItem& aNetwork ) |
|
349 { |
|
350 } |
|
351 |
|
352 |
|
353 // ================= OTHER EXPORTED FUNCTIONS ============== |
|
354 |
|
355 |
|
356 // ================= PROTECTED FUNCTIONS ============== |
|
357 |
|
358 // --------------------------------------------------------- |
|
359 // CApDataHandler::ReadWapDataL |
|
360 // --------------------------------------------------------- |
|
361 // |
|
362 void CApDataHandler::ReadWapDataL( TUint32 aWapId, |
|
363 CApAccessPointItem& aApItem ) |
|
364 { |
|
365 } |
|
366 |
|
367 |
|
368 // --------------------------------------------------------- |
|
369 // CApDataHandler::ReadIapDataL |
|
370 // --------------------------------------------------------- |
|
371 // |
|
372 void CApDataHandler::ReadIapDataL( TUint32 aIapId, |
|
373 CApAccessPointItem& aApItem ) |
|
374 { |
|
375 } |
|
376 |
|
377 |
|
378 |
|
379 |
|
380 |
|
381 // --------------------------------------------------------- |
|
382 // CApDataHandler::ReadIspDataL |
|
383 // --------------------------------------------------------- |
|
384 // |
|
385 void CApDataHandler::ReadIspDataL( TUint32 aIspId, |
|
386 CApAccessPointItem& aApItem ) |
|
387 { |
|
388 } |
|
389 |
|
390 |
|
391 |
|
392 // --------------------------------------------------------- |
|
393 // CApDataHandler::ReadGprsDataL |
|
394 // --------------------------------------------------------- |
|
395 // |
|
396 void CApDataHandler::ReadGprsDataL( TUint32 aIspId, |
|
397 CApAccessPointItem& aApItem ) |
|
398 { |
|
399 } |
|
400 |
|
401 |
|
402 |
|
403 // --------------------------------------------------------- |
|
404 // CApDataHandler::ReadLanDataL |
|
405 // --------------------------------------------------------- |
|
406 // |
|
407 void CApDataHandler::ReadLanDataL( TUint32 aIspId, |
|
408 CApAccessPointItem& aApItem ) |
|
409 { |
|
410 } |
|
411 |
|
412 |
|
413 |
|
414 // --------------------------------------------------------- |
|
415 // CApDataHandler::ReadDialInOutDataL |
|
416 // --------------------------------------------------------- |
|
417 // |
|
418 void CApDataHandler::ReadDialInOutDataL( TUint32 aIspId, |
|
419 CApAccessPointItem& aApItem ) |
|
420 { |
|
421 } |
|
422 |
|
423 |
|
424 |
|
425 // --------------------------------------------------------- |
|
426 // CApDataHandler::ReadVpnInfoL |
|
427 // --------------------------------------------------------- |
|
428 // |
|
429 void CApDataHandler::ReadVpnInfoL( TUint32 aIspId, |
|
430 CApAccessPointItem& aApItem) |
|
431 { |
|
432 } |
|
433 |
|
434 |
|
435 |
|
436 // --------------------------------------------------------- |
|
437 // CApDataHandler::WriteWapBearerDataL |
|
438 // --------------------------------------------------------- |
|
439 // |
|
440 void CApDataHandler::WriteWapBearerDataL( TBool aIsNew, TUint32 aWapId, |
|
441 CApAccessPointItem& aApItem ) |
|
442 { |
|
443 } |
|
444 |
|
445 |
|
446 |
|
447 |
|
448 // --------------------------------------------------------- |
|
449 // CApDataHandler::WriteWapApDataL |
|
450 // --------------------------------------------------------- |
|
451 // |
|
452 void CApDataHandler::WriteWapApDataL( TBool aIsNew, TUint32 aWapId, |
|
453 CApAccessPointItem& aApItem ) |
|
454 { |
|
455 } |
|
456 |
|
457 |
|
458 |
|
459 // --------------------------------------------------------- |
|
460 // CApDataHandler::WriteIapDataL |
|
461 // --------------------------------------------------------- |
|
462 // |
|
463 void CApDataHandler::WriteIapDataL( TBool aIsNew, TUint32 aIapId, |
|
464 CApAccessPointItem& aApItem ) |
|
465 { |
|
466 } |
|
467 |
|
468 |
|
469 |
|
470 // --------------------------------------------------------- |
|
471 // CApDataHandler::WriteIspDataL |
|
472 // --------------------------------------------------------- |
|
473 // |
|
474 void CApDataHandler::WriteIspDataL( TBool aIsNew, TUint32 aIspId, |
|
475 CApAccessPointItem& aApItem ) |
|
476 { |
|
477 } |
|
478 |
|
479 |
|
480 |
|
481 |
|
482 // --------------------------------------------------------- |
|
483 // CApDataHandler::WriteGprsDataL |
|
484 // --------------------------------------------------------- |
|
485 // |
|
486 void CApDataHandler::WriteGprsDataL( TBool aIsNew, |
|
487 CApAccessPointItem& aApItem ) |
|
488 { |
|
489 } |
|
490 |
|
491 |
|
492 |
|
493 // --------------------------------------------------------- |
|
494 // CApDataHandler::WriteLanDataL |
|
495 // --------------------------------------------------------- |
|
496 // |
|
497 void CApDataHandler::WriteLanDataL( TBool aIsNew, |
|
498 CApAccessPointItem& aApItem ) |
|
499 { |
|
500 } |
|
501 |
|
502 |
|
503 |
|
504 // --------------------------------------------------------- |
|
505 // CApDataHandler::DoUpdateAccessPointDataL |
|
506 // --------------------------------------------------------- |
|
507 // |
|
508 TUint32 CApDataHandler::DoUpdateAccessPointDataL |
|
509 ( |
|
510 CApAccessPointItem& aApItem, |
|
511 TBool aIsNew, |
|
512 TBool& aNameChanged |
|
513 ) |
|
514 { |
|
515 return 0; |
|
516 } |
|
517 |
|
518 |
|
519 |
|
520 // --------------------------------------------------------- |
|
521 // CApDataHandler::SetDefaultIapIspL |
|
522 // --------------------------------------------------------- |
|
523 // |
|
524 void CApDataHandler::SetDefaultIapIspL( TUint32 aUid ) |
|
525 { |
|
526 } |
|
527 |
|
528 |
|
529 |
|
530 |
|
531 |
|
532 // --------------------------------------------------------- |
|
533 // CApDataHandler::RemoveWapBearerApL |
|
534 // --------------------------------------------------------- |
|
535 // |
|
536 void CApDataHandler::RemoveWapBearerApL( TUint32 aUid ) |
|
537 { |
|
538 } |
|
539 |
|
540 |
|
541 |
|
542 // --------------------------------------------------------- |
|
543 // CApDataHandler::RemoveWapApL |
|
544 // --------------------------------------------------------- |
|
545 // |
|
546 void CApDataHandler::RemoveWapApL( TUint32 aUid ) |
|
547 { |
|
548 } |
|
549 |
|
550 |
|
551 // --------------------------------------------------------- |
|
552 // CApDataHandler::RemoveIapL |
|
553 // --------------------------------------------------------- |
|
554 // |
|
555 void CApDataHandler::RemoveIapL( TUint32 aUid ) |
|
556 { |
|
557 } |
|
558 |
|
559 |
|
560 |
|
561 // --------------------------------------------------------- |
|
562 // CApDataHandler::RemoveIspL |
|
563 // --------------------------------------------------------- |
|
564 // |
|
565 void CApDataHandler::RemoveIspL( TUint32 aUid, TBool aOut ) |
|
566 { |
|
567 } |
|
568 |
|
569 |
|
570 |
|
571 // --------------------------------------------------------- |
|
572 // CApDataHandler::RemoveGprsL |
|
573 // --------------------------------------------------------- |
|
574 // |
|
575 void CApDataHandler::RemoveGprsL( TUint32 aUid, TBool aOut ) |
|
576 { |
|
577 } |
|
578 |
|
579 |
|
580 // --------------------------------------------------------- |
|
581 // CApDataHandler::RemoveLanL |
|
582 // --------------------------------------------------------- |
|
583 // |
|
584 void CApDataHandler::RemoveLanL( TUint32 aUid ) |
|
585 { |
|
586 } |
|
587 |
|
588 |
|
589 |
|
590 // --------------------------------------------------------- |
|
591 // CApDataHandler::RemoveWlanL |
|
592 // --------------------------------------------------------- |
|
593 // |
|
594 void CApDataHandler::RemoveWlanL( TUint32 aUid ) |
|
595 { |
|
596 User::Leave( KErrNotSupported ); |
|
597 } |
|
598 |
|
599 |
|
600 |
|
601 // --------------------------------------------------------- |
|
602 // CApDataHandler::HandleBearerChangeIfNeededL |
|
603 // --------------------------------------------------------- |
|
604 // |
|
605 TBool CApDataHandler::HandleBearerChangeIfNeededL |
|
606 ( CApAccessPointItem& aApItem ) |
|
607 { |
|
608 return EFalse; |
|
609 } |
|
610 |
|
611 |
|
612 |
|
613 |
|
614 |
|
615 // --------------------------------------------------------- |
|
616 // CApDataHandler::DoAccessPointDataL |
|
617 // --------------------------------------------------------- |
|
618 // |
|
619 void CApDataHandler::DoAccessPointDataL( TUint32 aUid, |
|
620 CApAccessPointItem& aApItem ) |
|
621 { |
|
622 } |
|
623 |
|
624 |
|
625 // --------------------------------------------------------- |
|
626 // CApDataHandler::DoRemoveAPL |
|
627 // --------------------------------------------------------- |
|
628 // |
|
629 void CApDataHandler::DoRemoveAPL( TUint32 aUid ) |
|
630 { |
|
631 } |
|
632 |
|
633 |
|
634 |
|
635 // --------------------------------------------------------- |
|
636 // CApDataHandler::DoSetAsDefaultL |
|
637 // --------------------------------------------------------- |
|
638 // |
|
639 void CApDataHandler::DoSetAsDefaultL( TUint32 aUid, |
|
640 TCommsDbIspType aIntendedType ) |
|
641 { |
|
642 } |
|
643 |
|
644 |
|
645 |
|
646 // --------------------------------------------------------- |
|
647 // CApDataHandler::DoSetPreferredIfDbIapTypeL |
|
648 // --------------------------------------------------------- |
|
649 // |
|
650 void CApDataHandler::DoSetPreferredIfDbIapTypeL( |
|
651 TUint32 aRank, |
|
652 TCommDbConnectionDirection aDirection, |
|
653 TUint32 aBearers, |
|
654 TCommDbDialogPref aPrompt, |
|
655 TUint32 aIAP, |
|
656 TBool aOverwrite |
|
657 ) |
|
658 { |
|
659 } |
|
660 |
|
661 |
|
662 |
|
663 // --------------------------------------------------------- |
|
664 // CApDataHandler::DoSetPreferredIfDbIspTypeL |
|
665 // --------------------------------------------------------- |
|
666 // |
|
667 void CApDataHandler::DoSetPreferredIfDbIspTypeL( |
|
668 TUint32 /*aRank*/, |
|
669 TCommDbConnectionDirection /*aDirection*/, |
|
670 TUint32 /*aBearers*/, |
|
671 TCommDbDialogPref /*aPrompt*/, |
|
672 TUint32 /*aISP*/, |
|
673 TUint32 /*aChargeCard*/, |
|
674 const TDesC& /*aServiceType*/, |
|
675 TBool /*aOverwrite*/ |
|
676 ) |
|
677 { |
|
678 User::Leave( KErrNotSupported ); |
|
679 } |
|
680 |
|
681 |
|
682 |
|
683 // --------------------------------------------------------- |
|
684 // CApDataHandler::ApSpeed2EtelL |
|
685 // --------------------------------------------------------- |
|
686 // |
|
687 void CApDataHandler::ApSpeed2EtelL( CApAccessPointItem* aItem ) |
|
688 { |
|
689 } |
|
690 |
|
691 |
|
692 |
|
693 // --------------------------------------------------------- |
|
694 // CApDataHandler::EtelSpeed2ApL |
|
695 // --------------------------------------------------------- |
|
696 // |
|
697 void CApDataHandler::EtelSpeed2ApL( CApAccessPointItem& aItem ) |
|
698 { |
|
699 } |
|
700 |
|
701 |
|
702 |
|
703 // Getting default access point |
|
704 // --------------------------------------------------------- |
|
705 // CApDataHandler::DoGetDefaultL |
|
706 // --------------------------------------------------------- |
|
707 // |
|
708 TUint32 CApDataHandler::DoGetDefaultL( TBool aIsWap, |
|
709 TBool* aReadOnly ) const |
|
710 { // client MUST initiate a transaction, we will NOT ! |
|
711 return KErrNotSupported; |
|
712 } |
|
713 |
|
714 |
|
715 // --------------------------------------------------------- |
|
716 // CApDataHandler::WriteProxyDataL |
|
717 // --------------------------------------------------------- |
|
718 // |
|
719 void CApDataHandler::WriteProxyDataL( TBool aIsNew, |
|
720 const CApAccessPointItem& aApItem ) |
|
721 { |
|
722 } |
|
723 |
|
724 |
|
725 // --------------------------------------------------------- |
|
726 // CApDataHandler::ReadProxyDataL |
|
727 // --------------------------------------------------------- |
|
728 // |
|
729 void CApDataHandler::ReadProxyDataL( CApAccessPointItem& aApItem ) |
|
730 { |
|
731 } |
|
732 |
|
733 |
|
734 |
|
735 // --------------------------------------------------------- |
|
736 // CApDataHandler::RemoveProxyDataL |
|
737 // --------------------------------------------------------- |
|
738 // |
|
739 void CApDataHandler::RemoveProxyDataL( HBufC* aServiceType, TUint32 aIspId ) |
|
740 { |
|
741 } |
|
742 |
|
743 |
|
744 |
|
745 |
|
746 // --------------------------------------------------------- |
|
747 // CApDataHandler::WriteNetworkDataL |
|
748 // --------------------------------------------------------- |
|
749 // |
|
750 void CApDataHandler::WriteNetworkDataL( TBool aIsNew, |
|
751 CApAccessPointItem& aApItem ) |
|
752 { |
|
753 } |
|
754 |
|
755 |
|
756 // --------------------------------------------------------- |
|
757 // CApDataHandler::ReadNetworkDataL |
|
758 // --------------------------------------------------------- |
|
759 // |
|
760 void CApDataHandler::ReadNetworkDataL( CApAccessPointItem& aApItem ) |
|
761 { |
|
762 } |
|
763 |
|
764 |
|
765 |
|
766 // --------------------------------------------------------- |
|
767 // CApDataHandler::RemoveNetworkDataL |
|
768 // --------------------------------------------------------- |
|
769 // |
|
770 void CApDataHandler::RemoveNetworkDataL( TUint32 aIspId ) |
|
771 { |
|
772 } |
|
773 |
|
774 |
|
775 |
|
776 // --------------------------------------------------------- |
|
777 // CApDataHandler::GetLocationIdL |
|
778 // --------------------------------------------------------- |
|
779 // |
|
780 TUint32 CApDataHandler::GetLocationIdL() |
|
781 { |
|
782 return 0; |
|
783 } |
|
784 |
|
785 |
|
786 |
|
787 // --------------------------------------------------------- |
|
788 // CApDataHandler::GetModemBearerIDL |
|
789 // --------------------------------------------------------- |
|
790 // |
|
791 TUint32 CApDataHandler::GetModemBearerIDL( CApAccessPointItem& aApItem ) |
|
792 { |
|
793 User::Leave( KErrInvalidBearerType ); |
|
794 } |
|
795 |
|
796 |
|
797 |
|
798 |
|
799 // --------------------------------------------------------- |
|
800 // CApDataHandler::ReadServiceL |
|
801 // --------------------------------------------------------- |
|
802 // |
|
803 void CApDataHandler::ReadServiceL( CCommsDbTableView& ispt, |
|
804 CApAccessPointItem& aApItem ) |
|
805 { |
|
806 } |
|
807 |
|
808 |
|
809 // --------------------------------------------------------- |
|
810 // CApDataHandler::ReadServiceIp6L |
|
811 // --------------------------------------------------------- |
|
812 // |
|
813 void CApDataHandler::ReadServiceIp6L( CCommsDbTableView& ispt, |
|
814 CApAccessPointItem& aApItem ) |
|
815 { |
|
816 } |
|
817 |
|
818 |
|
819 |
|
820 |
|
821 // --------------------------------------------------------- |
|
822 // CApDataHandler::WriteServiceL |
|
823 // --------------------------------------------------------- |
|
824 // |
|
825 void CApDataHandler::WriteServiceL( CCommsDbTableView& aTable, |
|
826 CApAccessPointItem& aApItem ) |
|
827 { |
|
828 } |
|
829 |
|
830 |
|
831 // --------------------------------------------------------- |
|
832 // CApDataHandler::WriteServiceIp6L |
|
833 // --------------------------------------------------------- |
|
834 // |
|
835 void CApDataHandler::WriteServiceIp6L( CCommsDbTableView& ispt, |
|
836 CApAccessPointItem& aApItem ) |
|
837 { |
|
838 } |
|
839 |
|
840 |
|
841 |
|
842 // --------------------------------------------------------- |
|
843 // CApDataHandler::WriteCsdDataL |
|
844 // --------------------------------------------------------- |
|
845 // |
|
846 void CApDataHandler::WriteCsdDataL( TBool aIsNew, |
|
847 CApAccessPointItem& aApItem ) |
|
848 { |
|
849 } |
|
850 |
|
851 |
|
852 |
|
853 // --------------------------------------------------------- |
|
854 // CApDataHandler::ReadWlanL |
|
855 // --------------------------------------------------------- |
|
856 // |
|
857 void CApDataHandler::ReadWlanL( CCommsDbTableView& lant, |
|
858 CApAccessPointItem& aApItem ) |
|
859 { |
|
860 } |
|
861 |
|
862 |
|
863 |
|
864 // --------------------------------------------------------- |
|
865 // CApDataHandler::WriteWlanL |
|
866 // --------------------------------------------------------- |
|
867 // |
|
868 void CApDataHandler::WriteWlanL( CCommsDbTableView& aTable, |
|
869 CApAccessPointItem& aApItem ) |
|
870 { |
|
871 } |
|
872 |
|
873 |
|
874 |
|
875 |
|
876 // --------------------------------------------------------- |
|
877 // CApDataHandler::CreateLanBearerIfNeededL |
|
878 // --------------------------------------------------------- |
|
879 // |
|
880 TUint32 CApDataHandler::CreateLanBearerIfNeededL() |
|
881 { |
|
882 return KErrNotFound; |
|
883 } |
|
884 |
|
885 |
|
886 |
|
887 |
|
888 |
|
889 |
|
890 // --------------------------------------------------------- |
|
891 // CApDataHandler::ReadModemBearerNameL |
|
892 // --------------------------------------------------------- |
|
893 // |
|
894 void CApDataHandler::ReadModemBearerNameL( CApAccessPointItem& aApItem ) |
|
895 { |
|
896 } |
|
897 |
|
898 // End of File |