harvesterplugins/messaging/smsmms/src/cmessagedatahandler.cpp
changeset 7 51d10d255e92
parent 5 3bc31ad99ee7
child 9 4a2987baf8f7
child 11 773be20e0a25
equal deleted inserted replaced
5:3bc31ad99ee7 7:51d10d255e92
    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.