locationrequestmgmt/locationserver/src/EPos_CPosSubSession.cpp
branchRCL_3
changeset 65 a796fdeeb33c
parent 55 c92d4f3c47c5
equal deleted inserted replaced
58:87622fad6b51 65:a796fdeeb33c
   104 	//SetPsyDefaultUpdateTimeOut was called in the CPositionRequest::NewL
   104 	//SetPsyDefaultUpdateTimeOut was called in the CPositionRequest::NewL
   105 	//See SetPsyDefaultUpdateTimeOut implementation
   105 	//See SetPsyDefaultUpdateTimeOut implementation
   106 	SetPsyDefaultUpdateTimeOut(iPsyDefaultUpdateTimeOut);
   106 	SetPsyDefaultUpdateTimeOut(iPsyDefaultUpdateTimeOut);
   107 
   107 
   108 	iLocMonitorReqHandlerHub = &aLocMonitorReqHandlerHub;
   108 	iLocMonitorReqHandlerHub = &aLocMonitorReqHandlerHub;
   109 #if defined __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC
   109     
   110 	iLocationManagementSupported = EFalse;
       
   111 #else
       
   112 #ifdef SYMBIAN_FEATURE_MANAGER
   110 #ifdef SYMBIAN_FEATURE_MANAGER
   113 	iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement);
   111 	iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement);
   114 #else
   112 #else
   115 	__ASSERT_ALWAYS(EFalse, User::Invariant());	// Would happen on older versions of symbian OS if this code ever backported
   113 	__ASSERT_ALWAYS(EFalse, User::Invariant());	// Would happen on older versions of symbian OS if this code ever backported
   116 #endif // SYMBIAN_FEATURE_MANAGER
   114 #endif    
   117 #endif // __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC
       
   118 
       
   119 	
   115 	
   120 	if(iLocationManagementSupported)
   116 	if(iLocationManagementSupported)
   121 		{
   117 		{
   122 		iAdmin = CLbsAdmin::NewL();
   118 		iAdmin = CLbsAdmin::NewL();
   123 		// connect to network registration status interface
   119 		// connect to network registration status interface