phoneapp/phoneuicontrol/src/cphonecallheadermanager.cpp
branchRCL_3
changeset 58 40a3f856b14d
parent 44 3c221667e687
child 61 41a7f70b3818
equal deleted inserted replaced
57:94dc1107e8b2 58:40a3f856b14d
   221             EPhoneViewCreateCallHeader, 
   221             EPhoneViewCreateCallHeader, 
   222             aCallId, 
   222             aCallId, 
   223             &callHeaderParam );
   223             &callHeaderParam );
   224     }
   224     }
   225 
   225 
   226 
       
   227 // ---------------------------------------------------------------------------
       
   228 //  CPhoneCallHeaderManager::DisplayHeaderForInitializingCallL
       
   229 // ---------------------------------------------------------------------------
       
   230 //
       
   231 void CPhoneCallHeaderManager::DisplayHeaderForInitializingCallL( TInt aCallId )
       
   232     {
       
   233     __LOGMETHODSTARTEND( EPhoneControl, "CPhoneCallHeaderManager::DisplayHeaderForInitializingCallL() ");
       
   234     __ASSERT_DEBUG( iStateMachine.PhoneEngineInfo(), Panic( EPhoneCtrlInvariant ) );
       
   235     
       
   236     TPhoneCmdParamCallHeaderData callHeaderParam;
       
   237     
       
   238     iCallHeaderParam->SetIniticalizingCallHeaderParamsL( 
       
   239             aCallId,
       
   240             &callHeaderParam );
       
   241             
       
   242     if( iCustomization )
       
   243         {
       
   244         // to do modifications to call header parameters
       
   245         // if VoIP call in question
       
   246         iCustomization->ModifyCallHeaderTexts( aCallId, &callHeaderParam,
       
   247             KNullDesC );
       
   248         }
       
   249     
       
   250     // Display call header for outgoing call
       
   251     iViewCommandHandle.ExecuteCommandL( 
       
   252             EPhoneViewCreateCallHeader, 
       
   253             aCallId, 
       
   254             &callHeaderParam );
       
   255     
       
   256     }
       
   257 
       
   258 // ---------------------------------------------------------------------------
   226 // ---------------------------------------------------------------------------
   259 //  CPhoneCallHeaderManager::IsWaitingCallL
   227 //  CPhoneCallHeaderManager::IsWaitingCallL
   260 // ---------------------------------------------------------------------------
   228 // ---------------------------------------------------------------------------
   261 //
   229 //
   262 TBool CPhoneCallHeaderManager::IsWaitingCallL( const TInt aCallId  ) const
   230 TBool CPhoneCallHeaderManager::IsWaitingCallL( const TInt aCallId  ) const
   316     __LOGMETHODSTARTEND( EPhoneControl, "CPhoneCallHeaderManager::CallHeaderType() ");
   284     __LOGMETHODSTARTEND( EPhoneControl, "CPhoneCallHeaderManager::CallHeaderType() ");
   317     return iCallHeaderParam->CallHeaderType();            
   285     return iCallHeaderParam->CallHeaderType();            
   318     }
   286     }
   319 
   287 
   320 // ---------------------------------------------------------------------------
   288 // ---------------------------------------------------------------------------
   321 //  CPhoneCallHeaderManager::SetDivertIndication
       
   322 // ---------------------------------------------------------------------------
       
   323 //
       
   324 void CPhoneCallHeaderManager::SetDivertIndication( const TBool aDivertIndication )
       
   325     {
       
   326     __LOGMETHODSTARTEND( EPhoneControl, "CPhoneCallHeaderManager::SetDivertIndication()");
       
   327     iCallHeaderParam->SetDivertIndication( aDivertIndication );           
       
   328     }
       
   329 
       
   330 // ---------------------------------------------------------------------------
       
   331 // CPhoneCallHeaderManager::SetPhoneNumberAvailabilityL
   289 // CPhoneCallHeaderManager::SetPhoneNumberAvailabilityL
   332 // ---------------------------------------------------------------------------
   290 // ---------------------------------------------------------------------------
   333 //
   291 //
   334 void CPhoneCallHeaderManager::SetPhoneNumberAvailabilityL( 
   292 void CPhoneCallHeaderManager::SetPhoneNumberAvailabilityL( 
   335         const TInt aNumberLength,
   293         const TInt aNumberLength,