wlansecuritysettings/wlaneapsettingsui/EapMschapv2/ConfigUi/src/EapMschapv2UiView.cpp
changeset 18 7aac0b9e8906
parent 17 8840d3e38314
equal deleted inserted replaced
17:8840d3e38314 18:7aac0b9e8906
    14 * Description: Implementation of EAP Mschapv2 UI settings dialog
    14 * Description: Implementation of EAP Mschapv2 UI settings dialog
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 29 %
    19 * %version: 30 %
    20 */
    20 */
    21 
    21 
    22 // INCLUDE FILES
    22 // INCLUDE FILES
    23 #include <eikdialg.h>
    23 #include <eikdialg.h>
    24 #include <AknDialog.h>
    24 #include <AknDialog.h>
    35 #include <EapMsChapV2UiDataConnection.h>
    35 #include <EapMsChapV2UiDataConnection.h>
    36 #include <EapMsChapV2UiMsChapV2Data.h>
    36 #include <EapMsChapV2UiMsChapV2Data.h>
    37 
    37 
    38 #include <featmgr.h>
    38 #include <featmgr.h>
    39 #include <hlplch.h>
    39 #include <hlplch.h>
    40 #include <csxhelp/cp.hlp.hrh>
       
    41 
    40 
    42 
    41 
    43 // CONSTANTS
    42 // CONSTANTS
    44 // UID of general settings app, in which help texts are included
    43 // UID of general settings app, in which help texts are included
    45 const TUid KHelpUidPlugin = { 0x100058EC };
    44 const TUid KHelpUidPlugin = { 0x100058EC };
   499 
   498 
   500 // -----------------------------------------------------------------------------
   499 // -----------------------------------------------------------------------------
   501 // CEapMsChapV2UiDialog::GetHelpContext
   500 // CEapMsChapV2UiDialog::GetHelpContext
   502 // -----------------------------------------------------------------------------
   501 // -----------------------------------------------------------------------------
   503 //
   502 //
   504 void CEapMsChapV2UiDialog::GetHelpContext( TCoeHelpContext& aContext ) const
   503 void CEapMsChapV2UiDialog::GetHelpContext( TCoeHelpContext& /* aContext */ ) const
   505     {
   504     {
   506     aContext.iMajor = KHelpUidPlugin;
   505     // Avkon help dependencies removed, hence do nothing
   507     if( iConnection->GetBearerEAPType() == KEapMsChapv2Id )
   506     return;
   508         {
       
   509         aContext.iContext = KSET_HLP_WLAN_EAP_MSCHAPV2;
       
   510         }
       
   511     else
       
   512         {
       
   513         aContext.iContext = KSET_HLP_WLAN_EAP_PLAIN_MSCHAP;
       
   514         }
       
   515     }
   507     }
   516     
   508     
   517 
   509 
   518 //  End of File
   510 //  End of File