photosgallery/viewframework/dataprovider/src/glxmulmodelproviderbase.cpp
branchRCL_3
changeset 64 34937ec34dac
parent 60 5b3385a43d68
child 75 01504893d9cb
equal deleted inserted replaced
60:5b3385a43d68 64:34937ec34dac
   310 // ----------------------------------------------------------------------------
   310 // ----------------------------------------------------------------------------
   311 // SetDataT
   311 // SetDataT
   312 // ----------------------------------------------------------------------------
   312 // ----------------------------------------------------------------------------
   313 //	
   313 //	
   314 void CGlxMulModelProviderBase::SetDataT( const CGlxBinding& aBinding,
   314 void CGlxMulModelProviderBase::SetDataT( const CGlxBinding& aBinding,
   315         const TGlxMedia& aMedia, TInt aAtIndex )
   315         const TGlxMedia& aMedia, TInt aAtIndex, MGlxMediaList& aMediaList )
   316     {
   316     {
   317     TRACER("CGlxMulModelProviderBase::SetDataT");
   317     TRACER("CGlxMulModelProviderBase::SetDataT");
   318     
   318     
   319     if(IsFocused(aAtIndex))
   319     if(IsFocused(aAtIndex))
   320         {
   320         {
   333         if (frameCount > 1 && drm && isValid == EGlxDrmRightsValid)
   333         if (frameCount > 1 && drm && isValid == EGlxDrmRightsValid)
   334             {
   334             {
   335             if (!iDrmGifTextureCreator)
   335             if (!iDrmGifTextureCreator)
   336                 {
   336                 {
   337                 iDrmGifTextureCreator = CGlxDrmGifTextureCreator::NewL(
   337                 iDrmGifTextureCreator = CGlxDrmGifTextureCreator::NewL(
   338                         aBinding, aMedia, aAtIndex, iModel);
   338                         aBinding, aMedia, aAtIndex, iModel, aMediaList);
   339                 }
   339                 }
   340             else
   340             else
   341                 {
   341                 {
   342                 iDrmGifTextureCreator->UpdateNewImageL(aMedia, aAtIndex);
   342                 iDrmGifTextureCreator->UpdateNewImageL(aMedia, aAtIndex);
   343                 }
   343                 }