|
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: |
|
15 * Defines dialog for access point view/edit. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "APSettingsHandlerUIVariant.hrh" |
|
22 |
|
23 |
|
24 #include <aknnavide.h> |
|
25 #include <akntitle.h> |
|
26 #include <AknQueryDialog.h> |
|
27 #include <akntextsettingpage.h> |
|
28 #include <aknpopupsettingpage.h> |
|
29 #include <aknradiobuttonsettingpage.h> |
|
30 #include <aknpasswordsettingpage.h> |
|
31 #include <aknmfnesettingpage.h> |
|
32 |
|
33 #include <ApAccessPointItem.h> |
|
34 #include <utf.h> |
|
35 |
|
36 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
37 #include <nifvar_internal.h> |
|
38 #endif |
|
39 |
|
40 |
|
41 #include "ApSettingsLookups.h" |
|
42 #include "ApSettingsDlg.h" |
|
43 #include "ApSettingsModel.h" |
|
44 #include <apsetui.rsg> |
|
45 |
|
46 #include "ApSettingsHandlerUI.hrh" |
|
47 #include "ApsettingshandleruiImpl.h" |
|
48 #include "ApSettingsHandlerConsts.h" |
|
49 #include <ApSettingsHandlerCommons.h> |
|
50 |
|
51 #include "ApSettingsHandlerLogger.h" |
|
52 |
|
53 #include <commonphoneparser.h> |
|
54 |
|
55 #include "ApNetSelPopupList.h" |
|
56 |
|
57 #include "AccessPointTextSettingPage.h" |
|
58 |
|
59 |
|
60 #include <featmgr.h> |
|
61 |
|
62 #include "FeatureManagerWrapper.h" |
|
63 #include "ApMultiLineDataQueryDialog.h" |
|
64 |
|
65 #include <ConnectionUiUtilities.h> |
|
66 #include <wlanmgmtcommon.h> |
|
67 #include <centralrepository.h> |
|
68 |
|
69 // CONSTANTS |
|
70 // General Settings UID, Hardcoded |
|
71 // const TUid KGeneralSettingsUid={0X100058EC}; |
|
72 // const TInt KOptionalDefaultValue = 1; |
|
73 |
|
74 |
|
75 |
|
76 const TInt KIspCallAnalogue = 0; |
|
77 const TInt KIspCallIsdn110 = 1; |
|
78 const TInt KIspCallIsdn120 = 2; |
|
79 |
|
80 const TInt KBearerListGprs = 0; |
|
81 const TInt KBearerListWLAN = 1; |
|
82 const TInt KBearerListCSD = 2; |
|
83 const TInt KBearerListHSCSD = 3; |
|
84 |
|
85 |
|
86 |
|
87 // They provide the indexes. |
|
88 const TInt KBearerArrayCSD = 0; |
|
89 const TInt KBearerArrayGPRS = 1; |
|
90 const TInt KBearerArrayHSCSD = 2; |
|
91 const TInt KBearerArrayWLAN = 3; |
|
92 |
|
93 const TInt KBoolMaxNumber = 1; |
|
94 |
|
95 _LIT( KEmptyText, "" ); |
|
96 _LIT( KTxtListItemFormat, " \t%S\t\t%S" ); |
|
97 _LIT( KTxtMenuListItemFormat, " \t%S\t\t" ); |
|
98 _LIT( KTxtCompulsory, "\t*" ); |
|
99 |
|
100 _LIT( KTxtNumber, "%d" ); |
|
101 |
|
102 |
|
103 _LIT( KKnownNameServer1, "fec0:000:0000:ffff::1" ); |
|
104 _LIT( KKnownNameServer2, "fec0:000:0000:ffff::2" ); |
|
105 |
|
106 |
|
107 const TInt KStaredPasswordLength = 4; |
|
108 |
|
109 const TUint32 KDefAdhocChannel = 7; |
|
110 |
|
111 |
|
112 const TInt KItemIndex0 = 0; |
|
113 const TInt KItemIndex1 = 1; |
|
114 const TInt KItemIndex2 = 2; |
|
115 const TInt KItemIndex3 = 3; |
|
116 |
|
117 // ================= MEMBER FUNCTIONS ======================= |
|
118 // --------------------------------------------------------- |
|
119 // CApSettingsDlg::ConstructAndRunLD |
|
120 // Constructs the dialog and runs it. |
|
121 // --------------------------------------------------------- |
|
122 // |
|
123 TInt CApSettingsDlg::ConstructAndRunLD( CApSettingsModel& aModel, |
|
124 CApSettingsHandlerImpl& aHandler, |
|
125 TUint32& aUid, |
|
126 CApAccessPointItem* aItem ) |
|
127 { |
|
128 return 0; |
|
129 } |
|
130 |
|
131 |
|
132 |
|
133 // Destructor |
|
134 CApSettingsDlg::~CApSettingsDlg() |
|
135 { |
|
136 } |
|
137 |
|
138 |
|
139 |
|
140 // --------------------------------------------------------- |
|
141 // CApSettingsDlg::OfferKeyEventL( const TKeyEvent& aKeyEvent, |
|
142 // TEventCode aType ) |
|
143 // Handles key events |
|
144 // --------------------------------------------------------- |
|
145 // |
|
146 TKeyResponse CApSettingsDlg::OfferKeyEventL( const TKeyEvent& aKeyEvent, |
|
147 TEventCode aType ) |
|
148 { |
|
149 User::Leave( KErrNotSupported ); |
|
150 } |
|
151 |
|
152 |
|
153 |
|
154 // --------------------------------------------------------- |
|
155 // CApSettingsDlg::NewL |
|
156 // Two-phase dconstructor, second phase is ConstructAndRunLD |
|
157 // --------------------------------------------------------- |
|
158 // |
|
159 CApSettingsDlg* CApSettingsDlg::NewL( TInt aIspFilter, |
|
160 TInt aBearerFilter, |
|
161 TInt aSortType, |
|
162 TUint32& aEventStore, |
|
163 TInt aReqIpvType |
|
164 ) |
|
165 { |
|
166 return NULL; |
|
167 } |
|
168 |
|
169 |
|
170 |
|
171 |
|
172 // Constructor |
|
173 CApSettingsDlg::CApSettingsDlg( TInt aIspFilter, TInt aBearerFilter, |
|
174 TInt aSortType, TUint32& aEventStore, |
|
175 TInt aReqIpvType ) |
|
176 : |
|
177 iLevel( 0 ), |
|
178 iOldIndex( 0 ), |
|
179 iOldTopIndex( 0 ), |
|
180 iAdvIndex( 0 ), |
|
181 iBearerType( EApBearerTypeAll ), |
|
182 iIspFilter( aIspFilter ), |
|
183 iBearerFilter( aBearerFilter ), |
|
184 iSortType( aSortType ), |
|
185 iEventStore( &aEventStore ), |
|
186 iFieldCount( 0 ), |
|
187 iAdvancedFieldCount( 0 ), |
|
188 iExitReason( EExitNone ), |
|
189 iReqIpvType( aReqIpvType ), |
|
190 iL2Ipv4( ETrue ), |
|
191 iSecSettingsExitReason(0) |
|
192 { |
|
193 } |
|
194 |
|
195 |
|
196 // --------------------------------------------------------- |
|
197 // CApSettingsDlg::OkToExitL( TInt aButtonId) |
|
198 // called by framework when the OK button is pressed |
|
199 // --------------------------------------------------------- |
|
200 // |
|
201 TBool CApSettingsDlg::OkToExitL( TInt aButtonId ) |
|
202 { |
|
203 return EFalse; |
|
204 } |
|
205 |
|
206 |
|
207 |
|
208 |
|
209 // --------------------------------------------------------- |
|
210 // CApSettingsDlg::InitTextsL |
|
211 // called before the dialog is shown |
|
212 // to initialize localized textual data |
|
213 // --------------------------------------------------------- |
|
214 // |
|
215 void CApSettingsDlg::InitTextsL() |
|
216 { |
|
217 } |
|
218 |
|
219 |
|
220 |
|
221 |
|
222 // --------------------------------------------------------- |
|
223 // CApSettingsDlg::DynInitMenuPaneL |
|
224 // --------------------------------------------------------- |
|
225 // |
|
226 void CApSettingsDlg::DynInitMenuPaneL |
|
227 ( TInt aResourceId, CEikMenuPane* aMenuPane ) |
|
228 { |
|
229 } |
|
230 |
|
231 |
|
232 |
|
233 // --------------------------------------------------------- |
|
234 // CApSettingsDlg::HandleListboxDataChangeL |
|
235 // called before the dialog is shown to initialize listbox data |
|
236 // --------------------------------------------------------- |
|
237 // |
|
238 void CApSettingsDlg::HandleListboxDataChangeL( TBool aReRead ) |
|
239 { |
|
240 } |
|
241 |
|
242 |
|
243 |
|
244 // --------------------------------------------------------- |
|
245 // CApSettingsDlg::SetTextOverrides |
|
246 // --------------------------------------------------------- |
|
247 // |
|
248 void CApSettingsDlg::SetTextOverrides( CTextOverrides* aOverrides ) |
|
249 { |
|
250 } |
|
251 |
|
252 |
|
253 |
|
254 // --------------------------------------------------------- |
|
255 // CApSettingsDlg::HandleApDbEventL |
|
256 // called by the active access point framework |
|
257 // --------------------------------------------------------- |
|
258 // |
|
259 void CApSettingsDlg::HandleApDbEventL( TEvent anEvent ) |
|
260 { |
|
261 } |
|
262 |
|
263 |
|
264 |
|
265 // --------------------------------------------------------- |
|
266 // CApSettingsDlg::GetHelpContext() |
|
267 // --------------------------------------------------------- |
|
268 // |
|
269 void CApSettingsDlg::GetHelpContext(TCoeHelpContext& aContext) const |
|
270 { |
|
271 } |
|
272 |
|
273 |
|
274 // --------------------------------------------------------- |
|
275 // CApSettingsDlg::PreLayoutDynInitL(); |
|
276 // called by framework before dialog is shown |
|
277 // --------------------------------------------------------- |
|
278 // |
|
279 void CApSettingsDlg::PreLayoutDynInitL() |
|
280 { |
|
281 } |
|
282 |
|
283 |
|
284 |
|
285 |
|
286 // From MEikCommandObserver |
|
287 void CApSettingsDlg::ProcessCommandL( TInt aCommandId ) |
|
288 { |
|
289 } |
|
290 |
|
291 |
|
292 // From MEikListBoxObserver |
|
293 void CApSettingsDlg::HandleListBoxEventL( CEikListBox* /*aListBox*/, |
|
294 TListBoxEvent aEventType ) |
|
295 { |
|
296 } |
|
297 |
|
298 |
|
299 |
|
300 |
|
301 //---------------------------------------------------------- |
|
302 // CApSettingsDlg::FillListWithDataL |
|
303 //---------------------------------------------------------- |
|
304 // |
|
305 void CApSettingsDlg::FillListWithDataL( CDesCArrayFlat& aItemArray, |
|
306 const TApMember& arr, TInt aLength, |
|
307 const TInt* aRes, |
|
308 const TInt* aCompulsory ) |
|
309 { |
|
310 } |
|
311 |
|
312 |
|
313 //---------------------------------------------------------- |
|
314 // CApSettingsDlg::AddTextualListBoxItemL |
|
315 //---------------------------------------------------------- |
|
316 // |
|
317 void CApSettingsDlg::AddTextualListBoxItemL( CDesCArrayFlat& aItemArray, |
|
318 TApMember aMember, TInt aRes, |
|
319 TInt aCompulsory ) |
|
320 { |
|
321 } |
|
322 |
|
323 |
|
324 //---------------------------------------------------------- |
|
325 // CApSettingsDlg::AddOnOffListBoxItem |
|
326 //---------------------------------------------------------- |
|
327 // |
|
328 void CApSettingsDlg::AddOnOffListBoxItemL( CDesCArrayFlat& aItemArray, |
|
329 TApMember aMember, TInt aRes, |
|
330 TInt aCompulsory ) |
|
331 { |
|
332 } |
|
333 |
|
334 |
|
335 //---------------------------------------------------------- |
|
336 // CApSettingsDlg::UpdateOnOffListBoxItemL |
|
337 //---------------------------------------------------------- |
|
338 // |
|
339 void CApSettingsDlg::UpdateOnOffListBoxItemL( TApMember aMember, TInt aRes, |
|
340 TInt aPos, TInt aCompulsory ) |
|
341 { |
|
342 } |
|
343 |
|
344 |
|
345 //---------------------------------------------------------- |
|
346 // CApSettingsDlg::TextualListBoxItemL |
|
347 //---------------------------------------------------------- |
|
348 // |
|
349 void CApSettingsDlg::UpdateTextualListBoxItemL( TApMember aMember, TInt aRes, |
|
350 TInt aPos, TInt aCompulsory ) |
|
351 { |
|
352 } |
|
353 |
|
354 |
|
355 //---------------------------------------------------------- |
|
356 // CApSettingsDlg::CreateTextualListBoxItem |
|
357 //---------------------------------------------------------- |
|
358 // |
|
359 HBufC* CApSettingsDlg::CreateTextualListBoxItemL( TApMember aMember, |
|
360 TInt aRes, |
|
361 TInt aCompulsory ) |
|
362 { |
|
363 return NULL; |
|
364 } |
|
365 |
|
366 |
|
367 |
|
368 //---------------------------------------------------------- |
|
369 // CApSettingsDlg::CreateOnOffListBoxItemL |
|
370 //---------------------------------------------------------- |
|
371 // |
|
372 HBufC* CApSettingsDlg::CreateOnOffListBoxItemL( TApMember aMember, TInt aRes, |
|
373 TInt aCompulsory ) |
|
374 { |
|
375 return NULL; |
|
376 } |
|
377 |
|
378 |
|
379 |
|
380 //---------------------------------------------------------- |
|
381 // CApSettingsDlg::ChangeSettingsL |
|
382 //---------------------------------------------------------- |
|
383 // |
|
384 void CApSettingsDlg::ChangeSettingsL( TBool aQuick ) |
|
385 { |
|
386 } |
|
387 |
|
388 |
|
389 |
|
390 //---------------------------------------------------------- |
|
391 // CApSettingsDlg::SetBearerTypeL |
|
392 //---------------------------------------------------------- |
|
393 // |
|
394 void CApSettingsDlg::SetBearerTypeL( TApBearerType aBearer ) |
|
395 { |
|
396 } |
|
397 |
|
398 |
|
399 |
|
400 //---------------------------------------------------------- |
|
401 // CApSettingsDlg::InvertSettingsL |
|
402 //---------------------------------------------------------- |
|
403 // |
|
404 void CApSettingsDlg::InvertSettingsL( TApMember aDataMember ) |
|
405 { |
|
406 } |
|
407 |
|
408 |
|
409 //---------------------------------------------------------- |
|
410 // CApSettingsDlg::ShowPopupSettingPageL |
|
411 //---------------------------------------------------------- |
|
412 // |
|
413 TBool CApSettingsDlg::ShowPopupSettingPageL( TApMember aData ) |
|
414 { |
|
415 return EFalse; |
|
416 } |
|
417 |
|
418 |
|
419 |
|
420 |
|
421 |
|
422 |
|
423 |
|
424 //---------------------------------------------------------- |
|
425 // CApSettingsDlg::ShowPopupTextSettingPageL |
|
426 //---------------------------------------------------------- |
|
427 // |
|
428 TBool CApSettingsDlg::ShowPopupTextSettingPageL( TApMember aData ) |
|
429 { |
|
430 return EFalse; |
|
431 } |
|
432 |
|
433 |
|
434 |
|
435 //---------------------------------------------------------- |
|
436 // CApSettingsDlg::GetTextLC |
|
437 //---------------------------------------------------------- |
|
438 // |
|
439 HBufC* CApSettingsDlg::GetTextLC( TApMember aData ) |
|
440 { |
|
441 return NULL; |
|
442 } |
|
443 |
|
444 |
|
445 //---------------------------------------------------------- |
|
446 // CApSettingsDlg::GetTextResId |
|
447 //---------------------------------------------------------- |
|
448 // |
|
449 void CApSettingsDlg::GetTextResId( TApMember aData, TInt& apage, |
|
450 TInt& aTextSettingPageFlags ) |
|
451 { |
|
452 } |
|
453 |
|
454 |
|
455 |
|
456 //---------------------------------------------------------- |
|
457 // CApSettingsDlg::GetResId |
|
458 //---------------------------------------------------------- |
|
459 // |
|
460 void CApSettingsDlg::GetResId( TApMember aData, TInt& aattr ) |
|
461 { |
|
462 } |
|
463 |
|
464 |
|
465 |
|
466 |
|
467 // --------------------------------------------------------- |
|
468 // CApSettingsDlg::FillPopupSettingPageL |
|
469 // --------------------------------------------------------- |
|
470 // |
|
471 CDesCArrayFlat* CApSettingsDlg::FillPopupSettingPageLC( TApMember aData, |
|
472 TInt& aCurrvalue ) |
|
473 { |
|
474 return NULL; |
|
475 } |
|
476 |
|
477 |
|
478 |
|
479 |
|
480 // --------------------------------------------------------- |
|
481 // CApSettingsDlg::UpdateFromPopupSettingPageL |
|
482 // --------------------------------------------------------- |
|
483 // |
|
484 void CApSettingsDlg::UpdateFromPopupSettingPageL( TApMember aData, |
|
485 TInt aCurrvalue ) |
|
486 { |
|
487 } |
|
488 |
|
489 |
|
490 |
|
491 // --------------------------------------------------------- |
|
492 // CApSettingsDlg::CanSaveL( ) |
|
493 // --------------------------------------------------------- |
|
494 // |
|
495 CApSettingsDlg::TSaveAction CApSettingsDlg::CanSaveL( TApMember& aDataNeeded ) |
|
496 { |
|
497 User::Leave( KErrNotSupported ); |
|
498 } |
|
499 |
|
500 |
|
501 |
|
502 |
|
503 |
|
504 |
|
505 //---------------------------------------------------------- |
|
506 // CApSettingsDlg::ShowPopupIpAddrSettingPageL |
|
507 //---------------------------------------------------------- |
|
508 // |
|
509 void CApSettingsDlg::ShowPopupIpAddrSettingPageL( TApMember aData ) |
|
510 { |
|
511 } |
|
512 |
|
513 |
|
514 |
|
515 |
|
516 |
|
517 |
|
518 //---------------------------------------------------------- |
|
519 // CApSettingsDlg::ShowPopupPhoneNumSettingPageL |
|
520 //---------------------------------------------------------- |
|
521 // |
|
522 void CApSettingsDlg::ShowPopupPhoneNumSettingPageL( TApMember aData ) |
|
523 { |
|
524 } |
|
525 |
|
526 |
|
527 |
|
528 |
|
529 //---------------------------------------------------------- |
|
530 // CApSettingsDlg::ShowPopupPasswordPageL |
|
531 //---------------------------------------------------------- |
|
532 // |
|
533 void CApSettingsDlg::ShowPopupPasswordPageL( TApMember aData ) |
|
534 { |
|
535 } |
|
536 |
|
537 |
|
538 |
|
539 //---------------------------------------------------------- |
|
540 // CApSettingsDlg::GetBoolDataValue |
|
541 //---------------------------------------------------------- |
|
542 // |
|
543 void CApSettingsDlg::GetBoolDataValue( TApMember aData, TBool aInvert, |
|
544 TInt& aCurrvalue) |
|
545 { |
|
546 } |
|
547 |
|
548 |
|
549 //---------------------------------------------------------- |
|
550 // CApSettingsDlg::DoBearerChangeL |
|
551 //---------------------------------------------------------- |
|
552 // |
|
553 void CApSettingsDlg::DoBearerChangeL( TInt aCurrvalue) |
|
554 { |
|
555 } |
|
556 |
|
557 |
|
558 |
|
559 //---------------------------------------------------------- |
|
560 // CApSettingsDlg::HandleBearerChangeL |
|
561 //---------------------------------------------------------- |
|
562 // |
|
563 void CApSettingsDlg::HandleBearerChangeL( TApBearerType aBearer) |
|
564 { |
|
565 } |
|
566 |
|
567 |
|
568 //---------------------------------------------------------- |
|
569 // CApSettingsDlg::BearerToArrayIndexL |
|
570 //---------------------------------------------------------- |
|
571 // |
|
572 TInt32 CApSettingsDlg::BearerToArrayIndexL( TApBearerType aBearer) |
|
573 { |
|
574 return 0; |
|
575 } |
|
576 |
|
577 /* |
|
578 //---------------------------------------------------------- |
|
579 // CApSettingsDlg::ArrayIndexToBearer |
|
580 //---------------------------------------------------------- |
|
581 // |
|
582 TApBearerType CApSettingsDlg::ArrayIndexToBearer( TInt32 aIndex) |
|
583 { |
|
584 APSETUILOGGER_ENTERFN( ESettings,"Settings::ArrayIndexToBearer") |
|
585 |
|
586 TApBearerType retval( EApBearerTypeGPRS ); |
|
587 switch( aIndex ) |
|
588 { |
|
589 case KBearerArrayCSD: |
|
590 { |
|
591 retval = EApBearerTypeCSD; |
|
592 break; |
|
593 } |
|
594 case KBearerArrayGPRS: |
|
595 { |
|
596 retval = EApBearerTypeGPRS; |
|
597 break; |
|
598 } |
|
599 case KBearerArrayHSCSD: |
|
600 { |
|
601 retval = EApBearerTypeHSCSD; |
|
602 break; |
|
603 } |
|
604 case KBearerArrayWLAN: |
|
605 { |
|
606 if ( IsWlanSupported() ) |
|
607 { |
|
608 retval = EApBearerTypeWLAN; |
|
609 } |
|
610 else |
|
611 { |
|
612 User::Leave( KErrNotSupported ); |
|
613 } |
|
614 break; |
|
615 } |
|
616 default: |
|
617 { |
|
618 __ASSERT_DEBUG( EFalse, Panic( EInvalidBearerType ) ); |
|
619 break; |
|
620 } |
|
621 } |
|
622 |
|
623 APSETUILOGGER_LEAVEFN( ESettings,"Settings::ArrayIndexToBearer") |
|
624 return retval; |
|
625 } |
|
626 |
|
627 */ |
|
628 |
|
629 |
|
630 //---------------------------------------------------------- |
|
631 // CApSettingsDlg::FillUpBearerSpeedValuesL |
|
632 //---------------------------------------------------------- |
|
633 // |
|
634 void CApSettingsDlg::FillUpBearerSpeedValuesL( CDesCArrayFlat& aItems, |
|
635 TInt& aCurrvalue ) |
|
636 { |
|
637 } |
|
638 |
|
639 |
|
640 |
|
641 //---------------------------------------------------------- |
|
642 // CApSettingsDlg::SaveDataL |
|
643 //---------------------------------------------------------- |
|
644 // |
|
645 TBool CApSettingsDlg::SaveDataL( ) |
|
646 { |
|
647 return EFalse; |
|
648 } |
|
649 |
|
650 |
|
651 |
|
652 //---------------------------------------------------------- |
|
653 // CApSettingsDlg::HandleListStructureChangeL |
|
654 //---------------------------------------------------------- |
|
655 // |
|
656 void CApSettingsDlg::HandleListStructureChangeL() |
|
657 { |
|
658 } |
|
659 |
|
660 |
|
661 |
|
662 //---------------------------------------------------------- |
|
663 // CApSettingsDlg::LimitSpeed |
|
664 //---------------------------------------------------------- |
|
665 // |
|
666 void CApSettingsDlg::LimitSpeed() |
|
667 { |
|
668 } |
|
669 |
|
670 |
|
671 //---------------------------------------------------------- |
|
672 // CApSettingsDlg::SelectItem |
|
673 //---------------------------------------------------------- |
|
674 // |
|
675 void CApSettingsDlg::SelectItem( TInt aItemIndex ) |
|
676 { |
|
677 } |
|
678 |
|
679 |
|
680 |
|
681 |
|
682 |
|
683 // Converting EParagraphDelimiters to \ns |
|
684 // --------------------------------------------------------- |
|
685 // CApSettingsDlg::ConvertDelimToPerNLC |
|
686 // --------------------------------------------------------- |
|
687 // |
|
688 HBufC* CApSettingsDlg::ConvertDelimToPerNLC( const TDesC& aInText ) |
|
689 { |
|
690 return NULL; |
|
691 } |
|
692 |
|
693 |
|
694 |
|
695 // Converting \ns to EParagraphDelimiters |
|
696 // --------------------------------------------------------- |
|
697 // CApSettingsDlg::ConvertPerNToDelimLC |
|
698 // --------------------------------------------------------- |
|
699 // |
|
700 |
|
701 HBufC* CApSettingsDlg::ConvertPerNToDelimLC( const TDesC& aInText ) |
|
702 { |
|
703 return NULL; |
|
704 } |
|
705 |
|
706 |
|
707 //---------------------------------------------------------- |
|
708 // CApSettingsDlg::DoChangeSettingsL |
|
709 //---------------------------------------------------------- |
|
710 // |
|
711 void CApSettingsDlg::DoChangeSettingsL( TBool aQuick ) |
|
712 { |
|
713 } |
|
714 |
|
715 |
|
716 |
|
717 |
|
718 //---------------------------------------------------------- |
|
719 // CApSettingsDlg::GetSpeedForSelection |
|
720 //---------------------------------------------------------- |
|
721 // |
|
722 TApCallSpeed CApSettingsDlg::GetBearerSpeedForSelection( TInt aCurrvalue ) |
|
723 { |
|
724 User::Leave( KErrNotSupported ); |
|
725 } |
|
726 |
|
727 |
|
728 |
|
729 //---------------------------------------------------------- |
|
730 // CApSettingsDlg::GetCurrIndexFromBearerSpeed |
|
731 //---------------------------------------------------------- |
|
732 // |
|
733 TInt CApSettingsDlg::GetCurrIndexFromBearerSpeed( ) |
|
734 { |
|
735 return 0; |
|
736 } |
|
737 |
|
738 |
|
739 //---------------------------------------------------------- |
|
740 // CApSettingsDlg::ReplaceNonPrintingCharactersLC |
|
741 //---------------------------------------------------------- |
|
742 // |
|
743 HBufC* CApSettingsDlg::ReplaceWhiteSpaceCharactersLC( const TDesC& aInText ) |
|
744 { |
|
745 return NULL; |
|
746 } |
|
747 |
|
748 |
|
749 |
|
750 //---------------------------------------------------------- |
|
751 // CApSettingsDlg::ChangeNetworkGroupL |
|
752 //---------------------------------------------------------- |
|
753 // |
|
754 void CApSettingsDlg::ChangeNetworkGroupL() |
|
755 { |
|
756 } |
|
757 |
|
758 |
|
759 |
|
760 |
|
761 //---------------------------------------------------------- |
|
762 // CApSettingsDlg::IsHSCSDEnabledL |
|
763 //---------------------------------------------------------- |
|
764 // |
|
765 TInt CApSettingsDlg::IsHSCSDEnabledL() |
|
766 { |
|
767 return EFalse; |
|
768 } |
|
769 |
|
770 |
|
771 |
|
772 |
|
773 |
|
774 |
|
775 |
|
776 //---------------------------------------------------------- |
|
777 // CApSettingsDlg::GetCSDSettingArrays |
|
778 //---------------------------------------------------------- |
|
779 // |
|
780 void CApSettingsDlg::GetCSDSettingArrays( TInt variant ) |
|
781 { |
|
782 } |
|
783 |
|
784 |
|
785 |
|
786 //---------------------------------------------------------- |
|
787 // CApSettingsDlg::GetGPRSSettingArrays |
|
788 //---------------------------------------------------------- |
|
789 // |
|
790 void CApSettingsDlg::GetGPRSSettingArrays( TInt variant ) |
|
791 { |
|
792 } |
|
793 |
|
794 |
|
795 |
|
796 |
|
797 //---------------------------------------------------------- |
|
798 // CApSettingsDlg::GetWLANSettingArraysL |
|
799 //---------------------------------------------------------- |
|
800 // |
|
801 void CApSettingsDlg::GetWLANSettingArraysL( TInt /*aVariant*/ ) |
|
802 { |
|
803 } |
|
804 |
|
805 |
|
806 |
|
807 //---------------------------------------------------------- |
|
808 // CApSettingsDlg::GetNameServersL |
|
809 //---------------------------------------------------------- |
|
810 // |
|
811 TInt CApSettingsDlg::GetNameServersL( TBool aIp6 ) |
|
812 { |
|
813 return 0; |
|
814 } |
|
815 |
|
816 |
|
817 |
|
818 |
|
819 |
|
820 |
|
821 //---------------------------------------------------------- |
|
822 // CApSettingsDlg::AddMenuListBoxItemL |
|
823 //---------------------------------------------------------- |
|
824 // |
|
825 void CApSettingsDlg::AddMenuListBoxItemL( CDesCArrayFlat& aItemArray, |
|
826 TApMember /*aMember*/, TInt aRes, |
|
827 TInt aCompulsory ) |
|
828 { |
|
829 } |
|
830 |
|
831 |
|
832 //---------------------------------------------------------- |
|
833 // CApSettingsDlg::AskQueryIfWcdmaL |
|
834 //---------------------------------------------------------- |
|
835 // |
|
836 TBool CApSettingsDlg::AskQueryIfWcdmaL( TApMember aMember, TInt aCurrvalue ) |
|
837 { |
|
838 return EFalse; |
|
839 } |
|
840 |
|
841 |
|
842 |
|
843 //---------------------------------------------------------- |
|
844 // CApSettingsDlg::GetDomainNameServersTypeL |
|
845 //---------------------------------------------------------- |
|
846 // |
|
847 TInt CApSettingsDlg::GetDomainNameServersTypeL() |
|
848 { |
|
849 return 0; |
|
850 } |
|
851 |
|
852 |
|
853 |
|
854 //---------------------------------------------------------- |
|
855 // CApSettingsDlg::GetIpv4NameServerL |
|
856 //---------------------------------------------------------- |
|
857 // |
|
858 TInt CApSettingsDlg::GetIpv4NameServerL() |
|
859 { |
|
860 return 0; |
|
861 } |
|
862 |
|
863 |
|
864 //---------------------------------------------------------- |
|
865 // CApSettingsDlg::GetIpv6NameServerL |
|
866 //---------------------------------------------------------- |
|
867 // |
|
868 TInt CApSettingsDlg::GetIpv6NameServerL() |
|
869 { |
|
870 return 0; |
|
871 } |
|
872 |
|
873 |
|
874 |
|
875 //---------------------------------------------------------- |
|
876 // CApSettingsDlg::GetIPv6DNSTypeL |
|
877 //---------------------------------------------------------- |
|
878 // |
|
879 TInt CApSettingsDlg::GetIPv6DNSTypeL() |
|
880 { |
|
881 return 0; |
|
882 } |
|
883 |
|
884 |
|
885 |
|
886 |
|
887 |
|
888 //---------------------------------------------------------- |
|
889 // CApSettingsDlg::GetIPv4DNSTypeL |
|
890 //---------------------------------------------------------- |
|
891 // |
|
892 TInt CApSettingsDlg::GetIPv4DNSTypeL() |
|
893 { |
|
894 return 0; |
|
895 } |
|
896 |
|
897 |
|
898 |
|
899 |
|
900 |
|
901 // --------------------------------------------------------- |
|
902 // CApSettingsDlg::StripNonNumberLC |
|
903 // --------------------------------------------------------- |
|
904 // |
|
905 HBufC* CApSettingsDlg::StripNonNumberLC( const TDesC16& aInText ) |
|
906 { |
|
907 return NULL; |
|
908 } |
|
909 |
|
910 |
|
911 //---------------------------------------------------------- |
|
912 // CApSettingsDlg::BearerType2BearerItemPosL |
|
913 //---------------------------------------------------------- |
|
914 // |
|
915 TInt CApSettingsDlg::BearerType2BearerItemPosL( TApBearerType aBearer ) |
|
916 { |
|
917 return 0; |
|
918 } |
|
919 |
|
920 |
|
921 //---------------------------------------------------------- |
|
922 // CApSettingsDlg::BearerItemPos2BearerTypeL |
|
923 //---------------------------------------------------------- |
|
924 // |
|
925 TApBearerType CApSettingsDlg::BearerItemPos2BearerTypeL( TInt aPos ) |
|
926 { |
|
927 User::Leave( KErrNotSupported ); |
|
928 } |
|
929 |
|
930 |
|
931 |
|
932 //---------------------------------------------------------- |
|
933 // CApSettingsDlg::ChangeWlanNetworkNameL |
|
934 //---------------------------------------------------------- |
|
935 // |
|
936 void CApSettingsDlg::ChangeWlanNetworkNameL() |
|
937 { |
|
938 } |
|
939 |
|
940 |
|
941 //---------------------------------------------------------- |
|
942 // CApSettingsDlg::ChangeWlanSecuritySettings |
|
943 //---------------------------------------------------------- |
|
944 // |
|
945 TInt CApSettingsDlg::ChangeWlanSecuritySettingsL() |
|
946 { |
|
947 return 0; |
|
948 } |
|
949 |
|
950 |
|
951 //---------------------------------------------------------- |
|
952 // CApSettingsDlg::ChangeWepSecuritySettingsL |
|
953 //---------------------------------------------------------- |
|
954 // |
|
955 TInt CApSettingsDlg::ChangeWepSecuritySettingsL() |
|
956 { |
|
957 return 0; |
|
958 } |
|
959 |
|
960 |
|
961 |
|
962 //---------------------------------------------------------- |
|
963 // CApSettingsDlg::ChangeWpaSecuritySettingsL |
|
964 //---------------------------------------------------------- |
|
965 // |
|
966 TInt CApSettingsDlg::ChangeWpaSecuritySettingsL() |
|
967 { |
|
968 return 0; |
|
969 } |
|
970 |
|
971 |
|
972 //---------------------------------------------------------- |
|
973 // CApSettingsDlg::Change8021xSecuritySettingsL |
|
974 //---------------------------------------------------------- |
|
975 // |
|
976 TInt CApSettingsDlg::Change8021xSecuritySettingsL() |
|
977 { |
|
978 return 0; |
|
979 } |
|
980 |
|
981 |
|
982 |
|
983 |
|
984 //---------------------------------------------------------- |
|
985 // CApSettingsDlg::IsWlanSupported |
|
986 //---------------------------------------------------------- |
|
987 // |
|
988 TBool CApSettingsDlg::IsWlanSupported() |
|
989 { |
|
990 return EFalse; |
|
991 } |
|
992 |
|
993 |
|
994 |
|
995 //---------------------------------------------------------- |
|
996 // CApSettingsDlg::QueryWlanNetworkNameL |
|
997 //---------------------------------------------------------- |
|
998 // |
|
999 TBool CApSettingsDlg::QueryWlanNetworkNameL() |
|
1000 { |
|
1001 return EFalse; |
|
1002 } |
|
1003 |
|
1004 |
|
1005 //---------------------------------------------------------- |
|
1006 // CApSettingsDlg::IsNetMaskAndGatewayVisible |
|
1007 //---------------------------------------------------------- |
|
1008 // |
|
1009 TBool CApSettingsDlg::IsNetMaskAndGatewayVisibleL() |
|
1010 { |
|
1011 return EFalse; |
|
1012 } |
|
1013 |
|
1014 |
|
1015 |
|
1016 //---------------------------------------------------------- |
|
1017 // CApSettingsDlg::GetAdHocChannelL |
|
1018 //---------------------------------------------------------- |
|
1019 // |
|
1020 TUint32 CApSettingsDlg::GetAdHocChannelL() |
|
1021 { |
|
1022 return 0; |
|
1023 } |
|
1024 |
|
1025 |
|
1026 |
|
1027 //---------------------------------------------------------- |
|
1028 // CApSettingsDlg::IsAdhocChannelVisible |
|
1029 //---------------------------------------------------------- |
|
1030 // |
|
1031 TBool CApSettingsDlg::IsAdhocChannelVisible() |
|
1032 { |
|
1033 return EFalse; |
|
1034 } |
|
1035 |
|
1036 |
|
1037 |
|
1038 //---------------------------------------------------------- |
|
1039 // CApSettingsDlg::HasSecuritySettingsFilledL |
|
1040 //---------------------------------------------------------- |
|
1041 // |
|
1042 TBool CApSettingsDlg::HasSecuritySettingsFilledL() |
|
1043 { |
|
1044 return EFalse; |
|
1045 } |
|
1046 |
|
1047 |
|
1048 |
|
1049 //---------------------------------------------------------- |
|
1050 // CApSettingsDlg::LimitSecMode |
|
1051 //---------------------------------------------------------- |
|
1052 // |
|
1053 void CApSettingsDlg::LimitSecMode() |
|
1054 { |
|
1055 } |
|
1056 |
|
1057 |
|
1058 |
|
1059 |
|
1060 // --------------------------------------------------------- |
|
1061 // CApSettingsDlg::CanSaveWlanCompulsoriesL( ) |
|
1062 // --------------------------------------------------------- |
|
1063 // |
|
1064 CApSettingsDlg::TSaveAction CApSettingsDlg::CanSaveWlanCompulsoriesL( |
|
1065 TApMember& aDataNeeded ) |
|
1066 { |
|
1067 User::Leave( KErrNotSupported ); |
|
1068 } |
|
1069 |
|
1070 |
|
1071 // --------------------------------------------------------- |
|
1072 // CApSettingsDlg::RestoreIpv4SettingsL() |
|
1073 // --------------------------------------------------------- |
|
1074 // |
|
1075 void CApSettingsDlg::RestoreIpv4SettingsL() |
|
1076 { |
|
1077 } |
|
1078 |
|
1079 |
|
1080 |
|
1081 // End of File |