codhandler/codeng/inc/FileSaver.h
branchRCL_3
changeset 62 c711bdda59f4
parent 0 dd21522fd290
child 93 79859ed3eea9
equal deleted inserted replaced
59:1f3c3f2f5b0a 62:c711bdda59f4
    31 
    31 
    32 class CDocumentHandler;
    32 class CDocumentHandler;
    33 class CDrmHandler;
    33 class CDrmHandler;
    34 class CCodBuffStorage;
    34 class CCodBuffStorage;
    35 class CCodData;
    35 class CCodData;
       
    36 #ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF
       
    37 class CDownloadPathHandler;
       
    38 #endif
    36 
    39 
    37 // CLASS DECLARATION
    40 // CLASS DECLARATION
    38 
    41 
    39 /**
    42 /**
    40 * File saver (saving to file system). Handles DRM packaged objects too.
    43 * File saver (saving to file system). Handles DRM packaged objects too.
   208          
   211          
   209         /**
   212         /**
   210         * Writes Buffer data to file
   213         * Writes Buffer data to file
   211         */
   214         */
   212         void FlushL();
   215         void FlushL();
   213 
   216 #ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF
       
   217     private:
       
   218         /*
       
   219          * Gets the instance of CDownloadPathHandler from the Plugin implementaion, if present 
       
   220          */
       
   221         CDownloadPathHandler* GetDownloadPathPluginInstanceL(TPtrC8& mimetype);
       
   222         /*
       
   223          * Get Updated path from the Plugin Implementation
       
   224          * @param downloadPathPlugin instance of CDownloadPathHandler
       
   225          * @param fname indicates filename 
       
   226          * @param fileNamePtr 
       
   227          */
       
   228         void GetUpdatedPathFromPluginL(CDownloadPathHandler* downloadPathPlugin,TFileName& fname , TPtr& fileNamePtr);
       
   229 #endif
   214        
   230        
   215     protected:  // data
   231     protected:  // data
   216 
   232 
   217         CDocumentHandler& iDocHandler;  ///< Document Handler. Not owned.
   233         CDocumentHandler& iDocHandler;  ///< Document Handler. Not owned.
   218         RFs& iFs;                       ///< File Server session. Not owned.
   234         RFs& iFs;                       ///< File Server session. Not owned.