engine/src/FeedEngine.cpp
branchsymbian1
changeset 241 ed4ed5330d83
parent 239 7ded71db88f6
child 244 d6c20128dad5
equal deleted inserted replaced
240:03e8cc4066ba 241:ed4ed5330d83
   171 			isOfflineProfile = ETrue;
   171 			isOfflineProfile = ETrue;
   172 			}
   172 			}
   173 	    }
   173 	    }
   174 	//
   174 	//
   175 	iAutoUpdatedInitiator = aAutoUpdate;
   175 	iAutoUpdatedInitiator = aAutoUpdate;
   176 	if ((iFeedsUpdating.Count() > 0) || (isOfflineProfile)) // cancel update if in offline mode
   176 	if ((iFeedsUpdating.Count() > 0) || (isOfflineProfile && aAutoUpdate))
   177 		{
   177 		{
   178 		DP("Cancelling update");
   178 		DP("Cancelling update");
   179 		iFeedClient->Stop();
   179 		iFeedClient->Stop();
   180 		iFeedsUpdating.Reset();
   180 		iFeedsUpdating.Reset();
   181 		return;
   181 		return;
   297 		}
   297 		}
   298 	}
   298 	}
   299 
   299 
   300 void CFeedEngine::NewShowL(CShowInfo& aItem)
   300 void CFeedEngine::NewShowL(CShowInfo& aItem)
   301 	{
   301 	{
       
   302 	DP1("NewShowL, aItem.Title()=", aItem.Title());
   302 	HBufC* description = HBufC::NewLC(KMaxDescriptionLength);
   303 	HBufC* description = HBufC::NewLC(KMaxDescriptionLength);
   303 	TPtr ptr(description->Des());
   304 	TPtr ptr(description->Des());
   304 	ptr.Copy(aItem.Description());
   305 	ptr.Copy(aItem.Description());
   305 	PodcastUtils::CleanHtmlL(ptr);
   306 	PodcastUtils::CleanHtmlL(ptr);
   306 
   307