equal
deleted
inserted
replaced
19 |
19 |
20 #ifndef HTTPCONNHANDLER_H |
20 #ifndef HTTPCONNHANDLER_H |
21 #define HTTPCONNHANDLER_H |
21 #define HTTPCONNHANDLER_H |
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include <platform/mw/browser_platform_variant.hrh> |
|
25 #include <e32base.h> |
24 #include <e32base.h> |
26 #include <es_sock.h> |
25 #include <es_sock.h> |
27 #include <http.h> |
26 #include <http.h> |
28 #include <CommDbConnPref.h> |
27 #include <commdbconnpref.h> |
29 |
28 |
30 // CONSTANTS |
29 // CONSTANTS |
31 //const ?type ?constant_var = ?constant; |
30 //const ?type ?constant_var = ?constant; |
32 |
31 |
33 // MACROS |
32 // MACROS |
351 /** |
350 /** |
352 * methods from MShutdownObserver |
351 * methods from MShutdownObserver |
353 */ |
352 */ |
354 void ShutDown( TBool aFromDestructor = EFalse ); |
353 void ShutDown( TBool aFromDestructor = EFalse ); |
355 |
354 |
356 void RetryNeeded(TBool aRetry) { iRetryNeeded = aRetry;} |
|
357 |
|
358 protected: // New functions |
355 protected: // New functions |
359 |
356 |
360 /** |
357 /** |
361 * Initializes HTTP session. |
358 * Initializes HTTP session. |
362 * @since Series 60 v2.8 |
359 * @since Series 60 v2.8 |
403 |
400 |
404 /** |
401 /** |
405 * By default Symbian 2nd phase constructor is private. |
402 * By default Symbian 2nd phase constructor is private. |
406 */ |
403 */ |
407 void ConstructL(); |
404 void ConstructL(); |
408 #ifdef BRDO_OCC_ENABLED_FF |
|
409 TBool IsPhoneOfflineL() const; |
|
410 TBool IsRoamingL(); |
|
411 #endif |
|
412 |
405 |
413 public: // Data |
406 public: // Data |
414 // ?one_line_short_description_of_data |
407 // ?one_line_short_description_of_data |
415 //?data_declaration; |
408 //?data_declaration; |
416 |
409 |
433 HBufC* iConnName; // owned |
426 HBufC* iConnName; // owned |
434 |
427 |
435 private: // Data |
428 private: // Data |
436 |
429 |
437 TBool iNewConnection; |
430 TBool iNewConnection; |
438 TBool iRetryNeeded; |
|
439 |
431 |
440 // Reserved pointer for future extension |
432 // Reserved pointer for future extension |
441 //TAny* iReserved; |
433 //TAny* iReserved; |
442 |
434 |
443 public: // Friend classes |
435 public: // Friend classes |