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