vtuis/lcvtplugin/src/states/tlcvtstaterunning.cpp
changeset 44 b6ab36974f47
parent 27 dcbddbbaf8fd
equal deleted inserted replaced
43:fc383c0181e8 44:b6ab36974f47
   231 // Starts shutdown with command to engine.
   231 // Starts shutdown with command to engine.
   232 // -----------------------------------------------------------------------------
   232 // -----------------------------------------------------------------------------
   233 //
   233 //
   234 void TLcVtStateRunning::ShutdownWithEngineCommandL( const TInt aCommand )
   234 void TLcVtStateRunning::ShutdownWithEngineCommandL( const TInt aCommand )
   235     {
   235     {
   236     __VTPRINTENTER(
   236     __VTPRINTENTER( "TLcVtStateRunning.ShutdownWithEngineCommandL" )
   237         "TLcVtStateRunning.ShutdownWithEngineCommandL" )
   237 
   238     TLcVtStateBase* resetState =
   238     TLcVtStateBase* resetState =
   239         TLcVtStateResetting::InstanceL( iCtx, iUiStates, aCommand ); 
   239         TLcVtStateResetting::InstanceL( iCtx, iUiStates, aCommand ); 
   240     CLcVtAppShutter* shutter = CLcVtAppShutter::InstanceL( *resetState );
   240     CLcVtAppShutter* shutter = CLcVtAppShutter::InstanceL( *resetState );
   241 
   241 
   242     // open resetting state, handles engine command request/reply
   242     if ( shutter )
   243     ChangeStateL( *resetState );
   243     {
   244 
   244         // open resetting state, handles engine command request/reply
   245     __VTPRINTEXIT( "TLcVtStateRunning.ShutdownWithEngineCommandL" )
   245         ChangeStateL( *resetState );
       
   246 #ifdef _DEBUG
       
   247         __VTPRINTEXIT( "TLcVtStateRunning.ShutdownWithEngineCommandL 1" )
       
   248         return;
       
   249 #endif
       
   250     }    
       
   251    
       
   252     __VTPRINTEXIT( "TLcVtStateRunning.ShutdownWithEngineCommandL 0" )
   246     }
   253     }
   247 
   254 
   248 // -----------------------------------------------------------------------------
   255 // -----------------------------------------------------------------------------
   249 // TLcVtStateRunning::DialEmergencyCallL
   256 // TLcVtStateRunning::DialEmergencyCallL
   250 // -----------------------------------------------------------------------------
   257 // -----------------------------------------------------------------------------