diff -r 55fa1ec415c6 -r 8f0df5c82986 videocollection/hgmyvideos/src/vcxhgmyvideosvideolistitem.cpp --- a/videocollection/hgmyvideos/src/vcxhgmyvideosvideolistitem.cpp Tue May 11 16:15:40 2010 +0300 +++ b/videocollection/hgmyvideos/src/vcxhgmyvideosvideolistitem.cpp Tue May 25 12:44:54 2010 +0300 @@ -151,31 +151,3 @@ { return iMedia; } - -// ----------------------------------------------------------------------------- -// CVcxHgMyVideosVideoListItem::DownloadState() -// ----------------------------------------------------------------------------- -// -TVcxMyVideosDownloadState CVcxHgMyVideosVideoListItem::DownloadState() - { - TVcxMyVideosDownloadState state( EVcxMyVideosDlStateNone ); - - if ( iMedia && iMedia->IsSupported( KVcxMediaMyVideosDownloadId ) ) - { - // Download ID is non-zero if download status exists. - if ( *( iMedia->Value( KVcxMediaMyVideosDownloadId ) ) != 0 ) - { - if ( iMedia->IsSupported( KVcxMediaMyVideosDownloadState ) ) - { - state = static_cast( - *( iMedia->Value( KVcxMediaMyVideosDownloadState ) ) ); - - if ( state == EVcxMyVideosDlStateDownloaded ) - { - state = EVcxMyVideosDlStateNone; - } - } - } - } - return state; - }