equal
deleted
inserted
replaced
147 EXPORT_C void CCdcCommsDatCreator::CreateCommsDatL( const TFileName& aInFileName ) |
147 EXPORT_C void CCdcCommsDatCreator::CreateCommsDatL( const TFileName& aInFileName ) |
148 { |
148 { |
149 CLOG_WRITE( "=====================\n" ) |
149 CLOG_WRITE( "=====================\n" ) |
150 CLOG_WRITE( "Processing started...\n" ) |
150 CLOG_WRITE( "Processing started...\n" ) |
151 CLOG_WRITE( "=====================\n" ) |
151 CLOG_WRITE( "=====================\n" ) |
152 |
|
153 iCmManager.OpenL(); |
|
154 |
152 |
155 TDbCreatorInputCharSet charSet( ECharSetUnknown );//input character set |
153 TDbCreatorInputCharSet charSet( ECharSetUnknown );//input character set |
156 |
154 |
157 //Creates access points |
155 //Creates access points |
158 //---------------------- |
156 //---------------------- |
323 |
321 |
324 }//while |
322 }//while |
325 |
323 |
326 |
324 |
327 // Updates the IAPs that are not in destinations. |
325 // Updates the IAPs that are not in destinations. |
328 UpdateUncatCmsL( iCmInDest /*, iPluginNames, iPluginArray*/ ); |
326 UpdateUncatCmsL( iCmInDest ); |
329 |
327 |
330 // Sets the underlying IAP/SNAPS for vpn IAPs |
328 // Sets the underlying IAP/SNAPS for vpn IAPs |
331 SetUnderlyingIapL( iUnderLying ); |
329 SetUnderlyingIapL( iUnderLying ); |
332 |
330 |
333 for( TInt i(0); i < iWlanSecurity.Count(); i++ ) |
331 for( TInt i(0); i < iWlanSecurity.Count(); i++ ) |
347 SetWlanSecurityL( iWlanSecurity ); |
345 SetWlanSecurityL( iWlanSecurity ); |
348 |
346 |
349 // Sets linger settings |
347 // Sets linger settings |
350 SetLingerSettingsL( iLingerSettings ); |
348 SetLingerSettingsL( iLingerSettings ); |
351 |
349 |
352 // Sets the default connection |
|
353 // SetDefaultConnectionL( iDefCon ); |
|
354 |
|
355 // Logs IAPs in UDEB mode |
350 // Logs IAPs in UDEB mode |
356 #ifdef _DEBUG |
351 #ifdef _DEBUG |
357 LogIapIdsL(); |
352 LogIapIdsL(); |
358 #endif |
353 #endif |
359 } |
354 } |
433 CLOG_WRITE( "Initialising FeatureManager\n" ) |
428 CLOG_WRITE( "Initialising FeatureManager\n" ) |
434 //checks if Wlan feature is supported |
429 //checks if Wlan feature is supported |
435 FeatureManager::InitializeLibL(); |
430 FeatureManager::InitializeLibL(); |
436 iIsWlanS = FeatureManager::FeatureSupported( KFeatureIdProtocolWlan ); |
431 iIsWlanS = FeatureManager::FeatureSupported( KFeatureIdProtocolWlan ); |
437 FeatureManager::UnInitializeLib(); |
432 FeatureManager::UnInitializeLib(); |
438 CLOG_WRITE( "FeatureManager closed\n" ) |
433 CLOG_WRITE( "FeatureManager closed\n" ) |
|
434 |
|
435 iCmManager.OpenL(); |
439 } |
436 } |
440 |
437 |
441 //------------------------------------------------ |
438 //------------------------------------------------ |
442 // CCdcCommsDatCreator::InputFileType |
439 // CCdcCommsDatCreator::InputFileType |
443 //------------------------------------------------ |
440 //------------------------------------------------ |
581 |
578 |
582 CLOG_WRITE( "--------------------------------------\n" ) |
579 CLOG_WRITE( "--------------------------------------\n" ) |
583 } |
580 } |
584 } |
581 } |
585 |
582 |
586 // --------------------------------------------------------- |
|
587 // CCdcCommsDatCreator::ProcessDNL |
|
588 // --------------------------------------------------------- |
|
589 // |
|
590 /*void CCdcCommsDatCreator::SetDefaultConnectionL( RPointerArray< HBufC >& aDefCon ) |
|
591 { |
|
592 // Sets the default connection |
|
593 if( aDefCon.Count() > 0 ) |
|
594 { |
|
595 CLOG_WRITE_FORMAT( "SetDefaultConnectionL: %d\n", aDefCon.Count() ) |
|
596 CLOG_WRITE( "--------------------------------------\n" ) |
|
597 |
|
598 CProcessorGlobal* glb = CProcessorGlobal::NewL( iReader, |
|
599 iCmManager, |
|
600 iPluginArray, |
|
601 iPluginNames, |
|
602 iDestArray, |
|
603 iDestNames, |
|
604 aDefCon ); |
|
605 |
|
606 CleanupStack::PushL( glb ); |
|
607 glb->SetDefaultConnectionL(); |
|
608 |
|
609 CleanupStack::PopAndDestroy( glb ); |
|
610 |
|
611 CLOG_WRITE( "--------------------------------------\n" ) |
|
612 } |
|
613 }*/ |
|
614 |
583 |
615 // --------------------------------------------------------- |
584 // --------------------------------------------------------- |
616 // CCdcCommsDatCreator::SetUnderlyingIapL |
585 // CCdcCommsDatCreator::SetUnderlyingIapL |
617 // --------------------------------------------------------- |
586 // --------------------------------------------------------- |
618 // |
587 // |