browserutilities/downloadmgr/DownloadMgrServEng/Inc/HttpDownload.h
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
--- a/browserutilities/downloadmgr/DownloadMgrServEng/Inc/HttpDownload.h	Tue Aug 31 16:17:46 2010 +0300
+++ b/browserutilities/downloadmgr/DownloadMgrServEng/Inc/HttpDownload.h	Wed Sep 01 12:28:30 2010 +0100
@@ -25,7 +25,7 @@
 #include "HttpConnHandler.h"
 #include "DownloadDataServ.h"
 
-#include <HttpDownloadMgrCommon.h>
+#include <httpdownloadmgrcommon.h>
 #include <e32base.h>
 #include <es_sock.h>
 #include <http.h>
@@ -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;