phoneapp/phoneuistates/src/cphonegsmincall.cpp
changeset 1 838b0a10d15b
parent 0 5f000ab63145
child 9 8871b09be73b
child 21 92ab7f8d0eab
equal deleted inserted replaced
0:5f000ab63145 1:838b0a10d15b
   216 
   216 
   217 // -----------------------------------------------------------
   217 // -----------------------------------------------------------
   218 // CPhoneGsmInCall::HandleColpNoteL
   218 // CPhoneGsmInCall::HandleColpNoteL
   219 // -----------------------------------------------------------
   219 // -----------------------------------------------------------
   220 //
   220 //
   221 void CPhoneGsmInCall::HandleColpNoteL( 
   221 void CPhoneGsmInCall::HandleColpNoteL( TInt aCallId )
   222     TInt aCallId )
       
   223     {
   222     {
   224     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneGsmInCall::HandleColpNoteL() ");
   223     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneGsmInCall::HandleColpNoteL() ");
   225 
   224 
   226     MPEEngineInfo* EngineInfo = CPhoneState::iStateMachine->PhoneEngineInfo();
   225     MPEEngineInfo* EngineInfo = CPhoneState::iStateMachine->PhoneEngineInfo();
   227 
   226     
   228     if ( EngineInfo->RemoteColpNumber( aCallId ).Length() )
   227     TPhoneCmdParamGlobalNote globalNoteParam;
   229         {
   228     globalNoteParam.SetText(  EngineInfo->RemoteColpNumber( aCallId ) ); 
   230         TPhoneCmdParamGlobalNote globalNoteParam;
   229     globalNoteParam.SetType( EAknGlobalInformationNote );
   231 	    globalNoteParam.SetText(  EngineInfo->RemoteColpNumber( aCallId ) ); 
   230     globalNoteParam.SetTextResourceId( 
   232 	    globalNoteParam.SetType( EAknGlobalInformationNote );
   231             CPhoneMainResourceResolver::Instance()->
   233 	    globalNoteParam.SetTextResourceId( 
       
   234 	        CPhoneMainResourceResolver::Instance()->
       
   235 	        ResolveResourceID( EPhoneColpConnected ) );
   232 	        ResolveResourceID( EPhoneColpConnected ) );
   236 	    globalNoteParam.SetTone( EAvkonSIDInformationTone );
   233     globalNoteParam.SetTone( EAvkonSIDInformationTone );
   237 	        
   234 	        
   238 	    iViewCommandHandle->ExecuteCommandL( 
   235     iViewCommandHandle->ExecuteCommandL( 
   239 	            EPhoneViewShowGlobalNote, &globalNoteParam );
   236             EPhoneViewShowGlobalNote, &globalNoteParam );
   240         }
   237     
   241     }
   238     }
   242 
   239 
   243 // -----------------------------------------------------------
   240 // -----------------------------------------------------------
   244 // CPhoneGsmInCall::BringIncomingToForegroundL()
   241 // CPhoneGsmInCall::BringIncomingToForegroundL()
   245 // -----------------------------------------------------------
   242 // -----------------------------------------------------------