emailuis/emailui/inc/FreestyleEmailUiHtmlViewerContainer.h
branchRCL_3
changeset 22 d620048b4810
parent 16 b5fbb9b25d57
child 23 dcf0eedfc1a3
equal deleted inserted replaced
20:efd4f1afd43e 22:d620048b4810
   151     /**
   151     /**
   152      * @see CEUiHtmlViewerSettingsKeyListener::MObserver::KeyValueChangedL
   152      * @see CEUiHtmlViewerSettingsKeyListener::MObserver::KeyValueChangedL
   153      */
   153      */
   154     void KeyValueChangedL( TUint32 aKey );
   154     void KeyValueChangedL( TUint32 aKey );
   155 
   155 
       
   156 public:    
   156     /**
   157     /**
   157      * @see CEUiHtmlViewerSettingsKeyListener::MObserver::Repository
   158      * @see CEUiHtmlViewerSettingsKeyListener::MObserver::Repository
   158      */
   159      */
   159     CRepository& Repository();
   160     CRepository& Repository();
   160 
   161 
   300 // <cmail>
   301 // <cmail>
   301     void CopyToHtmlFileL( CFSMailMessagePart& aHtmlBodyPart, const TDesC& aFileName );
   302     void CopyToHtmlFileL( CFSMailMessagePart& aHtmlBodyPart, const TDesC& aFileName );
   302     void ConvertToHtmlFileL( CFSMailMessagePart& aTextBodyPart, const TDesC& aHtmlFileName );
   303     void ConvertToHtmlFileL( CFSMailMessagePart& aTextBodyPart, const TDesC& aHtmlFileName );
   303 
   304 
   304     // Reads given file content to buffer and return pointer to it
   305     // Reads given file content to buffer and return pointer to it
   305     HBufC8* ReadContentFromFileLC( RFile& aFile );
   306     HBufC8* ReadContentFromFileLC( RFile& aFile, CFSMailMessagePart& aHtmlBodyPart );
   306     // Writes buffer to given file
   307     // Writes buffer to given file
   307     void WriteContentToFileL( const TDesC8& aContent, const TDesC& aFileName, CFSMailMessagePart& aHtmlBodyPart );
   308     void WriteContentToFileL( const TDesC8& aContent, const TDesC& aFileName, CFSMailMessagePart& aHtmlBodyPart );
   308 
   309 
   309     void PrepareBodyHtmlL(  const TDesC& aFileName  );
   310     void PrepareBodyHtmlL(  const TDesC& aFileName  );
   310     void WriteEmptyBodyHtmlL( const TDesC& aFileName );
   311     void WriteEmptyBodyHtmlL( const TDesC& aFileName );
   392     CEUiHtmlViewerSettings* iViewerSettings;
   393     CEUiHtmlViewerSettings* iViewerSettings;
   393     
   394     
   394     TBool iHeaderExpanded;
   395     TBool iHeaderExpanded;
   395     // tactile feed back -- not owned
   396     // tactile feed back -- not owned
   396     MTouchFeedback* iTouchFeedBack;
   397     MTouchFeedback* iTouchFeedBack;
   397     
   398     TBitFlags iFlags;
   398     TInt iZoomLevel;
   399     TInt iZoomLevel;
   399     };
   400     };
   400 
   401 
   401 
   402 
   402 /**
   403 /**