equal
deleted
inserted
replaced
509 if ( iPendingAlbumOpenId == aAlbumId ) |
509 if ( iPendingAlbumOpenId == aAlbumId ) |
510 { |
510 { |
511 MPX_DEBUG2("CVcxMyVideosOpenHandler:: First videos for album %d arrived, calling HandleOpen()", aAlbumId); |
511 MPX_DEBUG2("CVcxMyVideosOpenHandler:: First videos for album %d arrived, calling HandleOpen()", aAlbumId); |
512 |
512 |
513 iAlbumVideoList->SetCObjectValueL( KMPXMediaGeneralContainerPath, iPath ); |
513 iAlbumVideoList->SetCObjectValueL( KMPXMediaGeneralContainerPath, iPath ); |
514 if ( aComplete ) |
|
515 { |
|
516 iAlbumVideoList->SetTObjectValueL<TInt>( KVcxMediaMyVideosInt32Value, |
|
517 EVcxMyVideosVideoListComplete ); |
|
518 } |
|
519 iCollection.iObs->HandleOpen( iAlbumVideoList, aError ); |
514 iCollection.iObs->HandleOpen( iAlbumVideoList, aError ); |
520 iPendingAlbumOpenId = 0; |
515 iPendingAlbumOpenId = 0; |
521 } |
516 } |
522 |
517 |
523 if ( !aComplete ) |
518 if ( !aComplete ) |
532 else |
527 else |
533 { |
528 { |
534 //TODO: should add album id |
529 //TODO: should add album id |
535 iCollection.AlbumsL().CalculateAttributesL(); // adds events if attributes modified, does not send |
530 iCollection.AlbumsL().CalculateAttributesL(); // adds events if attributes modified, does not send |
536 |
531 |
|
532 iAlbumVideoList->SetTObjectValueL<TInt>( KVcxMediaMyVideosInt32Value, |
|
533 EVcxMyVideosVideoListComplete ); |
537 iCollection.iMessageList->AddEventL( KVcxMessageMyVideosListComplete ); |
534 iCollection.iMessageList->AddEventL( KVcxMessageMyVideosListComplete ); |
538 |
535 |
539 |
536 |
540 delete iAlbumVideoList; |
537 delete iAlbumVideoList; |
541 iAlbumVideoList = NULL; |
538 iAlbumVideoList = NULL; |