--- 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<TUint32>( KVcxMediaMyVideosDownloadId ) ) != 0 )
- {
- if ( iMedia->IsSupported( KVcxMediaMyVideosDownloadState ) )
- {
- state = static_cast<TVcxMyVideosDownloadState>(
- *( iMedia->Value<TUint8>( KVcxMediaMyVideosDownloadState ) ) );
-
- if ( state == EVcxMyVideosDlStateDownloaded )
- {
- state = EVcxMyVideosDlStateNone;
- }
- }
- }
- }
- return state;
- }