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 |
|
110 #if defined __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC |
109 #if defined __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC |
111 iLocationManagementSupported = EFalse; |
110 iLocationManagementSupported = EFalse; |
112 #else |
111 #else |
113 #ifdef SYMBIAN_FEATURE_MANAGER |
112 #ifdef SYMBIAN_FEATURE_MANAGER |
114 iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement); |
113 iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement); |
115 #else |
114 #else |
116 __ASSERT_ALWAYS(EFalse, User::Invariant()); // Would happen on older versions of symbian OS if this code ever backported |
115 __ASSERT_ALWAYS(EFalse, User::Invariant()); // Would happen on older versions of symbian OS if this code ever backported |
117 #endif // SYMBIAN_FEATURE_MANAGER |
116 #endif // SYMBIAN_FEATURE_MANAGER |
118 #endif // __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC |
117 #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 |