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