apengine/apsettingshandlerui/src/apsettingshandlerui.cpp
changeset 66 ed07dcc72692
parent 0 5a93021fdf25
equal deleted inserted replaced
64:84c6623982f6 66:ed07dcc72692
    43                                          TSelectionMenuType aSelMenuType,
    43                                          TSelectionMenuType aSelMenuType,
    44                                          TInt aIspFilter,
    44                                          TInt aIspFilter,
    45                                          TInt aBearerFilter,
    45                                          TInt aBearerFilter,
    46                                          TInt aSortType )
    46                                          TInt aSortType )
    47     {
    47     {
    48     APSETUILOGGER_CREATE;
    48     return NULL;
    49     APSETUILOGGER_ENTERFN( EAPI,"Handler::NewLC")
       
    50     
       
    51     CApSettingsHandler* db = 
       
    52             new( ELeave ) CApSettingsHandler( aStartWithSelection,
       
    53                                               aListType,
       
    54                                               aSelMenuType );
       
    55     CleanupStack::PushL( db );
       
    56 
       
    57     
       
    58 
       
    59     db->ConstructL( aIspFilter, aBearerFilter, aSortType );
       
    60     
       
    61     APSETUILOGGER_LEAVEFN( EAPI,"Handler::NewLC")
       
    62     
       
    63     return db;
       
    64     }
    49     }
    65 
    50 
    66 
    51 
    67 
    52 
    68 
    53 
    78                                             TInt aIspFilter,
    63                                             TInt aIspFilter,
    79                                             TInt aBearerFilter,
    64                                             TInt aBearerFilter,
    80                                             TInt aSortType
    65                                             TInt aSortType
    81                                             )
    66                                             )
    82     {
    67     {
    83     APSETUILOGGER_CREATE;
    68     return NULL;
    84     APSETUILOGGER_ENTERFN( EAPI,"Handler::NewLC2")
       
    85     
       
    86     CApSettingsHandler* db = 
       
    87             new( ELeave ) CApSettingsHandler( aStartWithSelection,
       
    88                                               aListType,
       
    89                                               aSelMenuType );
       
    90     CleanupStack::PushL( db );
       
    91 
       
    92     db->ConstructL( aDb, aIspFilter, aBearerFilter, aSortType );
       
    93     
       
    94     APSETUILOGGER_LEAVEFN( EAPI,"Handler::NewLC2")
       
    95     
       
    96     return db;
       
    97     }
    69     }
    98 
    70 
    99 
    71 
   100 
    72 
   101 // ---------------------------------------------------------
    73 // ---------------------------------------------------------
   110                                          TInt aBearerFilter,
    82                                          TInt aBearerFilter,
   111                                          TInt aSortType,
    83                                          TInt aSortType,
   112                                          TInt aReqIpvType
    84                                          TInt aReqIpvType
   113                                          )
    85                                          )
   114     {
    86     {
   115     APSETUILOGGER_CREATE;
    87     return NULL;
   116     APSETUILOGGER_ENTERFN( EAPI,"Handler::NewLC3")
       
   117     
       
   118     CApSettingsHandler* db = 
       
   119         new( ELeave ) CApSettingsHandler( aStartWithSelection,
       
   120                                           aListType,
       
   121                                           aSelMenuType,
       
   122                                           aReqIpvType
       
   123                                           );
       
   124     CleanupStack::PushL( db );
       
   125 
       
   126     db->ConstructL( aIspFilter, aBearerFilter, aSortType );
       
   127     
       
   128     APSETUILOGGER_LEAVEFN( EAPI,"Handler::NewLC3")
       
   129     
       
   130     return db;
       
   131     }
    88     }
   132 
    89 
   133 
    90 
   134 
    91 
   135 
    92 
   146                                             TInt aBearerFilter,
   103                                             TInt aBearerFilter,
   147                                             TInt aSortType,
   104                                             TInt aSortType,
   148                                             TInt aReqIpvType
   105                                             TInt aReqIpvType
   149                                             )
   106                                             )
   150     {
   107     {
   151     APSETUILOGGER_CREATE;
   108     return NULL;
   152     APSETUILOGGER_ENTERFN( EAPI,"Handler::NewLC4")
       
   153     
       
   154     CApSettingsHandler* db = 
       
   155         new( ELeave ) CApSettingsHandler( aStartWithSelection,
       
   156                                           aListType,
       
   157                                           aSelMenuType,
       
   158                                           aReqIpvType
       
   159                                           );
       
   160     CleanupStack::PushL( db );
       
   161 
       
   162     db->ConstructL( aDb, aIspFilter, aBearerFilter, aSortType );
       
   163     
       
   164     APSETUILOGGER_LEAVEFN( EAPI,"Handler::NewLC4")
       
   165     
       
   166     return db;
       
   167     }
   109     }
   168 
   110 
   169 
   111 
   170 
   112 
   171 
   113 
   183                                         TInt aSortType,
   125                                         TInt aSortType,
   184                                         TInt aReqIpvType,
   126                                         TInt aReqIpvType,
   185                                         TVpnFilterType aVpnFilterType
   127                                         TVpnFilterType aVpnFilterType
   186                                             )
   128                                             )
   187     {
   129     {
   188     APSETUILOGGER_CREATE;
   130     return NULL;
   189     APSETUILOGGER_ENTERFN( EAPI,"Handler::NewLC5")
       
   190 
       
   191     CApSettingsHandler* db = 
       
   192         new( ELeave ) CApSettingsHandler( aStartWithSelection,
       
   193                                           aListType,
       
   194                                           aSelMenuType,
       
   195                                           aReqIpvType
       
   196                                           );
       
   197     CleanupStack::PushL( db );
       
   198 
       
   199     db->ConstructL( aIspFilter, aBearerFilter, 
       
   200                     aSortType, aVpnFilterType );
       
   201     
       
   202     APSETUILOGGER_LEAVEFN( EAPI,"Handler::NewLC5")
       
   203     
       
   204     return db;
       
   205     }
   131     }
   206 
   132 
   207 
   133 
   208 // ---------------------------------------------------------
   134 // ---------------------------------------------------------
   209 // CApSettingsHandler::NewLC
   135 // CApSettingsHandler::NewLC
   219                                             TInt aSortType,
   145                                             TInt aSortType,
   220                                             TInt aReqIpvType,
   146                                             TInt aReqIpvType,
   221                                             TVpnFilterType aVpnFilterType
   147                                             TVpnFilterType aVpnFilterType
   222                                             )
   148                                             )
   223     {
   149     {
   224     APSETUILOGGER_CREATE;
   150     return NULL;
   225     APSETUILOGGER_ENTERFN( EAPI,"Handler::NewLC6")
       
   226     
       
   227     CApSettingsHandler* db = 
       
   228         new( ELeave ) CApSettingsHandler( aStartWithSelection,
       
   229                                           aListType,
       
   230                                           aSelMenuType,
       
   231                                           aReqIpvType
       
   232                                           );
       
   233     CleanupStack::PushL( db );
       
   234     
       
   235     db->ConstructL( aDb, aIspFilter, aBearerFilter, 
       
   236                     aSortType, aVpnFilterType );
       
   237     
       
   238     APSETUILOGGER_LEAVEFN( EAPI,"Handler::NewLC6")
       
   239     
       
   240     return db;
       
   241     }
   151     }
   242 
   152 
   243 
   153 
   244 
   154 
   245 
   155 
   260                                         TInt aReqIpvType,
   170                                         TInt aReqIpvType,
   261                                         TVpnFilterType aVpnFilterType,
   171                                         TVpnFilterType aVpnFilterType,
   262                                         TBool aIncludeEasyWlan
   172                                         TBool aIncludeEasyWlan
   263                                         )
   173                                         )
   264     {
   174     {
   265     APSETUILOGGER_CREATE;
   175     return NULL;    
   266     APSETUILOGGER_ENTERFN( EAPI,"Handler::NewLC7")
       
   267     
       
   268     CApSettingsHandler* db = 
       
   269         new( ELeave ) CApSettingsHandler( aStartWithSelection,
       
   270                                           aListType,
       
   271                                           aSelMenuType,
       
   272                                           aReqIpvType
       
   273                                           );
       
   274     CleanupStack::PushL( db );
       
   275     
       
   276     db->ConstructL( aDb, aIspFilter, aBearerFilter, 
       
   277                     aSortType, aVpnFilterType, aIncludeEasyWlan );
       
   278     
       
   279     APSETUILOGGER_LEAVEFN( EAPI,"Handler::NewLC7")
       
   280     return db;    
       
   281     }
   176     }
   282 
   177 
   283 
   178 
   284 // Destructor
   179 // Destructor
   285 EXPORT_C CApSettingsHandler::~CApSettingsHandler()
   180 EXPORT_C CApSettingsHandler::~CApSettingsHandler()
   286     {
   181     {
   287     APSETUILOGGER_DELETE;
       
   288 
       
   289     APSETUILOGGER_WRITE( EAPI,"Handler:: deleting implementation");
       
   290     
       
   291     delete iImpl;
       
   292     
       
   293     APSETUILOGGER_WRITE( EAPI,"Handler::~finished");
       
   294     }
   182     }
   295 
   183 
   296 
   184 
   297 
   185 
   298 // Constructor
   186 // Constructor
   306 iIspFilter( KEApIspTypeAll ),
   194 iIspFilter( KEApIspTypeAll ),
   307 iBearerFilter( EApBearerTypeAll ),
   195 iBearerFilter( EApBearerTypeAll ),
   308 iReqIpvType( EIPv4 ),
   196 iReqIpvType( EIPv4 ),
   309 iEventStore( KApUiEventNone )
   197 iEventStore( KApUiEventNone )
   310     {
   198     {
   311     iHelpMajor = KHelpUidApSettingsHandler;
       
   312     }
   199     }
   313 
   200 
   314 
   201 
   315 
   202 
   316 
   203 
   327 iIspFilter( KEApIspTypeAll ),
   214 iIspFilter( KEApIspTypeAll ),
   328 iBearerFilter( EApBearerTypeAll ),
   215 iBearerFilter( EApBearerTypeAll ),
   329 iReqIpvType( aReqIpvType ),
   216 iReqIpvType( aReqIpvType ),
   330 iEventStore( KApUiEventNone )
   217 iEventStore( KApUiEventNone )
   331     {
   218     {
   332     iHelpMajor = KHelpUidApSettingsHandler;
       
   333     }
   219     }
   334 
   220 
   335 
   221 
   336 
   222 
   337 // ---------------------------------------------------------
   223 // ---------------------------------------------------------
   340 //
   226 //
   341 EXPORT_C void CApSettingsHandler::ConstructL(   TInt aIspFilter,
   227 EXPORT_C void CApSettingsHandler::ConstructL(   TInt aIspFilter,
   342                                                 TInt aBearerFilter,
   228                                                 TInt aBearerFilter,
   343                                                 TInt aSortType )
   229                                                 TInt aSortType )
   344     {
   230     {
   345     APSETUILOGGER_ENTERFN( EAPI,"Handler::ConstructL")
       
   346     
       
   347     DoConstructL( NULL, aIspFilter, aBearerFilter, 
       
   348                   aSortType, EVpnFilterBoth, EFalse );
       
   349     
       
   350     APSETUILOGGER_LEAVEFN( EAPI,"Handler::ConstructL")
       
   351     }
   231     }
   352 
   232 
   353 
   233 
   354 
   234 
   355 // ---------------------------------------------------------
   235 // ---------------------------------------------------------
   359 EXPORT_C void CApSettingsHandler::ConstructL(   CActiveApDb& aDb,
   239 EXPORT_C void CApSettingsHandler::ConstructL(   CActiveApDb& aDb,
   360                                                 TInt aIspFilter,
   240                                                 TInt aIspFilter,
   361                                                 TInt aBearerFilter,
   241                                                 TInt aBearerFilter,
   362                                                 TInt aSortType )
   242                                                 TInt aSortType )
   363     {
   243     {
   364     APSETUILOGGER_ENTERFN( EAPI,"Handler::ConstructL2")
       
   365     
       
   366     DoConstructL( &aDb, aIspFilter, aBearerFilter, 
       
   367                   aSortType, EVpnFilterBoth, EFalse );
       
   368     
       
   369     APSETUILOGGER_LEAVEFN( EAPI,"Handler::ConstructL2")
       
   370     }
   244     }
   371 
   245 
   372 
   246 
   373 
   247 
   374 // ---------------------------------------------------------
   248 // ---------------------------------------------------------
   380                                              TInt aBearerFilter,
   254                                              TInt aBearerFilter,
   381                                              TInt aSortType,
   255                                              TInt aSortType,
   382                                              TVpnFilterType aVpnFilterType
   256                                              TVpnFilterType aVpnFilterType
   383                                             )
   257                                             )
   384     {
   258     {
   385     APSETUILOGGER_ENTERFN( EAPI,"Handler::ConstructL3")
       
   386     
       
   387     DoConstructL( NULL, aIspFilter, aBearerFilter, 
       
   388                   aSortType, aVpnFilterType, EFalse );
       
   389     
       
   390     APSETUILOGGER_LEAVEFN( EAPI,"Handler::ConstructL3")
       
   391     }
   259     }
   392 
   260 
   393 
   261 
   394 
   262 
   395 // ---------------------------------------------------------
   263 // ---------------------------------------------------------
   402                                              TInt aBearerFilter,
   270                                              TInt aBearerFilter,
   403                                              TInt aSortType,
   271                                              TInt aSortType,
   404                                              TVpnFilterType aVpnFilterType
   272                                              TVpnFilterType aVpnFilterType
   405                                              )
   273                                              )
   406     {
   274     {
   407     APSETUILOGGER_ENTERFN( EAPI,"Handler::ConstructL4")
       
   408     
       
   409     DoConstructL( &aDb, aIspFilter, aBearerFilter, 
       
   410                   aSortType, aVpnFilterType, EFalse );
       
   411     
       
   412     APSETUILOGGER_LEAVEFN( EAPI,"Handler::ConstructL4")
       
   413     }
   275     }
   414 
   276 
   415 
   277 
   416 
   278 
   417 
   279 
   426                                         TInt aSortType,
   288                                         TInt aSortType,
   427                                         TVpnFilterType aVpnFilterType,
   289                                         TVpnFilterType aVpnFilterType,
   428                                         TBool aIncludeEasyWlan
   290                                         TBool aIncludeEasyWlan
   429                                         )
   291                                         )
   430     {
   292     {
   431     APSETUILOGGER_ENTERFN( EAPI,"Handler::ConstructL5")
       
   432     
       
   433     DoConstructL( &aDb, aIspFilter, aBearerFilter, 
       
   434                   aSortType, aVpnFilterType, aIncludeEasyWlan );
       
   435     
       
   436     APSETUILOGGER_LEAVEFN( EAPI,"Handler::ConstructL5")
       
   437     }
   293     }
   438 
   294 
   439 
   295 
   440 // ---------------------------------------------------------
   296 // ---------------------------------------------------------
   441 // CApSettingsHandler::SetFilter
   297 // CApSettingsHandler::SetFilter
   443 //
   299 //
   444 EXPORT_C void CApSettingsHandler::SetFilterL(   TInt aIspFilter,
   300 EXPORT_C void CApSettingsHandler::SetFilterL(   TInt aIspFilter,
   445                                                 TInt aBearerFilter,
   301                                                 TInt aBearerFilter,
   446                                                 TInt aSortType )
   302                                                 TInt aSortType )
   447     {
   303     {
   448     APSETUILOGGER_ENTERFN( EAPI,"Handler::SetFilterL")
       
   449     
       
   450     iImpl->SetFilterL( aIspFilter, aBearerFilter, aSortType ); 
       
   451     
       
   452     APSETUILOGGER_LEAVEFN( EAPI,"Handler::SetFilterL")   
       
   453     }
   304     }
   454 
   305 
   455 
   306 
   456 
   307 
   457 
   308 
   460 // ---------------------------------------------------------
   311 // ---------------------------------------------------------
   461 //
   312 //
   462 EXPORT_C void CApSettingsHandler::SetTextOverrideL( TTextID aText2Change,
   313 EXPORT_C void CApSettingsHandler::SetTextOverrideL( TTextID aText2Change,
   463                                                     const TDesC& aNewText )
   314                                                     const TDesC& aNewText )
   464     {
   315     {
   465     APSETUILOGGER_ENTERFN( EAPI,"Handler::SetTextOverrideL")
       
   466     
       
   467     __ASSERT_DEBUG( iImpl, Panic( ENullPointer ) );
       
   468     iImpl->SetTextOverrideL( aText2Change, aNewText );
       
   469     
       
   470     APSETUILOGGER_LEAVEFN( EAPI,"Handler::SetTextOverrideL")
       
   471     }
   316     }
   472 
   317 
   473 
   318 
   474 // ---------------------------------------------------------
   319 // ---------------------------------------------------------
   475 // CApSettingsHandler::TextOverrideL
   320 // CApSettingsHandler::TextOverrideL
   476 // ---------------------------------------------------------
   321 // ---------------------------------------------------------
   477 //
   322 //
   478 EXPORT_C const TDesC& CApSettingsHandler::TextOverrideL( TTextID aTextId )
   323 EXPORT_C const TDesC& CApSettingsHandler::TextOverrideL( TTextID aTextId )
   479     {
   324     {
   480     APSETUILOGGER_ENTERFN( EAPI,"Handler::TextOverrideL<->")
   325     User::Leave( KErrNotSupported );
   481     
       
   482     __ASSERT_DEBUG( iImpl, Panic( ENullPointer ) );
       
   483     return iImpl->TextOverrideL( aTextId );
       
   484     }
   326     }
   485 
   327 
   486 
   328 
   487 
   329 
   488 // ---------------------------------------------------------
   330 // ---------------------------------------------------------
   490 // ---------------------------------------------------------
   332 // ---------------------------------------------------------
   491 //
   333 //
   492 EXPORT_C TInt CApSettingsHandler::RunSettingsL( TUint32 aHighLight,
   334 EXPORT_C TInt CApSettingsHandler::RunSettingsL( TUint32 aHighLight,
   493                                                 TUint32& aSelected )
   335                                                 TUint32& aSelected )
   494     {
   336     {
   495     APSETUILOGGER_ENTERFN( EAPI,"Handler::RunSettingsL")
   337     return 0;
   496     
       
   497     iImpl->RunSettingsL( aHighLight, aSelected );
       
   498     
       
   499     APSETUILOGGER_LEAVEFN( EAPI,"Handler::RunSettingsL")
       
   500     
       
   501     return iImpl->EventStore();
       
   502     }
   338     }
   503 
   339 
   504 
   340 
   505 
   341 
   506 // ---------------------------------------------------------
   342 // ---------------------------------------------------------
   507 // CApSettingsHandler::Cvt()
   343 // CApSettingsHandler::Cvt()
   508 // ---------------------------------------------------------
   344 // ---------------------------------------------------------
   509 //
   345 //
   510 EXPORT_C TInt CApSettingsHandler::Cvt()
   346 EXPORT_C TInt CApSettingsHandler::Cvt()
   511     {
   347     {
   512     APSETUILOGGER_ENTERFN( EAPI,"Handler::Cvt<->")
   348     return KErrNotSupported;
   513     return KErrNone;
       
   514     }
   349     }
   515 
   350 
   516 
   351 
   517 // ---------------------------------------------------------
   352 // ---------------------------------------------------------
   518 // CApSettingsHandler::DoRunSettingsL
   353 // CApSettingsHandler::DoRunSettingsL
   519 // ---------------------------------------------------------
   354 // ---------------------------------------------------------
   520 //
   355 //
   521 TInt CApSettingsHandler::DoRunSettingsL( TUint32 /*aHighLight*/,
   356 TInt CApSettingsHandler::DoRunSettingsL( TUint32 /*aHighLight*/,
   522                                          TUint32& /*aSelected*/ )
   357                                          TUint32& /*aSelected*/ )
   523     {
   358     {
   524     APSETUILOGGER_ENTERFN( EAPI,"Handler::DoRunSettingsL@Deprecated")
   359     User::Leave(KErrNotSupported);
   525     
   360     return KErrNotSupported;
   526     //  Deprecated as moved to iImpl
       
   527     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   528     User::Leave(KErrNotSupported);
       
   529     return KErrNone;
       
   530     }
   361     }
   531 
   362 
   532 
   363 
   533 // ---------------------------------------------------------
   364 // ---------------------------------------------------------
   534 // CApSettingsHandler::RunViewerL
   365 // CApSettingsHandler::RunViewerL
   535 // ---------------------------------------------------------
   366 // ---------------------------------------------------------
   536 //
   367 //
   537 EXPORT_C TInt CApSettingsHandler::RunViewerL( TUint32 aUid )
   368 EXPORT_C TInt CApSettingsHandler::RunViewerL( TUint32 aUid )
   538     {
   369     {
   539     APSETUILOGGER_ENTERFN( EAPI,"Handler::RunViewerL")
   370     return 0;
   540     
       
   541     iImpl->RunViewerL( aUid );    
       
   542     
       
   543     APSETUILOGGER_LEAVEFN( EAPI,"Handler::RunViewerL")
       
   544     
       
   545     return iImpl->EventStore();
       
   546     }
   371     }
   547 
   372 
   548 
   373 
   549 
   374 
   550 // ---------------------------------------------------------
   375 // ---------------------------------------------------------
   551 // CApSettingsHandler::DoRunViewerL
   376 // CApSettingsHandler::DoRunViewerL
   552 // ---------------------------------------------------------
   377 // ---------------------------------------------------------
   553 //
   378 //
   554 TInt CApSettingsHandler::DoRunViewerL( TUint32 /*aUid*/ )
   379 TInt CApSettingsHandler::DoRunViewerL( TUint32 /*aUid*/ )
   555     {
   380     {
   556     APSETUILOGGER_ENTERFN( EAPI,"Handler::DoRunViewerL@Deprecated")
   381     User::Leave(KErrNotSupported);
   557     
   382     return KErrNotSupported;
   558     //  Deprecated as moved to iImpl
       
   559     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   560     User::Leave(KErrNotSupported);
       
   561     return KErrNone;
       
   562     }
   383     }
   563 
   384 
   564 
   385 
   565 
   386 
   566 //----------------------------------------------------------
   387 //----------------------------------------------------------
   568 //----------------------------------------------------------
   389 //----------------------------------------------------------
   569 //
   390 //
   570 void CApSettingsHandler::HandleApDeleteCmdL( TUint32 /*aUid*/, 
   391 void CApSettingsHandler::HandleApDeleteCmdL( TUint32 /*aUid*/, 
   571                                              TBool /*aIsLast*/ )
   392                                              TBool /*aIsLast*/ )
   572     {
   393     {
   573     APSETUILOGGER_ENTERFN( EAPI,"Handler::HandleApDeleteCmdL@Deprecated")
       
   574     
       
   575     //  Deprecated as moved to iImpl
       
   576     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   577     User::Leave(KErrNotSupported);
   394     User::Leave(KErrNotSupported);
   578     }
   395     }
   579 
   396 
   580 
   397 
   581 //----------------------------------------------------------
   398 //----------------------------------------------------------
   583 //----------------------------------------------------------
   400 //----------------------------------------------------------
   584 //
   401 //
   585 TUint32 CApSettingsHandler::HandleApBlankNewL( TInt /*aBearers*/, 
   402 TUint32 CApSettingsHandler::HandleApBlankNewL( TInt /*aBearers*/, 
   586                                                TInt /*aIsps*/ )
   403                                                TInt /*aIsps*/ )
   587     {
   404     {
   588     APSETUILOGGER_ENTERFN( EAPI,"Handler::HandleApBlankNewL@Deprecated")
   405     User::Leave(KErrNotSupported);
   589     
   406     return KErrNotSupported;
   590     //  Deprecated as moved to iImpl
       
   591     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   592     User::Leave(KErrNotSupported);
       
   593     return KErrNone;
       
   594     }
   407     }
   595 
   408 
   596 
   409 
   597 
   410 
   598 //----------------------------------------------------------
   411 //----------------------------------------------------------
   599 // CApSettingsHandler::HandleApUseOldNewL
   412 // CApSettingsHandler::HandleApUseOldNewL
   600 //----------------------------------------------------------
   413 //----------------------------------------------------------
   601 //
   414 //
   602 TUint32 CApSettingsHandler::HandleApUseOldNewL()
   415 TUint32 CApSettingsHandler::HandleApUseOldNewL()
   603     {
   416     {
   604     APSETUILOGGER_ENTERFN( EAPI,"Handler::HandleApUseOldNewL@Deprecated")
       
   605     
       
   606     //  Deprecated as moved to iImpl
       
   607     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   608     User::Leave(KErrNotSupported);
   417     User::Leave(KErrNotSupported);
   609     return KErrNone;
   418     return KErrNone;
   610     }
   419     }
   611 
   420 
   612 
   421 
   616 //----------------------------------------------------------
   425 //----------------------------------------------------------
   617 //
   426 //
   618 TUint32 CApSettingsHandler::EditAfterCreateL( TUint32 /*aUid*/,
   427 TUint32 CApSettingsHandler::EditAfterCreateL( TUint32 /*aUid*/,
   619                                               CApAccessPointItem* /*aItem*/ )
   428                                               CApAccessPointItem* /*aItem*/ )
   620     {
   429     {
   621     APSETUILOGGER_ENTERFN( EAPI,"Handler::EditAfterCreateL@Deprecated")
   430     User::Leave(KErrNotSupported);
   622     
   431     return KErrNotSupported;  
   623     //  Deprecated as moved to iImpl
       
   624     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   625     User::Leave(KErrNotSupported);
       
   626     return KErrNone;  
       
   627     }
   432     }
   628 
   433 
   629 
   434 
   630 
   435 
   631 //----------------------------------------------------------
   436 //----------------------------------------------------------
   637                                        TInt aBearerFilter,
   442                                        TInt aBearerFilter,
   638                                        TInt aSortType,
   443                                        TInt aSortType,
   639                                        TVpnFilterType aVpnFilterType,
   444                                        TVpnFilterType aVpnFilterType,
   640                                        TBool aIncludeEasyWlan )
   445                                        TBool aIncludeEasyWlan )
   641     {
   446     {
   642     APSETUILOGGER_ENTERFN( EAPI,"Handler::DoConstructL")
       
   643     
       
   644     // must place it to a temp variable, otherwise CodeScanner reports 
       
   645     // it as a bad practice putting up member to Cleanupstack, but 
       
   646     // we have NO NewL so we must use this.
       
   647     CApSettingsHandlerImpl* tmp = CApSettingsHandlerImpl::NewLC( 
       
   648                                            *aDb, iStartWithSelection,
       
   649                                            iListType, iSelMenuType,
       
   650                                            aIspFilter, aBearerFilter, 
       
   651                                            aSortType, iReqIpvType,
       
   652                                            aVpnFilterType, aIncludeEasyWlan,
       
   653                                            ETrue );
       
   654     CleanupStack::Pop(tmp);   // will soon be a member, need to pop
       
   655     iImpl = tmp;                                           
       
   656     
       
   657     APSETUILOGGER_LEAVEFN( EAPI,"Handler::DoConstructL")
       
   658     }
   447     }
   659 
   448 
   660 
   449 
   661 
   450 
   662 
   451 
   665 //----------------------------------------------------------
   454 //----------------------------------------------------------
   666 //
   455 //
   667 void CApSettingsHandler::DoRunSetPageSettingsL( TUint32 /*aHighLight*/,
   456 void CApSettingsHandler::DoRunSetPageSettingsL( TUint32 /*aHighLight*/,
   668                                                 TUint32& /*aSelected*/ )
   457                                                 TUint32& /*aSelected*/ )
   669     {
   458     {
   670     APSETUILOGGER_ENTERFN( EAPI,"Handler::DoRunSetPageSettingsL@Deprecated")
       
   671     
       
   672     //  Deprecated as moved to iImpl
       
   673     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   674     User::Leave(KErrNotSupported);
   459     User::Leave(KErrNotSupported);
   675     }
   460     }
   676 
   461 
   677 
   462 
   678 
   463 
   681 //----------------------------------------------------------
   466 //----------------------------------------------------------
   682 //
   467 //
   683 void CApSettingsHandler::DoRunListSettingsL( TUint32 /*aHighLight*/,
   468 void CApSettingsHandler::DoRunListSettingsL( TUint32 /*aHighLight*/,
   684                                              TUint32& /*aSelected*/ )
   469                                              TUint32& /*aSelected*/ )
   685     {
   470     {
   686     APSETUILOGGER_ENTERFN( EAPI,"Handler::DoRunListSettingsL@Deprecated")
       
   687     
       
   688     //  Deprecated as moved to iImpl
       
   689     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   690     User::Leave(KErrNotSupported);
   471     User::Leave(KErrNotSupported);
   691     }
   472     }
   692 
   473 
   693 
   474 
   694 
   475 
   696 // CApSettingsHandler::DoHandleApUseOldNewL
   477 // CApSettingsHandler::DoHandleApUseOldNewL
   697 //----------------------------------------------------------
   478 //----------------------------------------------------------
   698 //
   479 //
   699 TUint32 CApSettingsHandler::DoHandleApUseOldNewL( TUint32 /*aSelected*/ )
   480 TUint32 CApSettingsHandler::DoHandleApUseOldNewL( TUint32 /*aSelected*/ )
   700     {
   481     {
   701     APSETUILOGGER_ENTERFN( EAPI,"Handler::DoHandleApUseOldNewL@Deprecated")
   482     User::Leave(KErrNotSupported);
   702     
   483     return KErrNotSupported;
   703     //  Deprecated as moved to iImpl
       
   704     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   705     User::Leave(KErrNotSupported);
       
   706     return KErrNone;
       
   707     }
   484     }
   708 
   485 
   709 
   486 
   710 
   487 
   711 //----------------------------------------------------------
   488 //----------------------------------------------------------
   712 // CApSettingsHandler::SelectApToCopyL
   489 // CApSettingsHandler::SelectApToCopyL
   713 //----------------------------------------------------------
   490 //----------------------------------------------------------
   714 //
   491 //
   715 TUint32 CApSettingsHandler::SelectApToCopyL()
   492 TUint32 CApSettingsHandler::SelectApToCopyL()
   716     {
   493     {
   717     APSETUILOGGER_ENTERFN( EAPI,"Handler::SelectApToCopyL@Deprecated")
   494     User::Leave(KErrNotSupported);
   718     
   495     return KErrNotSupported;
   719     //  Deprecated as moved to iImpl
       
   720     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   721     User::Leave(KErrNotSupported);
       
   722     return KErrNone;
       
   723     }
   496     }
   724 
   497 
   725 
   498 
   726 
   499 
   727 //----------------------------------------------------------
   500 //----------------------------------------------------------
   728 // CApSettingsHandler::DoHandleApBlankNewL
   501 // CApSettingsHandler::DoHandleApBlankNewL
   729 //----------------------------------------------------------
   502 //----------------------------------------------------------
   730 //
   503 //
   731 TUint32 CApSettingsHandler::DoHandleApBlankNewL( TInt /*aBearers*/, TInt /*aIsps*/ )
   504 TUint32 CApSettingsHandler::DoHandleApBlankNewL( TInt /*aBearers*/, TInt /*aIsps*/ )
   732     {
   505     {
   733     APSETUILOGGER_ENTERFN( EAPI,"Handler::DoHandleApBlankNewL@Deprecated")
   506     User::Leave(KErrNotSupported);
   734     
   507     return KErrNotSupported;
   735     //  Deprecated as moved to iImpl
       
   736     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   737     User::Leave(KErrNotSupported);
       
   738     return KErrNone;
       
   739     }
   508     }
   740 
   509 
   741 
   510 
   742 
   511 
   743 
   512 
   745 // CApSettingsHandler::HandleNetworkDeleteCmdL
   514 // CApSettingsHandler::HandleNetworkDeleteCmdL
   746 //----------------------------------------------------------
   515 //----------------------------------------------------------
   747 //
   516 //
   748 void CApSettingsHandler::HandleNetworkDeleteCmdL( TUint32 /*aUid*/ )
   517 void CApSettingsHandler::HandleNetworkDeleteCmdL( TUint32 /*aUid*/ )
   749     {
   518     {
   750     APSETUILOGGER_ENTERFN( EAPI,"Handler::HandleNetworkDeleteCmdL@Deprecated")
       
   751     
       
   752     //  Deprecated as moved to iImpl
       
   753     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   754     User::Leave(KErrNotSupported);
   519     User::Leave(KErrNotSupported);
   755     }
   520     }
   756 
   521 
   757 
   522 
   758 
   523 
   760 // CApSettingsHandler::GetVariantL
   525 // CApSettingsHandler::GetVariantL
   761 //----------------------------------------------------------
   526 //----------------------------------------------------------
   762 //
   527 //
   763 TInt CApSettingsHandler::GetVariantL()
   528 TInt CApSettingsHandler::GetVariantL()
   764     {
   529     {
   765     APSETUILOGGER_ENTERFN( EAPI,"Handler::GetVariantL@Deprecated")
   530     User::Leave(KErrNotSupported);
   766     
   531     return KErrNotSupported;
   767     //  Deprecated as moved to iImpl
       
   768     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   769     User::Leave(KErrNotSupported);
       
   770     return KErrNone;
       
   771     }
   532     }
   772 
   533 
   773 
   534 
   774 //----------------------------------------------------------
   535 //----------------------------------------------------------
   775 // CApSettingsHandler::ConfirmDeleteL
   536 // CApSettingsHandler::ConfirmDeleteL
   776 //----------------------------------------------------------
   537 //----------------------------------------------------------
   777 //
   538 //
   778 TInt CApSettingsHandler::ConfirmDeleteL( TUint32 /*aUid*/, TBool /*aIsLast*/ )
   539 TInt CApSettingsHandler::ConfirmDeleteL( TUint32 /*aUid*/, TBool /*aIsLast*/ )
   779     {
   540     {
   780     APSETUILOGGER_ENTERFN( EAPI,"Handler::ConfirmDeleteL@Deprecated")
   541     User::Leave(KErrNotSupported);
   781     
   542     return KErrNotSupported;
   782     //  Deprecated as moved to iImpl
       
   783     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   784     User::Leave(KErrNotSupported);
       
   785     return KErrNone;
       
   786     }
   543     }
   787 
   544 
   788 
   545 
   789 
   546 
   790 //----------------------------------------------------------
   547 //----------------------------------------------------------
   792 //----------------------------------------------------------
   549 //----------------------------------------------------------
   793 //
   550 //
   794 void CApSettingsHandler::HandleRunSettingsL( TUint32 /*aHighLight*/, 
   551 void CApSettingsHandler::HandleRunSettingsL( TUint32 /*aHighLight*/, 
   795                                              TUint32& /*aSelected*/ )
   552                                              TUint32& /*aSelected*/ )
   796     {
   553     {
   797     APSETUILOGGER_ENTERFN( EAPI,"Handler::HandleRunSettingsL@Deprecated")
       
   798     
       
   799     //  Deprecated as moved to iImpl
       
   800     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   801     User::Leave(KErrNotSupported);
   554     User::Leave(KErrNotSupported);
   802     }
   555     }
   803 
   556 
   804 
   557 
   805 
   558 
   808 //----------------------------------------------------------
   561 //----------------------------------------------------------
   809 //
   562 //
   810 void CApSettingsHandler::ChooseBearerTypeL( TInt /*aBearers*/, 
   563 void CApSettingsHandler::ChooseBearerTypeL( TInt /*aBearers*/, 
   811                                             CApAccessPointItem& /*aItem*/ )
   564                                             CApAccessPointItem& /*aItem*/ )
   812     {
   565     {
   813     APSETUILOGGER_ENTERFN( EAPI,"Handler::ChooseBearerTypeL@Deprecated")
       
   814     
       
   815     //  Deprecated as moved to iImpl
       
   816     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );
       
   817     User::Leave(KErrNotSupported);
   566     User::Leave(KErrNotSupported);
   818     }
   567     }
   819 
   568 
   820 
   569 
   821 
   570 
   824 // CApSettingsHandler::HandleDuplicateL
   573 // CApSettingsHandler::HandleDuplicateL
   825 //----------------------------------------------------------
   574 //----------------------------------------------------------
   826 //
   575 //
   827 TUint32 CApSettingsHandler::HandleDuplicateL( TUint32 /*aUid*/ )
   576 TUint32 CApSettingsHandler::HandleDuplicateL( TUint32 /*aUid*/ )
   828     {
   577     {
   829     APSETUILOGGER_ENTERFN( EAPI,"Handler::HandleDuplicateL@Deprecated")
   578     User::Leave(KErrNotSupported);
   830     
   579     return KErrNotSupported;
   831     //  Deprecated as moved to iImpl
       
   832     __ASSERT_DEBUG( EFalse, Panic( ENullPointer ) );    
       
   833     User::Leave(KErrNotSupported);
       
   834     return KErrNone;
       
   835     }
   580     }
   836 
   581 
   837 
   582 
   838 // End of File
   583 // End of File
   839 
   584