eapol/eapol_framework/eapol_symbian/am/type/protected_setup/symbian/plugin/src/EapProtectedSetup.cpp
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 19 %
    19 * %version: 24 %
    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
    66 
    66 
    67 }
    67 }
    68 
    68 
    69 // ----------------------------------------------------------
    69 // ----------------------------------------------------------
    70 
    70 
    71 CEapProtectedSetup* CEapProtectedSetup::NewL(SIapInfo *aIapInfo)
    71 CEapProtectedSetup* CEapProtectedSetup::NewL(SPluginInfo *aIapInfo)
    72 {
    72 {
    73 	EAP_TRACE_DEBUG_SYMBIAN(
    73 	EAP_TRACE_DEBUG_SYMBIAN(
    74 		(_L("CEapProtectedSetup::NewL index type=%d, index=%d"),
    74 		(_L("CEapProtectedSetup::NewL index type=%d, index=%d"),
    75 		aIapInfo->indexType, aIapInfo->index));
    75 		aIapInfo->indexType, aIapInfo->index));
    76 
    76 
   181 	return type;
   181 	return type;
   182 }
   182 }
   183 
   183 
   184 // ----------------------------------------------------------
   184 // ----------------------------------------------------------
   185 
   185 
   186 
       
   187 
       
   188 // ----------------------------------------------------------
       
   189 
       
   190 CEapTypeInfo* CEapProtectedSetup::GetInfoL()
   186 CEapTypeInfo* CEapProtectedSetup::GetInfoL()
   191 {
   187 {
   192 	CEapTypeInfo* info = new(ELeave) CEapTypeInfo(
   188 	CEapTypeInfo* info = new(ELeave) CEapTypeInfo(
   193 		(TDesC&)KReleaseDate, 
   189 		(TDesC&)KReleaseDate, 
   194 		(TDesC&)KEapTypeVersion,
   190 		(TDesC&)KEapTypeVersion,
   196 
   192 
   197 	return info;
   193 	return info;
   198 }
   194 }
   199 
   195 
   200 // ----------------------------------------------------------
   196 // ----------------------------------------------------------
       
   197 
   201 void CEapProtectedSetup::DeleteConfigurationL()
   198 void CEapProtectedSetup::DeleteConfigurationL()
   202 {
   199 {
   203 	EAP_TRACE_DEBUG_SYMBIAN(
   200 	EAP_TRACE_DEBUG_SYMBIAN(
   204 		(_L("ERROR: CEapProtectedSetup::DeleteConfigurationL - THIS IS NOT SUPPORTED")));
   201 		(_L("WARNING: CEapProtectedSetup::DeleteConfigurationL - THIS IS NOT SUPPORTED")));
   205 }
   202 }
   206 
   203 
   207 // ----------------------------------------------------------
   204 // ----------------------------------------------------------
   208 
   205 
   209 TUint CEapProtectedSetup::GetInterfaceVersion()
   206 TUint CEapProtectedSetup::GetInterfaceVersion()
   227 
   224 
   228 	    iTunnelingType = aInternalType;
   225 	    iTunnelingType = aInternalType;
   229 
   226 
   230 }
   227 }
   231 
   228 
   232 
   229 // ----------------------------------------------------------
   233 // ----------------------------------------------------------
   230 
   234 void CEapProtectedSetup::SetIndexL(
   231 void CEapProtectedSetup::SetIndexL(
   235 		const TIndexType /*aIndexType*/, 
   232 		const TIndexType /*aIndexType*/, 
   236 		const TInt /*aIndex*/ )
   233 		const TInt /*aIndex*/ )
   237 {
   234 {
   238 	EAP_TRACE_DEBUG_SYMBIAN(
   235 	EAP_TRACE_DEBUG_SYMBIAN(
   263 {
   260 {
   264 	EAP_TRACE_DEBUG_SYMBIAN(
   261 	EAP_TRACE_DEBUG_SYMBIAN(
   265 		(_L("ERROR: CEapProtectedSetup::CopySettingsL - THIS IS NOT SUPPORTED")));
   262 		(_L("ERROR: CEapProtectedSetup::CopySettingsL - THIS IS NOT SUPPORTED")));
   266 }
   263 }
   267 
   264 
       
   265 // ----------------------------------------------------------
       
   266 
       
   267 TInt CEapProtectedSetup::InitialisePacStore(AbsPacStoreInitializer * const /* initializer */)
       
   268 {
       
   269 	return KErrNone;
       
   270 }
       
   271 
       
   272 // ----------------------------------------------------------
       
   273 
   268 // End of file
   274 // End of file