videocollection/mpxmyvideoscollection/src/vcxmyvideoscollectionutil.cpp
changeset 35 3738fe97f027
parent 34 bbb98528c666
child 36 8aed59de29f9
equal deleted inserted replaced
34:bbb98528c666 35:3738fe97f027
   310 
   310 
   311 // ----------------------------------------------------------------------------
   311 // ----------------------------------------------------------------------------
   312 // TVcxMyVideosCollectionUtil::IdL
   312 // TVcxMyVideosCollectionUtil::IdL
   313 // ----------------------------------------------------------------------------
   313 // ----------------------------------------------------------------------------
   314 //
   314 //
   315 TMPXItemId TVcxMyVideosCollectionUtil::IdL( CMPXMedia& aVideo )
   315 TMPXItemId TVcxMyVideosCollectionUtil::IdL( const CMPXMedia& aVideo )
   316     {
   316     {
   317     TMPXItemId id( 0, 0 );
   317     TMPXItemId id( 0, 0 );
   318                             
   318                             
   319     if ( aVideo.IsSupported( KMPXMediaGeneralId ) )
   319     if ( aVideo.IsSupported( KMPXMediaGeneralId ) )
   320         {
   320         {
   343 
   343 
   344 // ----------------------------------------------------------------------------
   344 // ----------------------------------------------------------------------------
   345 // TVcxMyVideosCollectionUtil::Title
   345 // TVcxMyVideosCollectionUtil::Title
   346 // ----------------------------------------------------------------------------
   346 // ----------------------------------------------------------------------------
   347 //
   347 //
   348 const TDesC& TVcxMyVideosCollectionUtil::Title( CMPXMedia& aVideo )
   348 const TDesC& TVcxMyVideosCollectionUtil::Title( const CMPXMedia& aVideo )
   349     {                            
   349     {                            
   350     if ( aVideo.IsSupported( KMPXMediaGeneralTitle ) )
   350     if ( aVideo.IsSupported( KMPXMediaGeneralTitle ) )
   351         {
   351         {
   352         return aVideo.ValueText( KMPXMediaGeneralTitle );
   352         return aVideo.ValueText( KMPXMediaGeneralTitle );
   353         }
   353         }