mmsengine/mmssettings/src/cmmssettings.cpp
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 55 5b3b2fa8c3ec
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
   680 
   680 
   681 @param	aMmsSettings
   681 @param	aMmsSettings
   682 The MMS Settings to be copied.
   682 The MMS Settings to be copied.
   683 */
   683 */
   684 EXPORT_C void CMmsSettings::CopyL(const CMmsSettings& aMmsSettings)
   684 EXPORT_C void CMmsSettings::CopyL(const CMmsSettings& aMmsSettings)
   685 {
   685 	{
   686     iMmsSettingsFlags = aMmsSettings.iMmsSettingsFlags;
   686 	iMmsSettingsFlags		= aMmsSettings.iMmsSettingsFlags;
   687     iApplicationId = aMmsSettings.iApplicationId;
   687 	iApplicationId 			= aMmsSettings.iApplicationId;
   688 
   688 	
   689     delete iAddress;
   689 	delete iAddress;
   690     iAddress = NULL;
   690 	iAddress	=	aMmsSettings.Address().AllocL();
   691 
   691 	
   692     iAddress = aMmsSettings.Address().AllocL();
   692 	iCreationMode 			= aMmsSettings.iCreationMode;
   693 
   693 	
   694     iCreationMode = aMmsSettings.iCreationMode;
   694 	TInt count = aMmsSettings.ProxyCount();
   695 
   695 	iProxy.Reset();
   696     TInt count = aMmsSettings.ProxyCount();
   696 	for(TInt loop=0; loop < count; ++loop)
   697     iProxy.Reset();
   697 		{
   698     for (TInt loop = 0; loop < count; ++loop)
   698 		iProxy.Append(aMmsSettings.GetProxy(loop));
   699     {
   699 		}
   700         iProxy.Append(aMmsSettings.GetProxy(loop));
       
   701     }
       
   702 
   700 
   703 	count = aMmsSettings.NapIdCount();
   701 	count = aMmsSettings.NapIdCount();
   704 	iNapId.Reset();
   702 	iNapId.Reset();
   705 	for(TInt loop=0; loop < count; ++loop)
   703 	for(TInt loop=0; loop < count; ++loop)
   706 		{
   704 		{