engine/src/ShowInfo.cpp
changeset 76 223f270fa7ff
parent 2 29cda98b007e
equal deleted inserted replaced
75:554d9980157f 76:223f270fa7ff
   215 	return iTrackNo;
   215 	return iTrackNo;
   216 	}
   216 	}
   217 
   217 
   218 EXPORT_C CShowInfo::CShowInfo(CShowInfo *aInfo)
   218 EXPORT_C CShowInfo::CShowInfo(CShowInfo *aInfo)
   219 	{
   219 	{
       
   220 	if (iTitle)
       
   221 		delete iTitle;
   220 	iTitle = aInfo->Title().Alloc();
   222 	iTitle = aInfo->Title().Alloc();
       
   223 	
       
   224 	if(iUrl)
       
   225 		delete iUrl;
   221 	iUrl = aInfo->Url().Alloc();
   226 	iUrl = aInfo->Url().Alloc();
       
   227 	
       
   228 	if (iDescription)
       
   229 		delete iDescription;
   222 	iDescription = aInfo->Description().Alloc();
   230 	iDescription = aInfo->Description().Alloc();
       
   231 	
       
   232 	if (iFileName)
       
   233 		delete iFileName;
   223 	iFileName = aInfo->FileName().Alloc();
   234 	iFileName = aInfo->FileName().Alloc();
       
   235 	
   224 	iPosition = aInfo->Position();
   236 	iPosition = aInfo->Position();
   225 	iPlayTime = aInfo->PlayTime();
   237 	iPlayTime = aInfo->PlayTime();
   226 	iPlayState = aInfo->PlayState();
   238 	iPlayState = aInfo->PlayState();
   227 	iDownloadState = aInfo->DownloadState();
   239 	iDownloadState = aInfo->DownloadState();
   228 	iFeedUid = aInfo->FeedUid();
   240 	iFeedUid = aInfo->FeedUid();