emailuis/emailui/inc/FreestyleMessageHeaderHTML.h
changeset 1 12c456ceeff2
parent 0 8466d47a6819
child 2 5253a20d2a1e
--- a/emailuis/emailui/inc/FreestyleMessageHeaderHTML.h	Thu Dec 17 08:39:21 2009 +0200
+++ b/emailuis/emailui/inc/FreestyleMessageHeaderHTML.h	Thu Jan 07 12:38:38 2010 +0200
@@ -32,11 +32,11 @@
 class CFreestyleMessageHeaderHTML : public CBase
     {
 public:
-    IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, RWriteStream& aWriteStream );
-    IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, RFile& aFile );
-    IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, RFs& aFs, const TPath& aFilePath);
+    IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, RWriteStream& aWriteStream, TInt aVisibleWidth  );
+    IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, RFile& aFile, TInt aVisibleWidth   );
+    IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, RFs& aFs, const TPath& aFilePath, TInt aVisibleWidth  );
     
-    IMPORT_C static CFreestyleMessageHeaderHTML* NewL( CFSMailMessage& aMailMessage );
+    IMPORT_C static CFreestyleMessageHeaderHTML* NewL( CFSMailMessage& aMailMessage, TInt aVisibleWidth   );
     
     ~CFreestyleMessageHeaderHTML();
     
@@ -45,7 +45,7 @@
     IMPORT_C void ExportL( RFs& aFs, const TPath& aFilePath) const;
     
 private:
-    CFreestyleMessageHeaderHTML( CFSMailMessage& aMailMessage );
+    CFreestyleMessageHeaderHTML( CFSMailMessage& aMailMessage, TInt aVisibleWidth   );
     void ConstructL();
     
     void HTMLStartL( RWriteStream& aWriteStream ) const;
@@ -70,7 +70,10 @@
     
     void ExportEmailAddressesL( RWriteStream& aWriteStream, 
                                 FreestyleMessageHeaderURLFactory::TEmailAddressType aEmailAddressType, 
-                                const RPointerArray<CFSMailAddress>& aEmailAddresses ) const;
+                                const RPointerArray<CFSMailAddress>& aEmailAddresses,
+                                const TDesC8& aRowId,
+                                const TDesC8& aTableId,
+                                TInt aHeaderTextResourceId ) const;
     
     void AddEmailAddressL( RWriteStream& aWriteStream, 
                            FreestyleMessageHeaderURLFactory::TEmailAddressType aEmailAddressType, 
@@ -107,6 +110,7 @@
     
 private:
     CFSMailMessage& iMailMessage; 
+    TInt            iVisibleWidth;
     
     RPointerArray<CFSMailMessagePart> iAttachments;
 };