equal
deleted
inserted
replaced
111 /** Handles asynchronous reload of page for case when orientation |
111 /** Handles asynchronous reload of page for case when orientation |
112 * changed |
112 * changed |
113 */ |
113 */ |
114 void ReloadPageL(); |
114 void ReloadPageL(); |
115 |
115 |
116 void ShowAttacthmentDownloadStatusL( TFSProgress::TFSProgressStatus aProgressStatus, const TAttachmentData& aAttachmentData ); |
116 void ShowAttachmentDownloadStatusL( TFSProgress::TFSProgressStatus aProgressStatus, const TAttachmentData& aAttachmentData ); |
117 TBool AttacthmentDownloadStatusVisible(); |
117 TBool AttachmentDownloadStatusVisible(); |
118 void HideAttacthmentDownloadStatus(); |
118 void HideDownloadStatus(); |
|
119 void DisplayStatusIndicatorL(); |
119 |
120 |
120 private: |
121 private: |
121 |
122 |
122 // Second phase constructor. |
123 // Second phase constructor. |
123 void ConstructL(); |
124 void ConstructL(); |
137 void CopyFileToHtmlFileL( RFile& aFile, const TDesC& aFileName, CFSMailMessagePart& aHtmlBodyPart ); |
138 void CopyFileToHtmlFileL( RFile& aFile, const TDesC& aFileName, CFSMailMessagePart& aHtmlBodyPart ); |
138 // Reads given file content to buffer and return pointer to it |
139 // Reads given file content to buffer and return pointer to it |
139 HBufC8* ReadContentFromFileLC( RFile& aFile ); |
140 HBufC8* ReadContentFromFileLC( RFile& aFile ); |
140 // Writes buffer to given file |
141 // Writes buffer to given file |
141 void WriteContentToFileL( const TDesC8& aContent, const TDesC& aFileName, CFSMailMessagePart& aHtmlBodyPart ); |
142 void WriteContentToFileL( const TDesC8& aContent, const TDesC& aFileName, CFSMailMessagePart& aHtmlBodyPart ); |
|
143 |
|
144 void WriteEmptyBodyHtmlL( const TDesC& aFileName ); |
|
145 |
142 // </cmail> |
146 // </cmail> |
143 // Finds the attachment from the list that matches the given content ID |
147 // Finds the attachment from the list that matches the given content ID |
144 CFSMailMessagePart* MatchingAttacmentL( const TDesC& aContentId, |
148 CFSMailMessagePart* MatchingAttacmentL( const TDesC& aContentId, |
145 const RPointerArray<CFSMailMessagePart>& aAttachments ) const; |
149 const RPointerArray<CFSMailMessagePart>& aAttachments ) const; |
146 // Resolves embedded link referring to file in temporary HTML folder |
150 // Resolves embedded link referring to file in temporary HTML folder |
213 CFreestyleMessageHeaderURLEventHandler* iEventHandler; |
217 CFreestyleMessageHeaderURLEventHandler* iEventHandler; |
214 TBool iObservingDownload; |
218 TBool iObservingDownload; |
215 TInt iScrollPosition; |
219 TInt iScrollPosition; |
216 COverlayControl* iOverlayControlNext; |
220 COverlayControl* iOverlayControlNext; |
217 COverlayControl* iOverlayControlPrev; |
221 COverlayControl* iOverlayControlPrev; |
218 |
222 //way to keep track of the current image being displayed by the indicator |
219 CFreestyleEmailUiAknStatusIndicator* iAttachmentStatus; |
223 TInt iAttachmentDownloadImageHandle; |
|
224 CFreestyleEmailUiAknStatusIndicator* iStatusIndicator; |
220 }; |
225 }; |
221 |
226 |
222 |
227 |
223 #endif // __FREESTYLEEMAILUI_HTML_VIEWER_CONTAINER_H__ |
228 #endif // __FREESTYLEEMAILUI_HTML_VIEWER_CONTAINER_H__ |