eapol/eapol_framework/eapol_symbian/eap_server/src/eap_am_general_settings_symbian.cpp
equal
deleted
inserted
replaced
14 * Description: EAP general settings configuration. |
14 * Description: EAP general settings configuration. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 60 % |
19 * %version: 61 % |
20 */ |
20 */ |
21 |
21 |
22 #include "eap_tools.h" |
22 #include "eap_tools.h" |
23 #include "eap_status.h" |
23 #include "eap_status.h" |
24 #include "eap_am_export.h" |
24 #include "eap_am_export.h" |
2082 internal_settings->m_Index)); |
2082 internal_settings->m_Index)); |
2083 |
2083 |
2084 TRAP(error, (eapType = CEapTypePlugin::NewL( |
2084 TRAP(error, (eapType = CEapTypePlugin::NewL( |
2085 tunneled_plugins[ind_inner]->GetValue(), |
2085 tunneled_plugins[ind_inner]->GetValue(), |
2086 static_cast<TIndexType>(internal_settings->m_IndexType), |
2086 static_cast<TIndexType>(internal_settings->m_IndexType), |
2087 internal_settings->m_Index))); |
2087 internal_settings->m_Index, |
|
2088 m_am_tools))); |
2088 |
2089 |
2089 // This will automatically delete eapType. |
2090 // This will automatically delete eapType. |
2090 eap_automatic_variable_c<CEapTypePlugin> automatic_eap_type( |
2091 eap_automatic_variable_c<CEapTypePlugin> automatic_eap_type( |
2091 m_am_tools, |
2092 m_am_tools, |
2092 eapType); |
2093 eapType); |
2165 CEapTypePlugin * eapType = NULL; |
2166 CEapTypePlugin * eapType = NULL; |
2166 |
2167 |
2167 TRAP(error, (eapType = CEapTypePlugin::NewL( |
2168 TRAP(error, (eapType = CEapTypePlugin::NewL( |
2168 plugins_array[ind_outer]->GetValue(), |
2169 plugins_array[ind_outer]->GetValue(), |
2169 static_cast<TIndexType>(internal_settings->m_IndexType), |
2170 static_cast<TIndexType>(internal_settings->m_IndexType), |
2170 internal_settings->m_Index))); |
2171 internal_settings->m_Index, |
|
2172 m_am_tools))); |
2171 |
2173 |
2172 // This will automatically delete eapType. |
2174 // This will automatically delete eapType. |
2173 eap_automatic_variable_c<CEapTypePlugin> automatic_eap_type( |
2175 eap_automatic_variable_c<CEapTypePlugin> automatic_eap_type( |
2174 m_am_tools, |
2176 m_am_tools, |
2175 eapType); |
2177 eapType); |
2469 internal_settings->m_DestinationIndex)); |
2471 internal_settings->m_DestinationIndex)); |
2470 |
2472 |
2471 TRAP(error, (eapType = CEapTypePlugin::NewL( |
2473 TRAP(error, (eapType = CEapTypePlugin::NewL( |
2472 tunneled_plugins[ind_inner]->GetValue(), |
2474 tunneled_plugins[ind_inner]->GetValue(), |
2473 static_cast<TIndexType>(internal_settings->m_IndexType), |
2475 static_cast<TIndexType>(internal_settings->m_IndexType), |
2474 internal_settings->m_Index))); |
2476 internal_settings->m_Index, |
|
2477 m_am_tools))); |
2475 |
2478 |
2476 // This will automatically delete eapType. |
2479 // This will automatically delete eapType. |
2477 eap_automatic_variable_c<CEapTypePlugin> automatic_eap_type( |
2480 eap_automatic_variable_c<CEapTypePlugin> automatic_eap_type( |
2478 m_am_tools, |
2481 m_am_tools, |
2479 eapType); |
2482 eapType); |
2562 CEapTypePlugin * eapType = NULL; |
2565 CEapTypePlugin * eapType = NULL; |
2563 |
2566 |
2564 TRAP(error, (eapType = CEapTypePlugin::NewL( |
2567 TRAP(error, (eapType = CEapTypePlugin::NewL( |
2565 plugins[ind_outer]->GetValue(), |
2568 plugins[ind_outer]->GetValue(), |
2566 static_cast<TIndexType>(internal_settings->m_IndexType), |
2569 static_cast<TIndexType>(internal_settings->m_IndexType), |
2567 internal_settings->m_Index))); |
2570 internal_settings->m_Index, |
|
2571 m_am_tools))); |
2568 |
2572 |
2569 // This will automatically delete eapType. |
2573 // This will automatically delete eapType. |
2570 eap_automatic_variable_c<CEapTypePlugin> automatic_eap_type( |
2574 eap_automatic_variable_c<CEapTypePlugin> automatic_eap_type( |
2571 m_am_tools, |
2575 m_am_tools, |
2572 eapType); |
2576 eapType); |