videocollection/mpxmyvideoscollection/inc/vcxmyvideosalbums.h
changeset 24 7d93ee07fb27
parent 17 69946d1824c4
child 46 adbe7d5ba2f5
equal deleted inserted replaced
20:b9e04db066d4 24:7d93ee07fb27
   178          * to iCollection.iMessageList but does not send them.
   178          * to iCollection.iMessageList but does not send them.
   179          * 
   179          * 
   180          * @param aMdsId  MDS ID of the changed video.
   180          * @param aMdsId  MDS ID of the changed video.
   181          */
   181          */
   182         void VideoTitleChangedL( TUint32 aMdsId );
   182         void VideoTitleChangedL( TUint32 aMdsId );
       
   183         
       
   184         /**
       
   185          * Called when video is added or removed from cache. Adds changed
       
   186          * album indexes to iChangedAlbums.
       
   187          */
       
   188         void VideoAddedOrRemovedFromCacheL( CMPXMedia& video );
       
   189 
       
   190         /**
       
   191          * Goes through iChangedAlbums and updates album attributes and adds
       
   192          * changed events.
       
   193          */
       
   194         void UpdateChangedAlbumsL();
   183 
   195 
   184 protected:
   196 protected:
   185         
   197         
   186         /**
   198         /**
   187          * From MVcxMyVideosMdsAlbumsObserver.
   199          * From MVcxMyVideosMdsAlbumsObserver.
   338         /**
   350         /**
   339          * Used in MDS operations to store operation results. Is in sync with iMdsOpTargetIds. 
   351          * Used in MDS operations to store operation results. Is in sync with iMdsOpTargetIds. 
   340          */
   352          */
   341         RArray<TUint32> iMdsOpResultsUint32;
   353         RArray<TUint32> iMdsOpResultsUint32;
   342         
   354         
       
   355         /**
       
   356          * When videos are removed or added from cache, the indexes of the
       
   357          * changed albums are stored here. Reason is to calculate new attributes
       
   358          * only once per changed album.
       
   359          */
       
   360         RArray<TInt> iChangedAlbums;
       
   361         
   343     };
   362     };
   344 
   363 
   345 #endif   // VCXMYVIDEOSALBUMS_H
   364 #endif   // VCXMYVIDEOSALBUMS_H
   346 
   365 
   347 
   366