phoneapp/phoneuicontrol/src/cphonestateincall.cpp
branchRCL_3
changeset 3 8871b09be73b
parent 0 5f000ab63145
child 4 24062c24fe38
equal deleted inserted replaced
2:c84cf270c54f 3:8871b09be73b
    49 #include "tphonecmdparamcallheaderdata.h"
    49 #include "tphonecmdparamcallheaderdata.h"
    50 #include "cphonemediatorfactory.h"
    50 #include "cphonemediatorfactory.h"
    51 #include "cphonemediatorsender.h"
    51 #include "cphonemediatorsender.h"
    52 #include "cphoneterminateallconnectionscommand.h"
    52 #include "cphoneterminateallconnectionscommand.h"
    53 #include "mphonecustomization.h"
    53 #include "mphonecustomization.h"
       
    54 #include "easydialingcommands.hrh"
       
    55 
    54 
    56 
    55 // ================= MEMBER FUNCTIONS =======================
    57 // ================= MEMBER FUNCTIONS =======================
    56 
    58 
    57 // C++ default constructor can NOT contain any code, that
    59 // C++ default constructor can NOT contain any code, that
    58 // might leave.
    60 // might leave.
   144                 {
   146                 {
   145                 SendDtmfL();    
   147                 SendDtmfL();    
   146                 }
   148                 }
   147             else if ( IsNumberEntryVisibleL() )
   149             else if ( IsNumberEntryVisibleL() )
   148                 {
   150                 {
   149                 HandleCommandL( EPhoneCmdOptions );
   151                 if ( IsDialingExtensionInFocusL() )
       
   152                     {
       
   153                     iViewCommandHandle->HandleCommandL(
       
   154                                        EEasyDialingEnterKeyAction );
       
   155                     }
       
   156                 else
       
   157                     {
       
   158                     HandleCommandL( EPhoneCmdOptions );
       
   159                     }
   150                 }
   160                 }
   151             break;
   161             break;
   152 #endif            
   162 #endif            
   153           
   163           
   154         default:
   164         default:
   760                 }
   770                 }
   761             break;
   771             break;
   762 
   772 
   763         case EPhoneCmdEnd:
   773         case EPhoneCmdEnd:
   764             CloseDtmfQueryL();
   774             CloseDtmfQueryL();
   765             CPhoneState::DisconnectCallL();
   775             DisconnectCallL();
   766             break;
   776             break;
   767             
   777             
   768         // 'End all calls' from menu
   778         // 'End all calls' from menu
   769         case EPhoneInCallCmdEndAllCalls:
   779         case EPhoneInCallCmdEndAllCalls:
   770             iStateMachine->SendPhoneEngineMessage(
   780             iStateMachine->SendPhoneEngineMessage(