codhandler/codeng/inc/FileSaver.h
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
--- a/codhandler/codeng/inc/FileSaver.h	Tue Aug 31 16:17:46 2010 +0300
+++ b/codhandler/codeng/inc/FileSaver.h	Wed Sep 01 12:28:30 2010 +0100
@@ -33,6 +33,9 @@
 class CDrmHandler;
 class CCodBuffStorage;
 class CCodData;
+#ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF
+class CDownloadPathHandler;
+#endif
 
 // CLASS DECLARATION
 
@@ -210,7 +213,20 @@
         * Writes Buffer data to file
         */
         void FlushL();
-
+#ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF
+    private:
+        /*
+         * Gets the instance of CDownloadPathHandler from the Plugin implementaion, if present 
+         */
+        CDownloadPathHandler* GetDownloadPathPluginInstanceL(TPtrC8& mimetype);
+        /*
+         * Get Updated path from the Plugin Implementation
+         * @param downloadPathPlugin instance of CDownloadPathHandler
+         * @param fname indicates filename 
+         * @param fileNamePtr 
+         */
+        void GetUpdatedPathFromPluginL(CDownloadPathHandler* downloadPathPlugin,TFileName& fname , TPtr& fileNamePtr);
+#endif
        
     protected:  // data