diff -r ff3b6d0fd310 -r ae8abd0db65c convergedcallengine/cce/src/cccecallcontainer.cpp --- a/convergedcallengine/cce/src/cccecallcontainer.cpp Tue Feb 02 01:11:09 2010 +0200 +++ b/convergedcallengine/cce/src/cccecallcontainer.cpp Fri Mar 19 09:40:14 2010 +0200 @@ -61,7 +61,7 @@ // void CCCECallContainer::ConstructL() { - FeatureManager::InitializeLibL(); + FeatureManager::InitializeLibL(); iCallStateMediator = CCCECallInfoMediator::NewL( *this ); CreateCallDataArraysL(); @@ -170,7 +170,7 @@ // void CCCECallContainer::AirTimeDurationSwap( const CCPCall::TCallType aNewCallType) - { + { CCELOGSTRING("CCCECallContainer::AirTimeDurationSwap(): IN"); CCCECall* call = NULL; @@ -191,29 +191,29 @@ } if( 1 == calls ) - { - // After handover we will have only one active call - // If we have more or less, timer swapping will not happend - if (aNewCallType == CCPCall::ECallTypePS ) - { - CCELOGSTRING2("CCCECallContainer::AirTimeDurationSwap(): CS Stops, PS restarts from %d", - iCSDuration->NumberOfBeats() ); - iCSDuration->Stop(); - iPSDuration->RestartAirTimeDuration(iCSDuration->NumberOfBeats()); - iCSDuration->Reset(); - } - else - { - CCELOGSTRING2("CCCECallContainer::AirTimeDurationSwap(): PS Stops, CS restarts from %d", - iPSDuration->NumberOfBeats() ); - iPSDuration->Stop(); - iCSDuration->RestartAirTimeDuration(iPSDuration->NumberOfBeats()); - iPSDuration->Reset(); - } - } + { + // After handover we will have only one active call + // If we have more or less, timer swapping will not happend + if (aNewCallType == CCPCall::ECallTypePS ) + { + CCELOGSTRING2("CCCECallContainer::AirTimeDurationSwap(): CS Stops, PS restarts from %d", + iCSDuration->NumberOfBeats() ); + iCSDuration->Stop(); + iPSDuration->RestartAirTimeDuration(iCSDuration->NumberOfBeats()); + iCSDuration->Reset(); + } + else + { + CCELOGSTRING2("CCCECallContainer::AirTimeDurationSwap(): PS Stops, CS restarts from %d", + iPSDuration->NumberOfBeats() ); + iPSDuration->Stop(); + iCSDuration->RestartAirTimeDuration(iPSDuration->NumberOfBeats()); + iPSDuration->Reset(); + } + } CCELOGSTRING("CCCECallContainer::AirTimeDurationSwap(): OUT"); - } - + } + // --------------------------------------------------------------------------- // AirTimeDurationStop() // --------------------------------------------------------------------------- @@ -294,7 +294,7 @@ call = GetCall( i ); if ( call->State() == CCPCall::EStateConnected || call->State() == CCPCall::EStateHold ) - { + { if ( IsCsPlugin( call, EFalse ) ) { csCalls++; @@ -985,8 +985,8 @@ // Do nothing when there is only cscalls if ( IsCsPlugin( aCall, ETrue ) ) - { - + { + break; } @@ -1288,24 +1288,24 @@ // ----------------------------------------------------------------------------- // TBool CCCECallContainer::GetLifeTime( TDes8& aLifeTimeInfo ) - { + { CCELOGSTRING("CCCE::GetLifeTime()"); - CConvergedCallProvider* plugin = NULL; - + CConvergedCallProvider* plugin = NULL; + TRAP_IGNORE( plugin = iPluginManager->GetPluginL(KCSServiceId)); if( plugin ) - { - plugin->GetLifeTime(aLifeTimeInfo); - } - else - { - CCELOGSTRING("CCCE::GetLifeTime() - CS plugin not found!"); - return EFalse; - } + { + plugin->GetLifeTime(aLifeTimeInfo); + } + else + { + CCELOGSTRING("CCCE::GetLifeTime() - CS plugin not found!"); + return EFalse; + } - return ETrue; + return ETrue; } // ----------------------------------------------------------------------------- @@ -1313,26 +1313,26 @@ // ----------------------------------------------------------------------------- // TBool CCCECallContainer::GetCSInfo( CSInfo& aCSInfo ) - { + { CCELOGSTRING("CCCE::GetCSInfo()"); - CConvergedCallProvider* plugin = NULL; - - TRAP_IGNORE( plugin = iPluginManager->GetPluginL(KCSServiceId)); + CConvergedCallProvider* plugin = NULL; + + TRAP_IGNORE( plugin = iPluginManager->GetPluginL(KCSServiceId)); if( plugin ) - { - plugin->GetCSInfo(aCSInfo); - } - else - { - CCELOGSTRING("CCCE::GetCSInfo() - CS plugin not found!"); - return EFalse; - } + { + plugin->GetCSInfo(aCSInfo); + } + else + { + CCELOGSTRING("CCCE::GetCSInfo() - CS plugin not found!"); + return EFalse; + } - return ETrue; - } + return ETrue; + } // --------------------------------------------------------------------------- // CCCECallContainer::IsCsPlugin