locationrequestmgmt/locationserver/src/EPos_CPositionRequest.cpp
branchRCL_3
changeset 9 8ffb8a35ea2f
parent 0 9cfd9a3ee49c
child 27 aadfb18aaac1
child 48 81c9bee26a45
equal deleted inserted replaced
4:03e0f2627e7a 9:8ffb8a35ea2f
    28 #include "EPos_CPositionRequest.h"
    28 #include "EPos_CPositionRequest.h"
    29 #include "epos_cposmodulessettings.h"
    29 #include "epos_cposmodulessettings.h"
    30 
    30 
    31 //TODO Verify
    31 //TODO Verify
    32 #include "EPos_CPosLocMonitorReqHandlerHub.h"
    32 #include "EPos_CPosLocMonitorReqHandlerHub.h"
       
    33 #include "OstTraceDefinitions.h"
       
    34 #ifdef OST_TRACE_COMPILER_IN_USE
       
    35 #include "EPos_CPositionRequestTraces.h"
       
    36 #endif
       
    37 
    33 
    38 
    34 
    39 
    35 
    40 
    36 // CONSTANTS
    41 // CONSTANTS
    37 #ifdef _DEBUG
    42 #ifdef _DEBUG
   433 /**
   438 /**
   434  * From CActive
   439  * From CActive
   435  */
   440  */
   436 void CPositionRequest::DoCancel()
   441 void CPositionRequest::DoCancel()
   437     {
   442     {
       
   443     OstTraceFunctionEntry1( CPOSITIONREQUEST_DOCANCEL_ENTRY, this );
   438     LBS_RDEBUG_VAR_INT("CPositionRequest::DoCancel() iRequestPhase", iRequestPhase);
   444     LBS_RDEBUG_VAR_INT("CPositionRequest::DoCancel() iRequestPhase", iRequestPhase);
   439     iTimeoutTimer->Cancel();
   445     iTimeoutTimer->Cancel();
   440 
   446 
   441     switch (iRequestPhase)
   447     switch (iRequestPhase)
   442         {
   448         {
   480             StopTracking();
   486             StopTracking();
   481             }
   487             }
   482         }
   488         }
   483 
   489 
   484     iRequestPhase = EPosReqInactive;
   490     iRequestPhase = EPosReqInactive;
       
   491     OstTraceFunctionExit1( CPOSITIONREQUEST_DOCANCEL_EXIT, this );
   485     }
   492     }
   486 
   493 
   487 
   494 
   488 void CPositionRequest::CompleteSelf(TInt aReason)
   495 void CPositionRequest::CompleteSelf(TInt aReason)
   489     {
   496     {