engine/src/ShowEngine.cpp
branchRCL_3
changeset 332 88a24b8b97d8
parent 331 c44ad45736ff
child 368 b131f7696342
equal deleted inserted replaced
331:c44ad45736ff 332:88a24b8b97d8
   262 		}
   262 		}
   263 	}
   263 	}
   264 
   264 
   265 void CShowEngine::AddShowToMpxCollection(CShowInfo &aShowInfo)
   265 void CShowEngine::AddShowToMpxCollection(CShowInfo &aShowInfo)
   266 	{
   266 	{
       
   267 	DP("CShowEngine::AddShowToMpxCollection BEGIN");
   267 #ifdef ENABLE_MPX_INTEGRATION
   268 #ifdef ENABLE_MPX_INTEGRATION
   268 	if (!iCollectionHelper)
   269 	if (!iCollectionHelper)
   269 		iCollectionHelper = CMPXCollectionHelperFactory::NewCollectionHelperL();
   270 		iCollectionHelper = CMPXCollectionHelperFactory::NewCollectionHelperL();
   270 	
   271 	
   271 	// if this leaves, not much we can do anyway
   272 	// if this leaves, not much we can do anyway
   272 	TRAP_IGNORE(iCollectionHelper->AddL(aShowInfo.FileName(), this));
   273 	DP("    MPX integration enabled, adding show to collection");
       
   274 	TRAPD(err, iCollectionHelper->AddL(aShowInfo.FileName(), this));
       
   275 	DP1("    AddL returned %d", err);
   273 #endif
   276 #endif
       
   277 	DP("CShowEngine::AddShowToMpxCollection END");
   274 	}
   278 	}
   275 
   279 
   276 void CShowEngine::CompleteL(CHttpClient* /*aHttpClient*/, TInt aError)
   280 void CShowEngine::CompleteL(CHttpClient* /*aHttpClient*/, TInt aError)
   277 	{
   281 	{
   278 	if (iShowDownloading != NULL)
   282 	if (iShowDownloading != NULL)