195 CBrCtlInterface* BrowserControlIf(); |
195 CBrCtlInterface* BrowserControlIf(); |
196 void LoadContentFromFileL( const TDesC& aFileName ); |
196 void LoadContentFromFileL( const TDesC& aFileName ); |
197 void LoadContentFromFileL( RFile& aFile ); |
197 void LoadContentFromFileL( RFile& aFile ); |
198 void LoadContentFromUrlL( const TDesC& aUrl ); |
198 void LoadContentFromUrlL( const TDesC& aUrl ); |
199 void LoadContentFromMailMessageL( CFSMailMessage* aMailMessage, TBool aResetScrollPos=ETrue ); |
199 void LoadContentFromMailMessageL( CFSMailMessage* aMailMessage, TBool aResetScrollPos=ETrue ); |
200 void ResetContent(const TBool aDisconnect = EFalse); |
200 void ResetContent( TBool aDisconnect = EFalse, TBool aClearFlags = ETrue ); |
201 void CancelFetch(); |
201 void CancelFetch(); |
202 void ClearCacheAndLoadEmptyContent(); |
202 void ClearCacheAndLoadEmptyContent(); |
203 // <cmail> |
|
204 void PrepareForExit(); |
203 void PrepareForExit(); |
205 void PrepareForMessageNavigation(); |
204 void PrepareForMessageNavigation(); |
206 // </cmail> |
205 |
207 |
|
208 // from base class CCoeControl |
206 // from base class CCoeControl |
209 |
207 |
210 CCoeControl* ComponentControl( TInt aIndex ) const; |
208 CCoeControl* ComponentControl( TInt aIndex ) const; |
211 TInt CountComponentControls() const; |
209 TInt CountComponentControls() const; |
212 void Draw( const TRect& aRect ) const; |
210 void Draw( const TRect& aRect ) const; |
301 // <cmail> |
299 // <cmail> |
302 void CopyToHtmlFileL( CFSMailMessagePart& aHtmlBodyPart, const TDesC& aFileName ); |
300 void CopyToHtmlFileL( CFSMailMessagePart& aHtmlBodyPart, const TDesC& aFileName ); |
303 void ConvertToHtmlFileL( CFSMailMessagePart& aTextBodyPart, const TDesC& aHtmlFileName ); |
301 void ConvertToHtmlFileL( CFSMailMessagePart& aTextBodyPart, const TDesC& aHtmlFileName ); |
304 |
302 |
305 // Reads given file content to buffer and return pointer to it |
303 // Reads given file content to buffer and return pointer to it |
306 HBufC8* ReadContentFromFileLC( RFile& aFile, CFSMailMessagePart& aHtmlBodyPart ); |
304 HBufC8* ReadContentFromFileLC( RFile& aFile, CFSMailMessagePart& aBodyPart ); |
307 // Writes buffer to given file |
305 // Writes buffer to given file |
308 void WriteContentToFileL( const TDesC8& aContent, const TDesC& aFileName, CFSMailMessagePart& aHtmlBodyPart ); |
306 void WriteContentToFileL( const TDesC8& aContent, const TDesC& aFileName, CFSMailMessagePart& aHtmlBodyPart ); |
309 |
307 |
310 void PrepareBodyHtmlL( const TDesC& aFileName ); |
308 void PrepareBodyHtmlL( const TDesC& aFileName ); |
311 void WriteEmptyBodyHtmlL( const TDesC& aFileName ); |
309 void WriteEmptyBodyHtmlL( const TDesC& aFileName ); |