videocollection/hgmyvideos/src/vcxhgmyvideosvideolistitem.cpp
branchRCL_3
changeset 23 8f0df5c82986
parent 0 96612d01cf9f
--- 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;
-    }