diff -r 67eb01668b0e -r baf439b22ddd videocollection/mpxmyvideoscollection/inc/vcxmyvideosvideocache.h --- a/videocollection/mpxmyvideoscollection/inc/vcxmyvideosvideocache.h Wed Jun 09 09:44:23 2010 +0300 +++ b/videocollection/mpxmyvideoscollection/inc/vcxmyvideosvideocache.h Mon Jun 21 15:43:03 2010 +0300 @@ -295,10 +295,12 @@ * * @param aVideo Video to add. * @param aSortingOrder Sorting order. + * @param aUpdateCategores If ETrue, then category and album attributes are updated. * @return KErrNone if added, KErrAlreadyExists if already exists and * was not added. */ - TInt AddL( CMPXMedia* aVideo, TVcxMyVideosSortingOrder aSortingOrder ); + TInt AddL( CMPXMedia* aVideo, TVcxMyVideosSortingOrder aSortingOrder, + TBool aUpdateCategories = ETrue ); /** * Adds video to iPartialVideoList. Ownership moves. @@ -413,9 +415,10 @@ * @param aNonVideoIds If argument given then Ids which were detected to not be * videos are written here. Caller owns the array, ownership * does not move. + * @param aUpdateCategories If ETrue, then category/album attributes are updated. */ void AddVideosFromMdsL( RArray& aMdsIds, TBool& aListFetchingWasCanceled, - RArray* aNonVideoIds = NULL ); + RArray* aNonVideoIds = NULL, TBool aUpdateCategories = ETrue ); /** * Deletes old and creates new iVideoList. After the function call iVideoList exists,