engine/src/FeedEngine.cpp
changeset 67 e0fc52a5df4d
parent 66 41d00e97e2f7
child 69 04c6ccce8e7e
equal deleted inserted replaced
66:41d00e97e2f7 67:e0fc52a5df4d
   275 	relPath.Append(fileName);
   275 	relPath.Append(fileName);
   276 	PodcastUtils::EnsureProperPathName(relPath);
   276 	PodcastUtils::EnsureProperPathName(relPath);
   277 	
   277 	
   278 	// complete file path is base dir + rel path
   278 	// complete file path is base dir + rel path
   279 	filePath.Append(relPath);
   279 	filePath.Append(relPath);
   280 	aFeedInfo->SetImageFileNameL(filePath);
   280 	aFeedInfo->SetImageFileNameL(filePath, NULL);
   281 
   281 
   282 	if(iFeedClient->GetL(aFeedInfo->ImageUrl(), filePath, ETrue))
   282 	if(iFeedClient->GetL(aFeedInfo->ImageUrl(), filePath, ETrue))
   283 		{
   283 		{
   284 			iClientState = EUpdatingImage;
   284 			iClientState = EUpdatingImage;
   285 		}
   285 		}
   914 			TPtrC16 image((const TUint16*)imagez);
   914 			TPtrC16 image((const TUint16*)imagez);
   915 			feedInfo->SetImageUrlL(image);
   915 			feedInfo->SetImageUrlL(image);
   916 
   916 
   917 			const void *imagefilez = sqlite3_column_text16(st, 4);
   917 			const void *imagefilez = sqlite3_column_text16(st, 4);
   918 			TPtrC16 imagefile((const TUint16*)imagefilez);
   918 			TPtrC16 imagefile((const TUint16*)imagefilez);
   919 			feedInfo->SetImageFileNameL(imagefile);
   919 			feedInfo->SetImageFileNameL(imagefile, &iPodcastModel);
   920 						
   920 						
   921 			const void *linkz = sqlite3_column_text16(st, 5);
   921 			const void *linkz = sqlite3_column_text16(st, 5);
   922 			TPtrC16 link((const TUint16*)linkz);
   922 			TPtrC16 link((const TUint16*)linkz);
   923 			feedInfo->SetDescriptionL(link);
   923 			feedInfo->SetDescriptionL(link);
   924 					
   924