wlansecuritysettings/wlaneapsettingsui/EapPluginConfig/src/EAPPlugInConfigurationDlg.cpp
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     1 /*
       
     2 * Copyright (c) 2001-2009 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 the License "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: Implementation of EAP Plugin Configuration dialog
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <akntitle.h>
       
    22 #include <eikspane.h>
       
    23 #include <aknmfnesettingpage.h>
       
    24 #include <AknIconArray.h>
       
    25 #include <AknsUtils.h>
       
    26 #include <StringLoader.h>
       
    27 #include <aknnotewrappers.h>
       
    28 #include <EapType.h>
       
    29 
       
    30 #include <EAPPluginConfigRes.rsg>
       
    31 #include "EAPPluginConfig.hrh"
       
    32 
       
    33 #include <avkon.mbg>
       
    34 
       
    35 #include "EAPPluginList.h"
       
    36 #include "EAPPlugInConfigurationDlg.h"
       
    37 #include "EAPPluginConfigurationModel.h"
       
    38 
       
    39 
       
    40 #include <FeatMgr.h>
       
    41 #include <hlplch.h>
       
    42 #include <eikappui.h>
       
    43 #include <csxhelp/cp.hlp.hrh>
       
    44 
       
    45 
       
    46 // CONSTANTS
       
    47 // UID of general settings app, in which help texts are included
       
    48 const TUid KHelpUidPlugin = { 0x100058EC };
       
    49 
       
    50 
       
    51 // ================= MEMBER FUNCTIONS =======================
       
    52 
       
    53 // ---------------------------------------------------------
       
    54 // CEAPPluginConfigurationDlg::CEAPPluginConfigurationDlg
       
    55 // ---------------------------------------------------------
       
    56 //
       
    57 CEAPPluginConfigurationDlg::CEAPPluginConfigurationDlg( TInt& aButtonId,
       
    58                                         CEAPPluginConfigurationModel& aModel,
       
    59                                         const TUint32 aIapId )
       
    60 : CAknSelectionListDialog( iDummy, &aModel, NULL ),
       
    61   iButtonId( &aButtonId ),
       
    62   iModel( &aModel ),
       
    63   iIapId( aIapId ),
       
    64   iExiting( EFalse )
       
    65     {
       
    66     // Passing a dummy (iDummy) for selection index.
       
    67     // Base class was made for 'select and dismiss' behaviour only, and does
       
    68     // not work properly in our case (when only "Back" press dismissed the
       
    69     // dialog and more selections are possible).
       
    70     //
       
    71     // iModel (the UI model) should really be owned by this dialog, but
       
    72     // can't do that due to the malformed API of CAknSelectionListDialog.
       
    73     }
       
    74 
       
    75 
       
    76 // ---------------------------------------------------------
       
    77 // CEAPPluginConfigurationDlg::~CEAPPluginConfigurationDlg
       
    78 // ---------------------------------------------------------
       
    79 //
       
    80 CEAPPluginConfigurationDlg::~CEAPPluginConfigurationDlg()
       
    81     {
       
    82     if ( iTitlePane )
       
    83         {
       
    84         // set old text back, if we have it...
       
    85         if ( iOldTitleText )
       
    86             {
       
    87             TRAP_IGNORE( iTitlePane->SetTextL( *iOldTitleText ) );
       
    88             delete iOldTitleText;
       
    89             }
       
    90         }
       
    91         
       
    92     FeatureManager::UnInitializeLib();
       
    93     }
       
    94 
       
    95 
       
    96 // ---------------------------------------------------------
       
    97 // CEAPPluginConfigurationDlg::ConstructAndRunLD
       
    98 // ---------------------------------------------------------
       
    99 //
       
   100 TInt CEAPPluginConfigurationDlg::ConstructAndRunLD( 
       
   101                                                const REAPPluginList& aPlugins,
       
   102                                                const TDesC& aTitle )
       
   103     {
       
   104     CleanupStack::PushL( this );
       
   105 
       
   106     iPlugins = aPlugins;
       
   107     iConnectionName = aTitle;
       
   108 
       
   109     FeatureManager::InitializeLibL();
       
   110     
       
   111     ConstructL( R_WPA_EAP_PLUGIN_MENUBAR );
       
   112     
       
   113     // ExecuteLD will PushL( this ), so we have to Pop it...
       
   114     CleanupStack::Pop( this ); // this
       
   115     
       
   116     return CAknSelectionListDialog::ExecuteLD( R_WPA_EAP_CONFIG_DIALOG );
       
   117     }
       
   118 
       
   119 
       
   120 
       
   121 // ---------------------------------------------------------
       
   122 // CEAPPluginConfigurationDlg::OkToExitL
       
   123 // ---------------------------------------------------------
       
   124 //
       
   125 TBool CEAPPluginConfigurationDlg::OkToExitL( TInt aButtonId )
       
   126     {
       
   127     // Translate the button presses into commands for the appui & current
       
   128     // view to handle
       
   129     TBool retval( EFalse );
       
   130     if ( aButtonId == EAknSoftkeyOptions )
       
   131         {
       
   132         DisplayMenuL();
       
   133         }
       
   134     else if ( aButtonId == EEikCmdExit || 
       
   135               aButtonId == EAknCmdExit ||
       
   136               aButtonId == EAknSoftkeyBack )
       
   137         {
       
   138         *iButtonId = aButtonId;
       
   139         retval = ETrue;
       
   140         }
       
   141     else if( aButtonId == EWPAEAPPluginCmdConfigure )
       
   142         {
       
   143         ProcessCommandL( aButtonId );
       
   144         }
       
   145     else if( aButtonId == EWPAEAPPluginCmdEnable )
       
   146         {
       
   147         ProcessCommandL( aButtonId );
       
   148         }
       
   149         
       
   150 
       
   151     return retval;
       
   152     }
       
   153     
       
   154 // ---------------------------------------------------------
       
   155 // CEAPPluginConfigurationDlg::HandleListBoxEventL
       
   156 // ---------------------------------------------------------
       
   157 //
       
   158 void CEAPPluginConfigurationDlg::HandleListBoxEventL( CEikListBox* /*aListBox*/,
       
   159                                                    TListBoxEvent aEventType )
       
   160     {
       
   161     switch ( aEventType )
       
   162         {
       
   163         case EEventEnterKeyPressed:
       
   164         case EEventItemSingleClicked:
       
   165             {
       
   166             TInt current = ListBox()->CurrentItemIndex();
       
   167             if ( iPlugins[current].iEnabled )            
       
   168                 {
       
   169                 ConfigureL(ETrue);
       
   170                 }
       
   171             else
       
   172                 {
       
   173                 ProcessCommandL( EWPAEAPPluginCmdEnable );
       
   174                 }                
       
   175             break;
       
   176             }
       
   177 
       
   178         case EEventItemActioned:
       
   179         case EEventEditingStarted:
       
   180         case EEventEditingStopped:
       
   181         case EEventPenDownOnItem:
       
   182         case EEventItemDraggingActioned:
       
   183             {
       
   184             break;
       
   185             }
       
   186 
       
   187         default:
       
   188             {
       
   189             break;
       
   190             };
       
   191         };
       
   192     }   
       
   193 
       
   194 // ---------------------------------------------------------
       
   195 // CEAPPluginConfigurationDlg::HandleDialogPageEventL
       
   196 // ---------------------------------------------------------
       
   197 //
       
   198 void CEAPPluginConfigurationDlg::HandleDialogPageEventL( TInt aEventID )
       
   199     {
       
   200      CAknDialog::HandleDialogPageEventL( aEventID );
       
   201          if( iExiting )
       
   202              {        
       
   203              // Exit requested, exit with ok. 
       
   204              TryExitL( EAknCmdExit );
       
   205              }   
       
   206 
       
   207      }
       
   208 
       
   209 // ---------------------------------------------------------
       
   210 // CEAPPluginConfigurationDlg::ConfigureL
       
   211 // ---------------------------------------------------------
       
   212 //
       
   213 void CEAPPluginConfigurationDlg::ConfigureL( TBool aQuick )
       
   214     {
       
   215     CEapType* eapType = CEapType::NewL( 
       
   216             iPlugins[ListBox()->CurrentItemIndex()].iInfo->DataType(), 
       
   217             ELan, 
       
   218             iIapId );
       
   219 
       
   220     CleanupStack::PushL( eapType );
       
   221 
       
   222     TInt buttonId = eapType->InvokeUiL();
       
   223     CleanupStack::PopAndDestroy( eapType );
       
   224 
       
   225     if ( buttonId == EAknCmdExit || buttonId == EEikCmdExit )
       
   226         {
       
   227         if (aQuick == EFalse)
       
   228             {
       
   229             TryExitL( buttonId );
       
   230             }
       
   231         else
       
   232             {
       
   233             iExiting = ETrue;
       
   234             // Don't exit here. Framework command chain will
       
   235             // cause a KERN-EXEC 3 panic. Handle the exit in 
       
   236             // HandleDialogPageEventL(). 
       
   237             }
       
   238         }
       
   239     }
       
   240 
       
   241 // ---------------------------------------------------------
       
   242 // CEAPPluginConfigurationDlg::ProcessCommandL
       
   243 // ---------------------------------------------------------
       
   244 //
       
   245 void CEAPPluginConfigurationDlg::ProcessCommandL( TInt aCommandId )
       
   246     {
       
   247     if ( MenuShowing() )
       
   248         {
       
   249         HideMenu();
       
   250         }
       
   251 
       
   252     switch ( aCommandId )
       
   253         {
       
   254         case EAknCmdOpen:
       
   255         case EWPAEAPPluginCmdConfigure:
       
   256             {
       
   257             ConfigureL(EFalse);
       
   258             break;
       
   259             }
       
   260 
       
   261         case EWPAEAPPluginCmdEnable:
       
   262             {
       
   263             TInt cur = ListBox()->CurrentItemIndex();
       
   264             iPlugins[cur].iEnabled = ETrue;
       
   265 
       
   266             // enabling moves item to the top of the list
       
   267             iPlugins.MovePos( cur, 0 );
       
   268 
       
   269             // Highlight follows movement.
       
   270             ListBox()->SetCurrentItemIndex( 0 );
       
   271 
       
   272             // load the new CBA from resource
       
   273             ButtonGroupContainer().SetCommandSetL( 
       
   274                             R_WPA_EAP_CONFIG_SOFTKEYS_OPTIONS_BACK_CONFIGURE );                            
       
   275             ButtonGroupContainer().DrawDeferred();
       
   276             DrawNow();
       
   277             break;
       
   278             }
       
   279 
       
   280         case EWPAEAPPluginCmdDisable:
       
   281             {
       
   282             if ( iModel->MdcaEnabledCount() > 1 )
       
   283                 {
       
   284                 TInt cur = ListBox()->CurrentItemIndex();
       
   285 
       
   286                 // disabling moves item just after the last enabled one,
       
   287                 // so find that position
       
   288                 TInt next = cur;
       
   289                 
       
   290                 while ( next < iModel->MdcaCount() - 1 &&
       
   291                         iPlugins[next].iEnabled )
       
   292                     {
       
   293                     ++next;
       
   294                     }
       
   295 
       
   296                 if ( next > cur && !iPlugins[next].iEnabled ) 
       
   297                     {
       
   298                     --next;
       
   299                     }
       
   300 
       
   301 
       
   302                 iPlugins[cur].iEnabled = EFalse;
       
   303 
       
   304                 // move item if needed
       
   305                 iPlugins.MovePos( cur, next );
       
   306 
       
   307                 // Highlight follows movement.
       
   308                 ListBox()->SetCurrentItemIndex( next );
       
   309                 
       
   310                 // load the new CBA from resource
       
   311                 ButtonGroupContainer().SetCommandSetL( 
       
   312                                R_WPA_EAP_CONFIG_SOFTKEYS_OPTIONS_BACK_ENABLE );
       
   313                 ButtonGroupContainer().DrawDeferred();
       
   314                 DrawNow();
       
   315                 }
       
   316             else
       
   317                 {
       
   318                 HBufC* stringLabel;
       
   319                 
       
   320                 stringLabel = StringLoader::LoadL( R_INFO_CANNOT_DISABLE,
       
   321                                                    iEikonEnv );
       
   322 
       
   323                 CleanupStack::PushL( stringLabel );
       
   324 
       
   325                 CAknInformationNote* dialog = new ( ELeave )
       
   326                                                 CAknInformationNote( ETrue );
       
   327                 dialog->ExecuteLD( *stringLabel );
       
   328 
       
   329                 CleanupStack::PopAndDestroy( stringLabel );
       
   330                 }
       
   331 
       
   332             break;
       
   333             }
       
   334 
       
   335         case EWPAEAPPluginCmdPriorityUp:
       
   336             {
       
   337             TInt cur = ListBox()->CurrentItemIndex();
       
   338             iPlugins.MovePos( cur, cur - 1 );
       
   339 
       
   340             // Highlight follows movement.
       
   341             ListBox()->SetCurrentItemIndexAndDraw( cur - 1 );
       
   342             break;
       
   343             }
       
   344 
       
   345         case EWPAEAPPluginCmdPriorityDown:
       
   346             {
       
   347             TInt cur = ListBox()->CurrentItemIndex();
       
   348 
       
   349             iPlugins.MovePos( cur, cur + 1 );
       
   350             // Highlight follows movement.
       
   351             ListBox()->SetCurrentItemIndexAndDraw( cur + 1 );
       
   352 
       
   353             break;
       
   354             }
       
   355 
       
   356         case EAknCmdHelp:
       
   357             {
       
   358             HlpLauncher::LaunchHelpApplicationL( iEikonEnv->WsSession(),
       
   359                                     iEikonEnv->EikAppUi()->AppHelpContextL() );
       
   360             break;
       
   361             }
       
   362 
       
   363         case EAknSoftkeyBack:
       
   364         case EAknCmdExit:
       
   365         case EEikCmdExit:
       
   366             {
       
   367             TryExitL( aCommandId );
       
   368             break;
       
   369             }
       
   370 
       
   371         default:
       
   372             {
       
   373             CAknSelectionListDialog::ProcessCommandL( aCommandId );
       
   374             break;
       
   375             }
       
   376         }
       
   377     }
       
   378 
       
   379 
       
   380 // ---------------------------------------------------------
       
   381 // CEAPPluginConfigurationDlg::PreLayoutDynInitL
       
   382 // ---------------------------------------------------------
       
   383 //
       
   384 void CEAPPluginConfigurationDlg::PreLayoutDynInitL()
       
   385     {
       
   386     CAknSelectionListDialog::PreLayoutDynInitL();
       
   387 
       
   388     // first get StatusPane
       
   389     CEikStatusPane* statusPane = iEikonEnv->AppUiFactory()->StatusPane();
       
   390 
       
   391     // then get TitlePane
       
   392     iTitlePane = ( CAknTitlePane* ) statusPane->ControlL( TUid::Uid( 
       
   393                                                     EEikStatusPaneUidTitle ) );
       
   394     // if not already stored, store it for restoring
       
   395     if ( !iOldTitleText )
       
   396         {
       
   397         iOldTitleText = iTitlePane->Text()->AllocL();
       
   398         }
       
   399 
       
   400     // set new titlepane text
       
   401     iTitlePane->SetTextL( iConnectionName );
       
   402 
       
   403     SetIconsL();
       
   404     }
       
   405 
       
   406 
       
   407 // ---------------------------------------------------------
       
   408 // CEAPPluginConfigurationDlg::SetIconsL()
       
   409 // ---------------------------------------------------------
       
   410 //
       
   411 void CEAPPluginConfigurationDlg::SetIconsL()
       
   412     {
       
   413     CArrayPtr< CGulIcon >* icons = new( ELeave ) CAknIconArray( 1 );
       
   414     CleanupStack::PushL( icons );
       
   415 
       
   416     MAknsSkinInstance* skinInstance = AknsUtils::SkinInstance();
       
   417 
       
   418     CGulIcon* icon = CGulIcon::NewLC();
       
   419     CFbsBitmap* bitmap = NULL;
       
   420     CFbsBitmap* mask = NULL;    
       
   421     AknsUtils::CreateColorIconL( skinInstance,
       
   422                                  KAknsIIDQgnIndiMarkedAdd, 
       
   423                                  KAknsIIDQsnIconColors, 
       
   424                                  EAknsCIQsnIconColorsCG13, 
       
   425                                  bitmap, 
       
   426                                  mask, 
       
   427                                  AknIconUtils::AvkonIconFileName(),
       
   428                                  EMbmAvkonQgn_indi_marked_add, 
       
   429                                  EMbmAvkonQgn_indi_marked_add_mask,
       
   430                                  KRgbBlack );
       
   431     icon->SetBitmap( bitmap );
       
   432     icon->SetMask( mask );    
       
   433     icons->AppendL( icon );
       
   434                 
       
   435     CleanupStack::Pop( icon ); 
       
   436 
       
   437     SetIconArrayL( icons );
       
   438 
       
   439     CleanupStack::Pop( icons );
       
   440     }
       
   441 
       
   442 
       
   443 // ---------------------------------------------------------
       
   444 // CEAPPluginConfigurationDlg::DynInitMenuPaneL
       
   445 // ---------------------------------------------------------
       
   446 //
       
   447 void CEAPPluginConfigurationDlg::DynInitMenuPaneL( TInt aResourceId, 
       
   448                                                 CEikMenuPane* aMenuPane )
       
   449     {
       
   450     CAknSelectionListDialog::DynInitMenuPaneL( aResourceId, aMenuPane );
       
   451     if ( aMenuPane && aResourceId == R_WPA_EAP_PLUGIN_MENU )
       
   452         {
       
   453         if ( !FeatureManager::FeatureSupported( KFeatureIdHelp ) )
       
   454             {
       
   455             aMenuPane->DeleteMenuItem( EAknCmdHelp );
       
   456             }
       
   457         if ( !iModel->MdcaCount() )
       
   458             {
       
   459             // if no plug-ins then dim the whole menu.
       
   460             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdConfigure, ETrue );
       
   461             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdEnable, ETrue );
       
   462             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdDisable, ETrue );
       
   463             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdPriorityUp, ETrue );
       
   464             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdPriorityDown, ETrue );
       
   465             }
       
   466         else
       
   467             {
       
   468             TInt current = ListBox()->CurrentItemIndex();
       
   469             TBool enabled = iPlugins[current].iEnabled;
       
   470             
       
   471             // Hide either "Enable" or "Disable", as appropriate.
       
   472             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdEnable, enabled );
       
   473             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdDisable, !enabled );
       
   474             
       
   475             // Don't display "Configure" for disabled items
       
   476             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdConfigure, !enabled );
       
   477             
       
   478             // Don't display "Raise priority" nor "Lower priority" for 
       
   479             // disabled items
       
   480             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdPriorityUp, !enabled );
       
   481             aMenuPane->SetItemDimmed( EWPAEAPPluginCmdPriorityDown, !enabled );
       
   482             
       
   483             
       
   484             if ( enabled )
       
   485                 {
       
   486                 if ( current == 0 )
       
   487                     {
       
   488                     // Can't go higher than top.
       
   489                     aMenuPane->SetItemDimmed( EWPAEAPPluginCmdPriorityUp, 
       
   490                                               ETrue );
       
   491                     }
       
   492                 
       
   493                 if ( current == iModel->MdcaCount() - 1 || 
       
   494                         ( current < iModel->MdcaCount() - 1 && 
       
   495                         !iPlugins[current + 1].iEnabled ) )
       
   496                     {
       
   497                     // Can't go lower than the last enabled item
       
   498                     aMenuPane->SetItemDimmed( EWPAEAPPluginCmdPriorityDown, 
       
   499                                               ETrue );
       
   500                     }
       
   501                 }            
       
   502             }
       
   503         }
       
   504     }
       
   505 
       
   506 
       
   507 // ---------------------------------------------------------
       
   508 // CEAPPluginConfigurationDlg::OfferKeyEventL
       
   509 // ---------------------------------------------------------
       
   510 //
       
   511 TKeyResponse CEAPPluginConfigurationDlg::OfferKeyEventL( 
       
   512                                                 const TKeyEvent& aKeyEvent, 
       
   513                                                 TEventCode aType )
       
   514     {
       
   515     TKeyResponse result( EKeyWasNotConsumed );
       
   516     
       
   517     if ( aType == EEventKey )
       
   518         {
       
   519         
       
   520         // Exit handling 
       
   521         if ( aKeyEvent.iCode == EKeyEscape )
       
   522             {
       
   523             TryExitL( EEikCmdExit );
       
   524             return EKeyWasConsumed;
       
   525             }
       
   526         
       
   527         TInt current = ListBox()->CurrentItemIndex();
       
   528         
       
   529         // Handle Enter key here, since it doesn't seem to convert into
       
   530         // the proper command id via the normal route
       
   531         // (maybe some Avkon support for Enter key is still missing in
       
   532         // S60 3.2 2008_wk22)
       
   533         if ( aKeyEvent.iCode == EKeyEnter )
       
   534             {
       
   535             if ( iPlugins[current].iEnabled )
       
   536                 {
       
   537                 OkToExitL( EWPAEAPPluginCmdConfigure );
       
   538                 }
       
   539             else
       
   540                 {
       
   541                 OkToExitL( EWPAEAPPluginCmdEnable );
       
   542                 }
       
   543                 
       
   544             result = EKeyWasConsumed;
       
   545             }
       
   546         else
       
   547             {
       
   548             result = CAknDialog::OfferKeyEventL( aKeyEvent, aType );
       
   549             }
       
   550                 
       
   551         TInt next = ListBox()->CurrentItemIndex();
       
   552 
       
   553         if ( current != next &&
       
   554              ( iPlugins[current].iEnabled && !iPlugins[next].iEnabled ||
       
   555                !iPlugins[current].iEnabled && iPlugins[next].iEnabled ) )
       
   556             {
       
   557             // status is different, the CBA must be changed
       
   558             CEikButtonGroupContainer& cba = ButtonGroupContainer();
       
   559 
       
   560             // load the new set from resource
       
   561             if ( iPlugins[next].iEnabled )
       
   562                 {
       
   563                 cba.SetCommandSetL(  
       
   564                             R_WPA_EAP_CONFIG_SOFTKEYS_OPTIONS_BACK_CONFIGURE );                           
       
   565                 }
       
   566             else
       
   567                 {
       
   568                 cba.SetCommandSetL(  
       
   569                             R_WPA_EAP_CONFIG_SOFTKEYS_OPTIONS_BACK_ENABLE );
       
   570                 }
       
   571 
       
   572             cba.DrawDeferred();
       
   573             }
       
   574         }
       
   575     else
       
   576         {
       
   577         // pass event up the hierarchy
       
   578         result = CAknDialog::OfferKeyEventL( aKeyEvent, aType );        
       
   579         }
       
   580         
       
   581     
       
   582    
       
   583     return result;
       
   584     }
       
   585 
       
   586 
       
   587 // ----------------------------------------------------------------------------
       
   588 // CEAPPluginConfigurationDlg::HandleResourceChange
       
   589 // ----------------------------------------------------------------------------
       
   590 //
       
   591 void CEAPPluginConfigurationDlg::HandleResourceChange( TInt aType )
       
   592     {
       
   593     CAknSelectionListDialog::HandleResourceChange( aType );
       
   594 
       
   595     if ( aType == KAknsMessageSkinChange )
       
   596         {
       
   597         TRAP_IGNORE( SetIconsL() );
       
   598         SizeChanged();
       
   599         }
       
   600     }
       
   601 
       
   602 
       
   603 // ---------------------------------------------------------
       
   604 // CEAPPluginConfigurationDlg::GetHelpContext
       
   605 // ---------------------------------------------------------
       
   606 //
       
   607 void CEAPPluginConfigurationDlg::GetHelpContext( 
       
   608                                             TCoeHelpContext& aContext ) const
       
   609     {
       
   610     aContext.iMajor = KHelpUidPlugin;
       
   611     aContext.iContext = KSET_HLP_WLAN_EAP_PLUGINS_IAP;
       
   612     }
       
   613 
       
   614 
       
   615 // End of File