locationrequestmgmt/locationserver/src/EPos_CPosSubSession.cpp
branchRCL_3
changeset 54 0c2046328c85
parent 52 29dbbeac905d
child 55 c92d4f3c47c5
equal deleted inserted replaced
52:29dbbeac905d 54:0c2046328c85
   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 #if defined __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC
   110 #if defined __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC
   110 	iLocationManagementSupported = EFalse;
   111 	iLocationManagementSupported = EFalse;
   111 #else
   112 #else
   112 #ifdef SYMBIAN_FEATURE_MANAGER
   113 #ifdef SYMBIAN_FEATURE_MANAGER
   113 	iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement);
   114 	iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement);
   114 #else
   115 #else
   115 	__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
   116 #endif // SYMBIAN_FEATURE_MANAGER
   117 #endif // SYMBIAN_FEATURE_MANAGER
   117 #endif // __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC
   118 #endif // __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC
   118 
       
   119 	
   119 	
   120 	if(iLocationManagementSupported)
   120 	if(iLocationManagementSupported)
   121 		{
   121 		{
   122 		iAdmin = CLbsAdmin::NewL();
   122 		iAdmin = CLbsAdmin::NewL();
   123 		// connect to network registration status interface
   123 		// connect to network registration status interface