--- a/emailuis/emailui/inc/FreestyleEmailUiHtmlViewerContainer.h Tue Jan 26 11:45:42 2010 +0200
+++ b/emailuis/emailui/inc/FreestyleEmailUiHtmlViewerContainer.h Tue Feb 02 00:02:40 2010 +0200
@@ -113,9 +113,10 @@
*/
void ReloadPageL();
- void ShowAttacthmentDownloadStatusL( TFSProgress::TFSProgressStatus aProgressStatus, const TAttachmentData& aAttachmentData );
- TBool AttacthmentDownloadStatusVisible();
- void HideAttacthmentDownloadStatus();
+ void ShowAttachmentDownloadStatusL( TFSProgress::TFSProgressStatus aProgressStatus, const TAttachmentData& aAttachmentData );
+ TBool AttachmentDownloadStatusVisible();
+ void HideDownloadStatus();
+ void DisplayStatusIndicatorL();
private:
@@ -139,6 +140,9 @@
HBufC8* ReadContentFromFileLC( RFile& aFile );
// Writes buffer to given file
void WriteContentToFileL( const TDesC8& aContent, const TDesC& aFileName, CFSMailMessagePart& aHtmlBodyPart );
+
+ void WriteEmptyBodyHtmlL( const TDesC& aFileName );
+
// </cmail>
// Finds the attachment from the list that matches the given content ID
CFSMailMessagePart* MatchingAttacmentL( const TDesC& aContentId,
@@ -215,8 +219,9 @@
TInt iScrollPosition;
COverlayControl* iOverlayControlNext;
COverlayControl* iOverlayControlPrev;
-
- CFreestyleEmailUiAknStatusIndicator* iAttachmentStatus;
+ //way to keep track of the current image being displayed by the indicator
+ TInt iAttachmentDownloadImageHandle;
+ CFreestyleEmailUiAknStatusIndicator* iStatusIndicator;
};