eapol/eapol_framework/eapol_symbian/am/type/securid/symbian/plugin/src/EapSecurID.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
    35 #include "eap_type_securid.h"
    35 #include "eap_type_securid.h"
    36 #include "EapSecurIDGlobal.h"
    36 #include "EapSecurIDGlobal.h"
    37 #include <EapTypeInfo.h>
    37 #include <EapTypeInfo.h>
    38 #include "EapGtcDbUtils.h"
    38 #include "EapGtcDbUtils.h"
    39 
    39 
    40 #include <EapGtcUiConnection.h>
       
    41 #include "EapGtcUi.h"
       
    42 
    40 
    43 #include "eap_am_tools_symbian.h"
    41 #include "eap_am_tools_symbian.h"
    44 
    42 
    45 // LOCAL CONSTANTS
    43 // LOCAL CONSTANTS
    46 
    44 
   153 // ----------------------------------------------------------
   151 // ----------------------------------------------------------
   154 
   152 
   155 TInt CEapSecurID::InvokeUiL()
   153 TInt CEapSecurID::InvokeUiL()
   156 {
   154 {
   157 	TInt buttonId(0);
   155 	TInt buttonId(0);
   158 
       
   159 #ifdef USE_EAP_EXPANDED_TYPES
       
   160 
       
   161     CEapGtcUiConnection uiConn(iIndexType, iIndex, iTunnelingType.get_vendor_type());
       
   162 	
       
   163 #else
       
   164 
       
   165     CEapGtcUiConnection uiConn(iIndexType, iIndex, iTunnelingType);
       
   166 
       
   167 #endif //#ifdef USE_EAP_EXPANDED_TYPES
       
   168 	
       
   169 	CEapGtcUi* ui = CEapGtcUi::NewL(&uiConn);
       
   170 	CleanupStack::PushL(ui);
       
   171 	buttonId = ui->InvokeUiL();
       
   172 	CleanupStack::PopAndDestroy(ui);
       
   173 	return buttonId;
   156 	return buttonId;
   174 }
   157 }
   175 
   158 
   176 // ----------------------------------------------------------
   159 // ----------------------------------------------------------
   177 
   160