videocollection/mpxmyvideoscollection/inc/vcxmyvideosalbums.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 38 ff53afa8ad05
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
   156          * @param aAlbum  New values are read from this.
   156          * @param aAlbum  New values are read from this.
   157          * @return        ETrue if album was modified, EFalse otherwise.
   157          * @return        ETrue if album was modified, EFalse otherwise.
   158          */
   158          */
   159         TBool UpdateAlbumL( const CMPXMedia& aAlbum );
   159         TBool UpdateAlbumL( const CMPXMedia& aAlbum );
   160 
   160 
       
   161         /**
       
   162          * Calculates and updates album media attributes.
       
   163          */
       
   164         void CalculateAttributesL();
       
   165         
       
   166         /**
       
   167          * Called when video's New Video flag changes. Calculates
       
   168          * album attributes for the affected albums. Adds events
       
   169          * to iCollection.iMessageList but does not send them.
       
   170          * 
       
   171          * @param aMdsId  MDS ID of the changed video.
       
   172          */
       
   173         void NewVideoFlagChangedL( TUint32 aMdsId );
       
   174 
       
   175         /**
       
   176          * Called when video's title changes. Calculates
       
   177          * album attributes for the affected albums. Adds events
       
   178          * to iCollection.iMessageList but does not send them.
       
   179          * 
       
   180          * @param aMdsId  MDS ID of the changed video.
       
   181          */
       
   182         void VideoTitleChangedL( TUint32 aMdsId );
       
   183 
   161 protected:
   184 protected:
   162         
   185         
   163         /**
   186         /**
   164          * From MVcxMyVideosMdsAlbumsObserver.
   187          * From MVcxMyVideosMdsAlbumsObserver.
   165          * Process albums arriving from MDS. Response to VcxMyVideosMdsAlbums::GetAlbumsL.
   188          * Process albums arriving from MDS. Response to VcxMyVideosMdsAlbums::GetAlbumsL.