codhandler/codeng/inc/FileSaver.h
branchRCL_3
changeset 93 79859ed3eea9
parent 62 c711bdda59f4
child 94 919f36ff910f
equal deleted inserted replaced
92:e1bea15f9a39 93:79859ed3eea9
    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
       
    39 
    36 
    40 // CLASS DECLARATION
    37 // CLASS DECLARATION
    41 
    38 
    42 /**
    39 /**
    43 * File saver (saving to file system). Handles DRM packaged objects too.
    40 * File saver (saving to file system). Handles DRM packaged objects too.
   211          
   208          
   212         /**
   209         /**
   213         * Writes Buffer data to file
   210         * Writes Buffer data to file
   214         */
   211         */
   215         void FlushL();
   212         void FlushL();
   216 #ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF
   213 
   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
       
   230        
   214        
   231     protected:  // data
   215     protected:  // data
   232 
   216 
   233         CDocumentHandler& iDocHandler;  ///< Document Handler. Not owned.
   217         CDocumentHandler& iDocHandler;  ///< Document Handler. Not owned.
   234         RFs& iFs;                       ///< File Server session. Not owned.
   218         RFs& iFs;                       ///< File Server session. Not owned.