phoneapp/phoneuiutils/src/cphoneresourceresolverbase.cpp
changeset 22 6bb1b21d2484
parent 21 92ab7f8d0eab
child 51 f39ed5e045e0
equal deleted inserted replaced
21:92ab7f8d0eab 22:6bb1b21d2484
    29 #include "phoneconstants.h"
    29 #include "phoneconstants.h"
    30 #include "phonerssbase.h"
    30 #include "phonerssbase.h"
    31 #include "phonelogger.h"
    31 #include "phonelogger.h"
    32 #include "cphonecenrepproxy.h"
    32 #include "cphonecenrepproxy.h"
    33 
    33 
    34 // <-- QT PHONE START --> 
       
    35 #include "phoneresourceids.h"
    34 #include "phoneresourceids.h"
    36 //#include <phoneui.rsg>
       
    37 //#include <callhandlingui.rsg>
       
    38 //#include <phoneuitouch.rsg>
       
    39 // <-- QT PHONE END --> 
       
    40 #include "tphonetouchbuttonconfig.h"
    35 #include "tphonetouchbuttonconfig.h"
    41 #include <data_caging_path_literals.hrh>
    36 #include <data_caging_path_literals.hrh>
    42 
    37 
    43 // ================= MEMBER FUNCTIONS =======================
    38 // ================= MEMBER FUNCTIONS =======================
    44 
    39 
   653                 }
   648                 }
   654             break;
   649             break;
   655 
   650 
   656         case EPhoneCallHandlingInCallHandsetCBA:
   651         case EPhoneCallHandlingInCallHandsetCBA:
   657             if ( iVariationFlags & EOnscreenDialer )
   652             if ( iVariationFlags & EOnscreenDialer )
   658 // <-- QT PHONE START -->                
       
   659 /* 
       
   660                 {
       
   661                 retVal = R_PHONEUI_INCALL_DIALER_CBA;
       
   662                 }
       
   663             else
       
   664 */
       
   665 // <-- QT PHONE END -->                
       
   666                 {
   653                 {
   667                 retVal = R_PHONEUI_CALLHANDLING_INCALL_HANDSET_CBA;
   654                 retVal = R_PHONEUI_CALLHANDLING_INCALL_HANDSET_CBA;
   668                 }
   655                 }
   669             break;
   656             break;
   670 
   657 
   671         case EPhoneCallHandlingInCallBtaaCBA:
   658         case EPhoneCallHandlingInCallBtaaCBA:
   672             if ( iVariationFlags & EOnscreenDialer )
   659             if ( iVariationFlags & EOnscreenDialer )
   673 // <-- QT PHONE START -->                
       
   674 /* 
       
   675                 {
       
   676                 retVal = R_PHONEUI_INCALL_DIALER_CBA;
       
   677                 }
       
   678             else
       
   679 */
       
   680 // <-- QT PHONE END -->                
       
   681                 {
   660                 {
   682                 retVal = R_PHONEUI_CALLHANDLING_INCALL_BTAA_CBA;
   661                 retVal = R_PHONEUI_CALLHANDLING_INCALL_BTAA_CBA;
   683                 }
   662                 }
   684 
   663 
   685             break;
   664             break;
   686 
   665 
   687         case EPhoneCallHandlingEmergencyCBA:
   666         case EPhoneCallHandlingEmergencyCBA:
   688 // <-- QT PHONE START -->        
       
   689 /*            if ( iVariationFlags & EOnscreenDialer )
       
   690                 {
       
   691                 retVal = R_PHONEUI_INCALL_DIALER_CBA;
       
   692                 }
       
   693             else
       
   694 */            
       
   695 // <-- QT PHONE END -->              
       
   696                 {
   667                 {
   697                 retVal = R_PHONEUI_CALLHANDLING_EMERGENCY_CBA;
   668                 retVal = R_PHONEUI_CALLHANDLING_EMERGENCY_CBA;
   698                 }
   669                 }
   699 
   670 
   700             break;
   671             break;
  1004         case EPhoneOutgoingVideoCallLabelShort:
   975         case EPhoneOutgoingVideoCallLabelShort:
  1005             retVal = R_PHONEUI_OUT_GOING_VIDEO_CALL_SHORT;
   976             retVal = R_PHONEUI_OUT_GOING_VIDEO_CALL_SHORT;
  1006             break;
   977             break;
  1007 
   978 
  1008         case EPhoneCallDurationFormatString:
   979         case EPhoneCallDurationFormatString:
  1009 // <-- QT PHONE START --> 
       
  1010             retVal = R_PHONEUI_TIME_DURAT_LONG_WITH_ZERO;
   980             retVal = R_PHONEUI_TIME_DURAT_LONG_WITH_ZERO;
  1011 // <-- QT PHONE END --> 
       
  1012             break;
   981             break;
  1013 
   982 
  1014         case EPhoneDtmfNumberQuery:
   983         case EPhoneDtmfNumberQuery:
  1015             retVal = R_PHONEUI_SEND_DTMF_QUERY;
   984             retVal = R_PHONEUI_SEND_DTMF_QUERY;
  1016             break;
   985             break;
  1533             break;
  1502             break;
  1534 
  1503 
  1535         case EPhoneCallHandlingEmergencyInCallNoOptions:
  1504         case EPhoneCallHandlingEmergencyInCallNoOptions:
  1536             retVal = R_PHONEUI_CALLHANDLING_EMERGENCY_INCALL_NO_OPTIONS;
  1505             retVal = R_PHONEUI_CALLHANDLING_EMERGENCY_INCALL_NO_OPTIONS;
  1537             break;
  1506             break;
  1538 // <-- QT PHONE START -->
  1507 
  1539         case EPhoneIncallHeldButtons:
  1508         case EPhoneIncallHeldButtons:
  1540             retVal = R_PHONEUI_INCALL_HELD_BUTTONS;
  1509             retVal = R_PHONEUI_INCALL_HELD_BUTTONS;
  1541             break;
  1510             break;
  1542             
  1511             
  1543         case EPhoneAttemptingEmergencyText:
  1512         case EPhoneAttemptingEmergencyText:
  1544             retVal = R_PHONEUI_ATTEMPTING_EMERGENCY_CALL_TEXT;
  1513             retVal = R_PHONEUI_ATTEMPTING_EMERGENCY_CALL_TEXT;
  1545             break;
  1514             break;
  1546 // <-- QT PHONE END -->
       
  1547 
  1515 
  1548         default:
  1516         default:
  1549             Panic( EPhoneUtilsResourcePhoneappNotFound );
  1517             Panic( EPhoneUtilsResourcePhoneappNotFound );
  1550             break;
  1518             break;
  1551         }
  1519         }