locationrequestmgmt/locationserver/src/EPos_CPosSubSession.cpp
changeset 48 81c9bee26a45
parent 0 9cfd9a3ee49c
equal deleted inserted replaced
23:2965a06983dc 48:81c9bee26a45
   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     
   109 
       
   110 #if defined __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC
       
   111 	iLocationManagementSupported = EFalse;
       
   112 #else
   110 #ifdef SYMBIAN_FEATURE_MANAGER
   113 #ifdef SYMBIAN_FEATURE_MANAGER
   111 	iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement);
   114 	iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement);
   112 #else
   115 #else
   113 	__ASSERT_ALWAYS(EFalse, User::Invariant());	// Would happen on older versions of symbian OS if this code ever backported
   116 	__ASSERT_ALWAYS(EFalse, User::Invariant());	// Would happen on older versions of symbian OS if this code ever backported
   114 #endif    
   117 #endif // SYMBIAN_FEATURE_MANAGER
       
   118 #endif // __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC
   115 	
   119 	
   116 	if(iLocationManagementSupported)
   120 	if(iLocationManagementSupported)
   117 		{
   121 		{
   118 		iAdmin = CLbsAdmin::NewL();
   122 		iAdmin = CLbsAdmin::NewL();
   119 		// connect to network registration status interface
   123 		// connect to network registration status interface