equal
deleted
inserted
replaced
150 RProcess process; |
150 RProcess process; |
151 iCloseDownRequestDetector = CLbsCloseDownRequestDetector::NewL(this, process.SecureId()); |
151 iCloseDownRequestDetector = CLbsCloseDownRequestDetector::NewL(this, process.SecureId()); |
152 |
152 |
153 iAdmin = CLbsAdmin::NewL(); |
153 iAdmin = CLbsAdmin::NewL(); |
154 |
154 |
|
155 #if defined __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC |
|
156 TBool locationManagementSupported(EFalse); |
|
157 #else |
155 #ifdef SYMBIAN_FEATURE_MANAGER |
158 #ifdef SYMBIAN_FEATURE_MANAGER |
156 TBool locationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement); |
159 TBool locationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement); |
157 #else |
160 #else |
158 TBool locationManagementSupported(ETrue); |
161 TBool locationManagementSupported(ETrue); |
159 #endif |
162 #endif // SYMBIAN_FEATURE_MANAGER |
|
163 #endif // __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC |
|
164 |
160 if(locationManagementSupported) |
165 if(locationManagementSupported) |
161 { |
166 { |
162 iNetworkLocationChannel = CNetworkLocationChannel::NewL(*this); |
167 iNetworkLocationChannel = CNetworkLocationChannel::NewL(*this); |
163 iAgpsChannel = CAgpsChannel::NewL(*this); |
168 iAgpsChannel = CAgpsChannel::NewL(*this); |
164 iNetworkRegistrationStatusMonitor = CNetworkRegistrationStatusMonitor::NewL(*this); |
169 iNetworkRegistrationStatusMonitor = CNetworkRegistrationStatusMonitor::NewL(*this); |