equal
deleted
inserted
replaced
40 #include "cmessagedatahandlerTraces.h" |
40 #include "cmessagedatahandlerTraces.h" |
41 #endif |
41 #endif |
42 |
42 |
43 |
43 |
44 /** Number of symbols from MsgBody taken to excerpt */ |
44 /** Number of symbols from MsgBody taken to excerpt */ |
45 const TInt KMsgBodyExcerptSymbols = 90; |
45 const TInt KMsgBodyExcerptSymbols = 160; |
46 |
46 |
47 // For Ucs2 detection |
47 // For Ucs2 detection |
48 const TInt KUtf8BomLength = 3; |
48 const TInt KUtf8BomLength = 3; |
49 const TUint8 KUtf8Bom[KUtf8BomLength] = {0xEF, 0xBB, 0xBF}; |
49 const TUint8 KUtf8Bom[KUtf8BomLength] = {0xEF, 0xBB, 0xBF}; |
50 |
50 |
624 // CMessageDataHandler::CreateExcerptLC |
624 // CMessageDataHandler::CreateExcerptLC |
625 // --------------------------------------------------------------------------- |
625 // --------------------------------------------------------------------------- |
626 // |
626 // |
627 HBufC* CMessageDataHandler::CreateExcerptLC(const TDesC& aFromAddress, |
627 HBufC* CMessageDataHandler::CreateExcerptLC(const TDesC& aFromAddress, |
628 const CDesCArray& aRecipientArray, |
628 const CDesCArray& aRecipientArray, |
629 const TDesC& aSubject, |
629 const TDesC& /*aSubject*/, |
630 const TDesC& aBodyText, |
630 const TDesC& aBodyText, |
631 const TMsvId& aFolderId) |
631 const TMsvId& aFolderId) |
632 { |
632 { |
633 //Note:Only From/To (as appropriate): and Body: fields to be added to excerpt for now. |
633 //Note:Only From/To (as appropriate): and Body: fields to be added to excerpt for now. |
634 //See appclass-hierarchy.txt for details. |
634 //See appclass-hierarchy.txt for details. |