phoneapp/phoneuicontrol/src/cphonecallheadermanager.cpp
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 22 6bb1b21d2484
parent 45 6b911d05207e
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
   351             aCallHeaderData->SetShortLabelText( shortLabelText );        
   351             aCallHeaderData->SetShortLabelText( shortLabelText );        
   352             }
   352             }
   353         }
   353         }
   354     }
   354     }
   355 
   355 
   356 // -----------------------------------------------------------
       
   357 // CPhoneCallHeaderManager::GetInCallNumberTextL
       
   358 // -----------------------------------------------------------
       
   359 //
       
   360 void CPhoneCallHeaderManager::GetInCallNumberTextL( 
       
   361         TInt aCallId, 
       
   362         TDes& aData ) const
       
   363     {
       
   364     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneCallHeaderManager::GetInCallNumberTextL( ) ");    
       
   365     // Display "Call n", n = callId-8 for video and callId+1 for voice call
       
   366     HBufC* tmp = StringLoader::LoadL( 
       
   367         CPhoneMainResourceResolver::Instance()->
       
   368         ResolveResourceID( EPhoneInCallNumberText ), 
       
   369         aCallId + ( IsVideoCall( aCallId ) ? -8 : 1 ), 
       
   370         CCoeEnv::Static() );
       
   371     
       
   372     aData = *tmp;
       
   373     delete tmp;
       
   374     }
       
   375