browserutilities/downloadmgr/DownloadMgrServEng/Inc/HttpDownload.h
branchRCL_3
changeset 62 c711bdda59f4
parent 36 0ed94ceaa377
child 93 79859ed3eea9
--- a/browserutilities/downloadmgr/DownloadMgrServEng/Inc/HttpDownload.h	Mon Mar 15 12:44:50 2010 +0200
+++ b/browserutilities/downloadmgr/DownloadMgrServEng/Inc/HttpDownload.h	Wed Mar 31 23:16:40 2010 +0300
@@ -52,8 +52,9 @@
 class CFileMan;
 class CHeaderField;
 class CHttpStorage;
-
-
+#ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF
+class CDownloadPathHandler;
+#endif
 /**
 *  ?one_line_short_description.
 *  ?other_description_lines
@@ -459,6 +460,8 @@
         void Suspended();
         void Disconnected();
         void ConnectionFailed( TInt aError );
+        void SetRetryFlag(TBool aFlag){ iRetryFlag = aFlag; }
+        TBool GetRetryFlag(){ return iRetryFlag;}        
         
     protected:  // New functions
 
@@ -976,7 +979,16 @@
         void CHttpDownload::ConvertDownloadNameUniqueL( HBufC*& filePath,
                                             			HBufC*& fileName,
                                             			HBufC*& fileExtn);
-        
+#ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF
+        /*
+         * Gets the instance of CDownloadPathHandler from the Plugin implementaion, if present 
+         */
+        CDownloadPathHandler* GetDownloadPathPluginInstanceL();
+        /*
+         * Get Updated path from the Plugin Implementation
+         */
+        void GetUpdatedPathFromPluginL(CDownloadPathHandler* downloadPathPlugin,TFileName& rootPath, TPtr& fileNamePtr);
+#endif
     public:     // Data
         // ?one_line_short_description_of_data
         //?data_declaration;
@@ -1111,6 +1123,7 @@
         TInt    iActivePlayedDownload;  // Currenlty actively played Cod Download
         TInt	iMOMoved;				// index for bulk move
         TBool   iMoDownloadCompleted;   //MO download Completed.But Move will be issued by PD Client
+        TBool   iRetryFlag;
         
     public:     // Friend classes
         //?friend_class_declaration;