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" |
|
59 |
58 |
60 #include "mphonecustomization.h" |
59 #include "mphonecustomization.h" |
61 |
60 |
62 // ================= MEMBER FUNCTIONS ======================= |
61 // ================= MEMBER FUNCTIONS ======================= |
63 |
62 |
552 iBubbleManager->SetCNAP( |
551 iBubbleManager->SetCNAP( |
553 aBubble, |
552 aBubble, |
554 aCallHeaderParam->CNAPText(), |
553 aCallHeaderParam->CNAPText(), |
555 aCallHeaderParam->CNAPTextClippingDirection() ); |
554 aCallHeaderParam->CNAPTextClippingDirection() ); |
556 |
555 |
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 |
|
565 iBubbleManager->SetCallFlags( aBubble, aCallHeaderParam->CallFlag() ); |
556 iBubbleManager->SetCallFlags( aBubble, aCallHeaderParam->CallFlag() ); |
566 |
557 |
567 // Set ciphering indicator |
558 // Set ciphering indicator |
568 iBubbleManager->SetCallFlag( |
559 iBubbleManager->SetCallFlag( |
569 aBubble, |
560 aBubble, |
660 "CPhoneBubbleWrapper::GetNumberEntryContent(%S)", |
651 "CPhoneBubbleWrapper::GetNumberEntryContent(%S)", |
661 entryContent->String() ); |
652 entryContent->String() ); |
662 |
653 |
663 AknTextUtils::ConvertDigitsTo( *entryContent->String(), EDigitTypeWestern ); |
654 AknTextUtils::ConvertDigitsTo( *entryContent->String(), EDigitTypeWestern ); |
664 |
655 |
665 if ( FeatureManager::FeatureSupported( KFeatureIdFfHomeScreenVanityDialing ) ) |
|
666 { |
|
667 PhoneVanityDialingUtils::DoVanityNumberConversion( *entryContent->String() ); |
|
668 } |
|
669 |
|
670 __PHONELOG1( EBasic, EPhoneUIView, |
656 __PHONELOG1( EBasic, EPhoneUIView, |
671 "CPhoneBubbleWrapper::GetNumberEntryContent(%S)", |
657 "CPhoneBubbleWrapper::GetNumberEntryContent(%S)", |
672 entryContent->String() ); |
658 entryContent->String() ); |
673 } |
659 } |
674 |
660 |
675 // ----------------------------------------------------------------------------- |
661 // ----------------------------------------------------------------------------- |
676 // CPhoneBubbleWrapper.::GetLocalizedNumberEntryContent |
662 // CPhoneBubbleWrapper.::GetNumberEntryContent |
677 // ----------------------------------------------------------------------------- |
663 // ----------------------------------------------------------------------------- |
678 // |
664 // |
679 void CPhoneBubbleWrapper::GetLocalizedNumberEntryContent( |
665 void CPhoneBubbleWrapper::GetLocalizedNumberEntryContent( |
680 TPhoneCommandParam* aCommandParam ) |
666 TPhoneCommandParam* aCommandParam ) |
681 { |
667 { |
1392 // Otherwise we also have to clear the conference. |
1379 // Otherwise we also have to clear the conference. |
1393 { |
1380 { |
1394 RemoveConferenceL(); |
1381 RemoveConferenceL(); |
1395 } |
1382 } |
1396 |
1383 |
1397 iBubbleManager->RemoveCallHeader( bubble ); |
1384 iBubbleManager->RemoveCallHeader( bubble ); |
1398 iMapping->RemoveFromMapping( aCallId ); |
1385 iMapping->RemoveFromMapping( aCallId ); |
1399 iBubbleManager->EndChanges(); |
1386 iBubbleManager->EndChanges(); |
1400 } |
1387 } |
1401 } |
1388 } |
1402 |
1389 |
1403 // --------------------------------------------------------- |
1390 // --------------------------------------------------------- |
1404 // CPhoneBubbleWrapper::FindParticipantPosition |
1391 // CPhoneBubbleWrapper::FindParticipantPosition |