videocollection/hgmyvideos/inc/vcxhgmyvideosvideomodelhandler.h
branchRCL_3
changeset 9 5294c000a26d
parent 8 ce5ada96ab30
child 10 112a725ff2c2
equal deleted inserted replaced
8:ce5ada96ab30 9:5294c000a26d
    32 class CVcxHgMyVideosModel;
    32 class CVcxHgMyVideosModel;
    33 class CVcxHgMyVideosMainView;
    33 class CVcxHgMyVideosMainView;
    34 class CMPXMedia;
    34 class CMPXMedia;
    35 class CVcxHgMyVideosVideoDataUpdater;
    35 class CVcxHgMyVideosVideoDataUpdater;
    36 class CVcxHgMyVideosDownloadUpdater;
    36 class CVcxHgMyVideosDownloadUpdater;
    37 class TVcxHgMyVideosVideoDetailsDialog;
    37 class CVcxHgMyVideosVideoDetailsDialog;
    38 class CVcxHgMyVideosVideoList;
    38 class CVcxHgMyVideosVideoList;
    39 class CHgScroller;
    39 class CHgScroller;
    40 class CMyVideosIndicator;
    40 class CMyVideosIndicator;
    41 
    41 
    42 // CLASS DECLARATION
    42 // CLASS DECLARATION
   184          * @return Video's URI or empty string.
   184          * @return Video's URI or empty string.
   185          */        
   185          */        
   186         const TDesC& GetVideoUri( TInt aIndex );
   186         const TDesC& GetVideoUri( TInt aIndex );
   187         
   187         
   188         /**
   188         /**
       
   189          * Returns video's unique mpx id.
       
   190          * 
       
   191          * @param aIndex Video's index on UI list.
       
   192          * @return Video's id or KErrNotFound.
       
   193          */  
       
   194         TInt GetVideoId( TInt aIndex );
       
   195         
       
   196         /**
   189          * Returns video size in bytes
   197          * Returns video size in bytes
   190          * 
   198          * 
   191          * @param aIndex Video's index on UI list.
   199          * @param aIndex Video's index on UI list.
   192          * @return Video size in bytes or zero.
   200          * @return Video size in bytes or zero.
   193          */
   201          */
   194         TInt64 GetVideoSize( TInt aIndex );
   202         TInt64 GetVideoSize( TInt aIndex );
   195 
   203 
   196         /**
   204         /**
   197          * Deletes videos from requested indexes.
   205          * Deletes videos with requested ids.
   198          * 
   206          * 
   199          * @param aOperationTargets Video indexes.
   207          * @param aOperationTargets Videos' mpx ids.
   200          */
   208          */
   201         void DeleteVideosL( const RArray<TInt>& aOperationTargets );
   209         void DeleteVideosL( const RArray<TInt>& aOperationTargets );
   202 
   210 
   203         /**
   211         /**
   204          * Moves or copies videos from requested indexes to given target.
   212          * Moves or copies videos with requested ids to given target.
   205          * 
   213          * 
   206          * @param aOperationTargets Video indexes.
   214          * @param aOperationTargets Videos' mpx ids.
   207          * @param aTargetDrive Target drive.
   215          * @param aTargetDrive Target drive.
   208          * @param aCopy If ETrue, copy is performed. If EFalse, move.
   216          * @param aCopy If ETrue, copy is performed. If EFalse, move.
   209          */
   217          */
   210         void MoveOrCopyVideosL( const RArray<TInt>& aOperationTargets,
   218         void MoveOrCopyVideosL( const RArray<TInt>& aOperationTargets,
   211                                 TInt aTargetDrive,
   219                                 TInt aTargetDrive,
   501         
   509         
   502         /**
   510         /**
   503          * Video details dialog.
   511          * Video details dialog.
   504          * Own.
   512          * Own.
   505          */
   513          */
   506         TVcxHgMyVideosVideoDetailsDialog* iVideoDetails;
   514         CVcxHgMyVideosVideoDetailsDialog* iVideoDetails;
   507         
   515         
   508         /**
   516         /**
   509          * Reference to video list implementation.
   517          * Reference to video list implementation.
   510          * Not own.
   518          * Not own.
   511          */
   519          */