phoneapp/phoneuistates/src/cphoneconference.cpp
changeset 78 baacf668fe89
parent 76 cfea66083b62
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
    36 #include "tphonecmdparamcallheaderdata.h"
    36 #include "tphonecmdparamcallheaderdata.h"
    37 #include "tphonecmdparamkeyevent.h"
    37 #include "tphonecmdparamkeyevent.h"
    38 #include "phonestatedefinitions.h"
    38 #include "phonestatedefinitions.h"
    39 #include "tphonecmdparamglobalnote.h"
    39 #include "tphonecmdparamglobalnote.h"
    40 #include "phonestatedefinitionsgsm.h"
    40 #include "phonestatedefinitionsgsm.h"
    41 #include "tphonecmdparamcallstatedata.h"
       
    42 #include "cphonekeys.h"
    41 #include "cphonekeys.h"
    43 #include "phonelogger.h"
    42 #include "phonelogger.h"
       
    43 #include "phonecallutil.h"
    44 
    44 
    45 // ================= MEMBER FUNCTIONS =======================
    45 // ================= MEMBER FUNCTIONS =======================
    46 
    46 
    47 // C++ default constructor can NOT contain any code, that
    47 // C++ default constructor can NOT contain any code, that
    48 // might leave.
    48 // might leave.
   317             MakeStateTransitionToIdleL();
   317             MakeStateTransitionToIdleL();
   318             break;
   318             break;
   319             
   319             
   320         case EOneActiveCall:
   320         case EOneActiveCall:
   321             {
   321             {
   322             TPhoneCmdParamCallStateData callStateData;
   322             TInt callId = PhoneCallUtil::CallIdByState( EPEStateRinging );    
   323             callStateData.SetCallState( EPEStateRinging );
   323             if( callId > KErrNotFound )
   324             iViewCommandHandle->HandleCommandL(
       
   325                 EPhoneViewGetCallIdByState, &callStateData );
       
   326                 
       
   327             if( callStateData.CallId() > KErrNotFound )
       
   328                 {
   324                 {
   329                 UpdateUiCommands();
   325                 UpdateUiCommands();
   330                 iStateMachine->ChangeState( EPhoneStateWaitingInSingle );    
   326                 iStateMachine->ChangeState( EPhoneStateWaitingInSingle );    
   331                 }
   327                 }
   332             else
   328             else