eapol/eapol_framework/eapol_symbian/am/type/aka/symbian/plugin/src/EapAka.cpp
changeset 22 093cf0757204
parent 2 1c7bc153c08e
child 26 9abfd4f00d37
equal deleted inserted replaced
20:8b3129ac4c0f 22:093cf0757204
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 15.1.2 %
    19 * %version: 15.1.3 %
    20 */
    20 */
    21 
    21 
    22 // This is enumeration of EAPOL source code.
    22 // This is enumeration of EAPOL source code.
    23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    24 	#undef EAP_FILE_NUMBER_ENUM
    24 	#undef EAP_FILE_NUMBER_ENUM
    36 #include "EapAkaGlobal.h"
    36 #include "EapAkaGlobal.h"
    37 #include <EapTypeInfo.h>
    37 #include <EapTypeInfo.h>
    38 #include "eap_am_type_aka_symbian.h"
    38 #include "eap_am_type_aka_symbian.h"
    39 #include "EapAkaDbUtils.h"
    39 #include "EapAkaDbUtils.h"
    40 
    40 
    41 #include <EapAkaUiConnection.h>
    41 
    42 #include "EapAkaUi.h"
       
    43 
    42 
    44 
    43 
    45 #include "eap_am_tools_symbian.h"
    44 #include "eap_am_tools_symbian.h"
    46 
    45 
    47 // LOCAL CONSTANTS
    46 // LOCAL CONSTANTS
   140 // ----------------------------------------------------------
   139 // ----------------------------------------------------------
   141 TInt CEapAka::InvokeUiL()
   140 TInt CEapAka::InvokeUiL()
   142 {
   141 {
   143 	TInt buttonId(0);
   142 	TInt buttonId(0);
   144  
   143  
   145 #ifdef USE_EAP_EXPANDED_TYPES
       
   146 
       
   147     CEapAkaUiConnection uiConn(iIndexType, iIndex, iTunnelingType.get_vendor_type());
       
   148 	
       
   149 #else
       
   150 
       
   151     CEapAkaUiConnection uiConn(iIndexType, iIndex, iTunnelingType);
       
   152 
       
   153 #endif //#ifdef USE_EAP_EXPANDED_TYPES
       
   154  
       
   155 	CEapAkaUi* ui = CEapAkaUi::NewL(&uiConn);
       
   156 	CleanupStack::PushL(ui);
       
   157 	buttonId = ui->InvokeUiL();
       
   158 	CleanupStack::PopAndDestroy(ui);
       
   159 	return buttonId;
   144 	return buttonId;
   160 }
   145 }
   161 
   146 
   162 // ----------------------------------------------------------
   147 // ----------------------------------------------------------
   163 CEapTypeInfo* CEapAka::GetInfoLC()
   148 CEapTypeInfo* CEapAka::GetInfoLC()