phoneapp/phoneuistates/src/cphonecallsetup.cpp
changeset 22 6bb1b21d2484
parent 21 92ab7f8d0eab
child 30 ebdbd102c78a
equal deleted inserted replaced
21:92ab7f8d0eab 22:6bb1b21d2484
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // INCLUDES
    19 // INCLUDES
    20 #include <MediatorDomainUIDs.h>
    20 #include <MediatorDomainUIDs.h>
    21 // <-- QT PHONE START --> 
       
    22 //#include <videotelcontrolmediatorapi.h>
       
    23 // <-- QT PHONE END --> 
       
    24 #include "cphonecallsetup.h"
    21 #include "cphonecallsetup.h"
    25 #include "mphonestatemachine.h"
    22 #include "mphonestatemachine.h"
    26 #include "tphonecmdparamboolean.h"
    23 #include "tphonecmdparamboolean.h"
    27 #include "tphonecmdparamcallheaderdata.h"
    24 #include "tphonecmdparamcallheaderdata.h"
    28 #include "phonestatedefinitionsgsm.h"
    25 #include "phonestatedefinitionsgsm.h"
   161     TPhoneCmdParamBoolean globalNotifierParam;
   158     TPhoneCmdParamBoolean globalNotifierParam;
   162     globalNotifierParam.SetBoolean( EFalse );
   159     globalNotifierParam.SetBoolean( EFalse );
   163     iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled,
   160     iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled,
   164         &globalNotifierParam );
   161         &globalNotifierParam );
   165 
   162 
       
   163     // Home screen to foreground after call
       
   164     TPhoneCmdParamBoolean booleanParam;
       
   165     booleanParam.SetBoolean( ETrue );
       
   166     iViewCommandHandle->ExecuteCommand( EPhoneViewHsToForegroundAfterCall,
       
   167         &booleanParam );
       
   168     
   166     // Stop capturing keys
   169     // Stop capturing keys
   167     CaptureKeysDuringCallNotificationL( EFalse );
   170     CaptureKeysDuringCallNotificationL( EFalse );
   168     
   171     
   169     TPhoneCmdParamCallHeaderData callHeaderParam;
   172     TPhoneCmdParamCallHeaderData callHeaderParam;
   170     callHeaderParam.SetCallState( EPEStateConnecting );
   173     callHeaderParam.SetCallState( EPEStateConnecting );