diff -r cf5481c2bc0b -r 69946d1824c4 videocollection/mpxmyvideoscollection/inc/vcxmyvideosalbum.h --- a/videocollection/mpxmyvideoscollection/inc/vcxmyvideosalbum.h Fri Apr 16 14:59:52 2010 +0300 +++ b/videocollection/mpxmyvideoscollection/inc/vcxmyvideosalbum.h Mon May 03 12:32:50 2010 +0300 @@ -38,9 +38,9 @@ /** * Constructor. - */ - TVcxMyVideosAlbumVideo::TVcxMyVideosAlbumVideo(); - + */ + TVcxMyVideosAlbumVideo(); + /** * = operator. */ @@ -141,11 +141,6 @@ * ETrue as default. */ void Remove( TUint32 aMdsId, TBool aCompress = ETrue ); - - /** - * Updates album attributes from scratch. - */ - void UpdateAttributesL(); /** * Used for keeping RArray in integer order by @@ -178,6 +173,16 @@ void AppendToVideoListL( CMPXMedia& aFromVideoList, CMPXMedia& aToVideoList, TInt aNewItemStartIndex ); + /** + * Calculates KVcxMediaMyVideosCategoryItemCount, KVcxMediaMyVideosCategoryNewItemCount, + * KVcxMediaMyVideosCategoryNewItemName and KMPXMediaGeneralDate attributes to iMedia. + * + * @param aStartIndex Start position of the calculations in iVideoList. + * Can be used to update values when items are appended + * to old list, without calculating everything from scratch. + */ + void CalculateAttributesL( TInt aStartIndex = 0 ); + private: /**