equal
deleted
inserted
replaced
177 /* |
177 /* |
178 * checks if silent connection is allowed |
178 * checks if silent connection is allowed |
179 * @return ETrue if silent connection is allowed |
179 * @return ETrue if silent connection is allowed |
180 */ |
180 */ |
181 TBool SilentConnectionAllowed(); |
181 TBool SilentConnectionAllowed(); |
182 |
182 |
183 private: |
183 #ifdef REVERSEGEOCODE_UNIT_TESTCASE |
|
184 public: |
|
185 #else |
|
186 private: |
|
187 #endif |
184 /* |
188 /* |
185 * Perform the second phase construction of a CClientEngine object. |
189 * Perform the second phase construction of a CClientEngine object. |
186 */ |
190 */ |
187 void ConstructL(); |
191 void ConstructL(); |
188 |
192 |
206 * Sets up the connection |
210 * Sets up the connection |
207 * @param aOption The connection option |
211 * @param aOption The connection option |
208 */ |
212 */ |
209 void SetupConnectionL( const TConnectionOption aOption ); |
213 void SetupConnectionL( const TConnectionOption aOption ); |
210 |
214 |
211 private: |
215 #ifdef REVERSEGEOCODE_UNIT_TESTCASE |
|
216 public: |
|
217 #else |
|
218 private: |
|
219 #endif |
212 //From MHTTPSessionEventCallback |
220 //From MHTTPSessionEventCallback |
213 /* |
221 /* |
214 * Called by framework to notify about transaction events. |
222 * Called by framework to notify about transaction events. |
215 * |
223 * |
216 * @param aTransaction Transaction, where the event occured. |
224 * @param aTransaction Transaction, where the event occured. |
229 * some other error value. Returning error value causes causes |
237 * some other error value. Returning error value causes causes |
230 * HTTP-CORE 6 panic. |
238 * HTTP-CORE 6 panic. |
231 */ |
239 */ |
232 TInt MHFRunError( TInt aError, RHTTPTransaction aTransaction, const THTTPEvent& aEvent ); |
240 TInt MHFRunError( TInt aError, RHTTPTransaction aTransaction, const THTTPEvent& aEvent ); |
233 |
241 |
234 private: |
242 |
|
243 #ifdef REVERSEGEOCODE_UNIT_TESTCASE |
|
244 public: |
|
245 #else |
|
246 private: |
|
247 #endif |
235 // from MMobilityProtocolResp |
248 // from MMobilityProtocolResp |
236 void PreferredCarrierAvailable( TAccessPointInfo aOldAPInfo, |
249 void PreferredCarrierAvailable( TAccessPointInfo aOldAPInfo, |
237 TAccessPointInfo aNewAPInfo, |
250 TAccessPointInfo aNewAPInfo, |
238 TBool aIsUpgrade, |
251 TBool aIsUpgrade, |
239 TBool aIsSeamless ); |
252 TBool aIsSeamless ); |
244 TMobileRoamingStatus UeRegNetworkStatus(); |
257 TMobileRoamingStatus UeRegNetworkStatus(); |
245 TBool IsVisitorNetwork(const TMobileRoamingStatus& aRoamingStatus) const; |
258 TBool IsVisitorNetwork(const TMobileRoamingStatus& aRoamingStatus) const; |
246 TBool IsWlanOnly(const TMobileRoamingStatus& aRoamingStatus, |
259 TBool IsWlanOnly(const TMobileRoamingStatus& aRoamingStatus, |
247 const TCmGenConnSettings& aGenConnSettings) const; |
260 const TCmGenConnSettings& aGenConnSettings) const; |
248 |
261 |
249 private: // from CActive |
262 #ifdef REVERSEGEOCODE_UNIT_TESTCASE |
|
263 public: |
|
264 #else |
|
265 private: |
|
266 #endif |
250 |
267 |
251 /** |
268 /** |
252 * RunL |
269 * RunL |
253 * This method is called on completion of the active object request |
270 * This method is called on completion of the active object request |
254 */ |
271 */ |
265 * This method is called if the RunL leaves |
282 * This method is called if the RunL leaves |
266 * @param aError The errcode with which it leaves |
283 * @param aError The errcode with which it leaves |
267 */ |
284 */ |
268 TInt RunError(TInt aError); |
285 TInt RunError(TInt aError); |
269 |
286 |
270 private: |
287 #ifdef REVERSEGEOCODE_UNIT_TESTCASE |
|
288 public: |
|
289 #else |
|
290 private: |
|
291 #endif |
271 |
292 |
272 /** |
293 /** |
273 * Submits a HTTP transaction |
294 * Submits a HTTP transaction |
274 */ |
295 */ |
275 void DoHTTPGetL(); |
296 void DoHTTPGetL(); |
276 |
297 |
277 private: |
298 #ifdef REVERSEGEOCODE_UNIT_TESTCASE |
|
299 public: |
|
300 #else |
|
301 private: |
|
302 #endif |
278 // declare members |
303 // declare members |
279 RSocketServ iSocketServ; |
304 RSocketServ iSocketServ; |
280 RConnection iConnection; |
305 RConnection iConnection; |
281 TUint32 iSelectedIap; |
306 TUint32 iSelectedIap; |
282 |
307 |