phoneapp/phoneuiview/src/cphonebubblewrapper.cpp
branchRCL_3
changeset 58 40a3f856b14d
parent 57 94dc1107e8b2
equal deleted inserted replaced
57:94dc1107e8b2 58:40a3f856b14d
    53 #include "phoneui.pan"
    53 #include "phoneui.pan"
    54 #include "mnumberentry.h"
    54 #include "mnumberentry.h"
    55 #include "mphonenumberentry.h"
    55 #include "mphonenumberentry.h"
    56 #include "cphonenumberentry.h"
    56 #include "cphonenumberentry.h"
    57 #include "phonebubbleextensionmanager.h"
    57 #include "phonebubbleextensionmanager.h"
       
    58 #include "phonevanitydialingutils.h"
    58 
    59 
    59 #include "mphonecustomization.h"
    60 #include "mphonecustomization.h"
    60 
    61 
    61 // ================= MEMBER FUNCTIONS =======================
    62 // ================= MEMBER FUNCTIONS =======================
    62 
    63 
   551     iBubbleManager->SetCNAP(
   552     iBubbleManager->SetCNAP(
   552             aBubble,
   553             aBubble,
   553             aCallHeaderParam->CNAPText(),
   554             aCallHeaderParam->CNAPText(),
   554             aCallHeaderParam->CNAPTextClippingDirection() );
   555             aCallHeaderParam->CNAPTextClippingDirection() );
   555 
   556 
       
   557     // Set CLI type to be used in conference call participant list
       
   558     CBubbleManager::TBubbleParticipantListCLI partipantCli =
       
   559         ( aCallHeaderParam->ParticipantCLI() ==
       
   560           TPhoneCmdParamCallHeaderData::EPhoneParticipantCNAPText ) ?
       
   561         CBubbleManager::EParticipantListCNAP :
       
   562         CBubbleManager::EParticipantListCLIText;
       
   563     iBubbleManager->SetParticipantListCLI( aBubble, partipantCli );
       
   564 
   556     iBubbleManager->SetCallFlags( aBubble, aCallHeaderParam->CallFlag() );
   565     iBubbleManager->SetCallFlags( aBubble, aCallHeaderParam->CallFlag() );
   557 
   566 
   558     // Set ciphering indicator
   567     // Set ciphering indicator
   559     iBubbleManager->SetCallFlag(
   568     iBubbleManager->SetCallFlag(
   560         aBubble,
   569         aBubble,
   651         "CPhoneBubbleWrapper::GetNumberEntryContent(%S)",
   660         "CPhoneBubbleWrapper::GetNumberEntryContent(%S)",
   652         entryContent->String() );
   661         entryContent->String() );
   653 
   662 
   654     AknTextUtils::ConvertDigitsTo( *entryContent->String(), EDigitTypeWestern );
   663     AknTextUtils::ConvertDigitsTo( *entryContent->String(), EDigitTypeWestern );
   655 
   664 
       
   665     if ( FeatureManager::FeatureSupported( KFeatureIdFfHomeScreenVanityDialing ) )
       
   666         {
       
   667         PhoneVanityDialingUtils::DoVanityNumberConversion( *entryContent->String() );
       
   668         }
       
   669     
   656     __PHONELOG1( EBasic, EPhoneUIView,
   670     __PHONELOG1( EBasic, EPhoneUIView,
   657         "CPhoneBubbleWrapper::GetNumberEntryContent(%S)",
   671         "CPhoneBubbleWrapper::GetNumberEntryContent(%S)",
   658         entryContent->String() );
   672         entryContent->String() );
   659     }
   673     }
   660 
   674 
   661 // -----------------------------------------------------------------------------
   675 // -----------------------------------------------------------------------------
   662 // CPhoneBubbleWrapper.::GetNumberEntryContent
   676 // CPhoneBubbleWrapper.::GetLocalizedNumberEntryContent
   663 // -----------------------------------------------------------------------------
   677 // -----------------------------------------------------------------------------
   664 //
   678 //
   665 void CPhoneBubbleWrapper::GetLocalizedNumberEntryContent(
   679 void CPhoneBubbleWrapper::GetLocalizedNumberEntryContent(
   666     TPhoneCommandParam* aCommandParam )
   680     TPhoneCommandParam* aCommandParam )
   667     {
   681     {