videocollection/hgmyvideos/inc/vcxhgmyvideosvideolist.h
branchRCL_3
changeset 23 8f0df5c82986
parent 0 96612d01cf9f
equal deleted inserted replaced
21:55fa1ec415c6 23:8f0df5c82986
    77         void ReplaceVideoListL( CMPXMediaArray& aVideoList );
    77         void ReplaceVideoListL( CMPXMediaArray& aVideoList );
    78                 
    78                 
    79     public: // Data fetching and status information.
    79     public: // Data fetching and status information.
    80                
    80                
    81         /**
    81         /**
       
    82          * Checks whether the new list has the same items as the old one.
       
    83          * 
       
    84 		 * @param aVideoList The new video list.
       
    85          * @return ETrue/EFalse.
       
    86          */        
       
    87         TBool HasSameItemsL( const CMPXMediaArray& aVideoList );
       
    88 
       
    89         /**
    82          * Returns count of video items.
    90          * Returns count of video items.
    83          * 
    91          * 
    84          * @return Count of items.
    92          * @return Count of items.
    85          */        
    93          */        
    86         TInt VideoCount();
    94         TInt VideoCount();
    87 
       
    88         /**
       
    89          * Gets video's download state based on list index.
       
    90          * 
       
    91          * @param aIndex Index to video list.
       
    92          * @return Video's download state as TVcxMyVideosDownloadState structure.
       
    93          */
       
    94         TVcxMyVideosDownloadState VideoDownloadState( TInt aIndex );
       
    95         
       
    96 		/**
       
    97 		 * Returns a list of item indexes which downloading
       
    98 		 * state is different than EVcxMyVideosDlStateNone.
       
    99 		 * 
       
   100 		 * @return List of item indexes.
       
   101 		 */
       
   102 		void GetOngoingDownloads( RArray<TInt>& aDownloads );
       
   103 		
    95 		
   104         /**
    96         /**
   105          * Removes MPX Media object from video array.
    97          * Removes MPX Media object from video array.
   106          * 
    98          * 
   107          * @param aMpxItemId MPX Item Id.
    99          * @param aMpxItemId MPX Item Id.