browserutilities/downloadmgr/DownloadMgrServEng/Inc/HttpDownload.h
branchRCL_3
changeset 36 c711bdda59f4
parent 25 0ed94ceaa377
child 48 79859ed3eea9
equal deleted inserted replaced
35:1f3c3f2f5b0a 36:c711bdda59f4
    50 class RFs;
    50 class RFs;
    51 class RFile;
    51 class RFile;
    52 class CFileMan;
    52 class CFileMan;
    53 class CHeaderField;
    53 class CHeaderField;
    54 class CHttpStorage;
    54 class CHttpStorage;
    55 
    55 #ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF
    56 
    56 class CDownloadPathHandler;
       
    57 #endif
    57 /**
    58 /**
    58 *  ?one_line_short_description.
    59 *  ?one_line_short_description.
    59 *  ?other_description_lines
    60 *  ?other_description_lines
    60 *
    61 *
    61 *  @lib ?library
    62 *  @lib ?library
   457         */
   458         */
   458         void Connected();
   459         void Connected();
   459         void Suspended();
   460         void Suspended();
   460         void Disconnected();
   461         void Disconnected();
   461         void ConnectionFailed( TInt aError );
   462         void ConnectionFailed( TInt aError );
       
   463         void SetRetryFlag(TBool aFlag){ iRetryFlag = aFlag; }
       
   464         TBool GetRetryFlag(){ return iRetryFlag;}        
   462         
   465         
   463     protected:  // New functions
   466     protected:  // New functions
   464 
   467 
   465         /**
   468         /**
   466         * Does real reset on download
   469         * Does real reset on download
   974         * ConvertDownloadNameUniqueL
   977         * ConvertDownloadNameUniqueL
   975         */        
   978         */        
   976         void CHttpDownload::ConvertDownloadNameUniqueL( HBufC*& filePath,
   979         void CHttpDownload::ConvertDownloadNameUniqueL( HBufC*& filePath,
   977                                             			HBufC*& fileName,
   980                                             			HBufC*& fileName,
   978                                             			HBufC*& fileExtn);
   981                                             			HBufC*& fileExtn);
   979         
   982 #ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF
       
   983         /*
       
   984          * Gets the instance of CDownloadPathHandler from the Plugin implementaion, if present 
       
   985          */
       
   986         CDownloadPathHandler* GetDownloadPathPluginInstanceL();
       
   987         /*
       
   988          * Get Updated path from the Plugin Implementation
       
   989          */
       
   990         void GetUpdatedPathFromPluginL(CDownloadPathHandler* downloadPathPlugin,TFileName& rootPath, TPtr& fileNamePtr);
       
   991 #endif
   980     public:     // Data
   992     public:     // Data
   981         // ?one_line_short_description_of_data
   993         // ?one_line_short_description_of_data
   982         //?data_declaration;
   994         //?data_declaration;
   983     
   995     
   984     protected:  // Data
   996     protected:  // Data
  1109         TInt    iMoLength;              //Multiple Media Object Length
  1121         TInt    iMoLength;              //Multiple Media Object Length
  1110         TInt    iActiveDownload;        // Currenlty active Cod Download
  1122         TInt    iActiveDownload;        // Currenlty active Cod Download
  1111         TInt    iActivePlayedDownload;  // Currenlty actively played Cod Download
  1123         TInt    iActivePlayedDownload;  // Currenlty actively played Cod Download
  1112         TInt	iMOMoved;				// index for bulk move
  1124         TInt	iMOMoved;				// index for bulk move
  1113         TBool   iMoDownloadCompleted;   //MO download Completed.But Move will be issued by PD Client
  1125         TBool   iMoDownloadCompleted;   //MO download Completed.But Move will be issued by PD Client
       
  1126         TBool   iRetryFlag;
  1114         
  1127         
  1115     public:     // Friend classes
  1128     public:     // Friend classes
  1116         //?friend_class_declaration;
  1129         //?friend_class_declaration;
  1117     protected:  // Friend classes
  1130     protected:  // Friend classes
  1118 
  1131