diff -r d189ee25cf9d -r 3533d4323edc emailservices/emailstore/base_plugin/src/baseplugintranslator.cpp --- a/emailservices/emailstore/base_plugin/src/baseplugintranslator.cpp Tue Aug 31 15:04:17 2010 +0300 +++ b/emailservices/emailstore/base_plugin/src/baseplugintranslator.cpp Wed Sep 01 12:28:57 2010 +0100 @@ -17,9 +17,9 @@ -#include "BasePlugin.h" +#include "baseplugin.h" #include "baseplugincommonutils.h" -#include "CFSMailCommon.h" +#include "cfsmailcommon.h" static void TranslateMsgStoreAttendeeL( @@ -93,7 +93,7 @@ /** * */ -void CBasePlugin::TranslateMsgStorePropsL( +EXPORT_C void CBasePlugin::TranslateMsgStorePropsL( const TFSMailMsgId& aMailBoxId, CMsgStorePropertyContainer& aMessage, CFSMailMessagePart& aFsMsg, @@ -318,7 +318,7 @@ * @param aMessage * @param aFsMsg */ -void CBasePlugin::TranslateMsgStoreMrL( +EXPORT_C void CBasePlugin::TranslateMsgStoreMrL( const TFSMailMsgId& aMailBoxId, CMsgStorePropertyContainer& aMessage, CMsgStorePropertyContainer& aCalendar, @@ -613,7 +613,7 @@ if ( aCalendar.FindProperty( KMsgStorePropertyMrMonthDay, idx ) ) { TUint32 monthDayNo = aCalendar.PropertyValueUint32L( idx ); - days.AppendL(monthDayNo); + days.Append(monthDayNo); /**@ double check that when testing starts.*/ } @@ -714,7 +714,7 @@ /** * */ -void CBasePlugin::TranslateEmailFwMessageL( +EXPORT_C void CBasePlugin::TranslateEmailFwMessageL( CFSMailMessagePart& aSrc, CMsgStoreMessagePart& aDst, TBool aInInbox ) @@ -776,18 +776,16 @@ } //to recipients. -// Return by val (as in earlier Cmail version) - RPointerArray toRecipients = aSrc.GetToRecipients(); + RPointerArray& toRecipients = aSrc.GetToRecipients(); TranslateEmailFwRecipientsL( aDst, KMsgStorePropertyTo, toRecipients ); //cc recipients. - RPointerArray ccRecipients = aSrc.GetCCRecipients(); + RPointerArray& ccRecipients = aSrc.GetCCRecipients(); TranslateEmailFwRecipientsL( aDst, KMsgStorePropertyCc, ccRecipients ); //bcc recipients. - RPointerArray bccRecipients = aSrc.GetBCCRecipients(); + RPointerArray& bccRecipients = aSrc.GetBCCRecipients(); TranslateEmailFwRecipientsL( aDst, KMsgStorePropertyBcc, bccRecipients ); -// //flags. //the cast is important otherwise the TBool overload gets called. @@ -871,7 +869,7 @@ /** * */ -void CBasePlugin::TranslateEmailFwMrL( +EXPORT_C void CBasePlugin::TranslateEmailFwMrL( MMRInfoObject& aSrc, CMsgStorePropertyContainer& aDst ) @@ -1118,7 +1116,7 @@ * when dealing with rule translation. * * @param aDayOfWeekMask day of week mask in the MsgStore format, see - * MsgStorePropertyKeys.h for information. + * msgstorepropertykeys.h for information. * @param aFtor translation ftor. */ void CBasePlugin::TranslateMsgStoreDayOfWeek( @@ -1227,7 +1225,7 @@ /** * */ -void CBasePlugin::TranslateEmailFwAttendeeL( +EXPORT_C void CBasePlugin::TranslateEmailFwAttendeeL( MMROrganizer& aSrc, RMsgStoreAddress& aDst ) @@ -1249,7 +1247,7 @@ /** * */ -void CBasePlugin::RemoveAllPropertiesL( +EXPORT_C inline void CBasePlugin::RemoveAllPropertiesL( CMsgStorePropertyContainer& aContainer, const TDesC8& aName )