videocollection/hgmyvideos/tsrc/ut_vcxhgmyvideosmainview/src/vcxhgmyvideosvideomodelhandler_stub.cpp
branchRCL_3
changeset 15 8f0df5c82986
parent 0 96612d01cf9f
equal deleted inserted replaced
14:55fa1ec415c6 15:8f0df5c82986
   169         RArray<TInt>& aMarkedVideos )
   169         RArray<TInt>& aMarkedVideos )
   170     {
   170     {
   171     }
   171     }
   172 
   172 
   173 // -----------------------------------------------------------------------------
   173 // -----------------------------------------------------------------------------
   174 //  
       
   175 // -----------------------------------------------------------------------------
       
   176 //
       
   177 void CVcxHgMyVideosVideoModelHandler::OngoingDownloads(
       
   178         RArray<TInt>& aDownloads )
       
   179     {
       
   180     }
       
   181 
       
   182 // -----------------------------------------------------------------------------
       
   183 // 
       
   184 // -----------------------------------------------------------------------------
       
   185 //
       
   186 TVcxMyVideosDownloadState CVcxHgMyVideosVideoModelHandler::VideoDownloadState( 
       
   187         TInt aIndex )
       
   188     {
       
   189     return (TVcxMyVideosDownloadState) 1;
       
   190     }
       
   191 
       
   192 // -----------------------------------------------------------------------------
       
   193 //
       
   194 // -----------------------------------------------------------------------------
       
   195 //
       
   196 TVcxMyVideosDownloadState CVcxHgMyVideosVideoModelHandler::VideoDownloadState( 
       
   197         CMPXMedia& aMedia )
       
   198     {
       
   199     return (TVcxMyVideosDownloadState) 1;
       
   200     }
       
   201 
       
   202 // -----------------------------------------------------------------------------
       
   203 //
   174 //
   204 // -----------------------------------------------------------------------------
   175 // -----------------------------------------------------------------------------
   205 //
   176 //
   206 TBool CVcxHgMyVideosVideoModelHandler::IsProgressivePlayPossible( TInt aIndex )
   177 TBool CVcxHgMyVideosVideoModelHandler::IsProgressivePlayPossible( TInt aIndex )
   207     {
   178     {
   390 //
   361 //
   391 void CVcxHgMyVideosVideoModelHandler::PlayVideoL( TInt aIndex )
   362 void CVcxHgMyVideosVideoModelHandler::PlayVideoL( TInt aIndex )
   392     {
   363     {
   393     }
   364     }
   394 
   365 
   395 
       
   396 // -----------------------------------------------------------------------------
       
   397 //
       
   398 // -----------------------------------------------------------------------------
       
   399 //
       
   400 void CVcxHgMyVideosVideoModelHandler::ResumeDownloadL( TInt aIndex )
       
   401     {
       
   402     }
       
   403 
       
   404 // -----------------------------------------------------------------------------
       
   405 //
       
   406 // -----------------------------------------------------------------------------
       
   407 //
       
   408 void CVcxHgMyVideosVideoModelHandler::CancelDownloadL( TInt aIndex )
       
   409     {
       
   410     }
       
   411 
       
   412 // -----------------------------------------------------------------------------
   366 // -----------------------------------------------------------------------------
   413 //
   367 //
   414 // -----------------------------------------------------------------------------
   368 // -----------------------------------------------------------------------------
   415 //
   369 //
   416 void CVcxHgMyVideosVideoModelHandler::Release( TInt aReleaseStart, 
   370 void CVcxHgMyVideosVideoModelHandler::Release( TInt aReleaseStart, 
   441 // -----------------------------------------------------------------------------
   395 // -----------------------------------------------------------------------------
   442 // 
   396 // 
   443 // -----------------------------------------------------------------------------
   397 // -----------------------------------------------------------------------------
   444 // 
   398 // 
   445 HBufC* CVcxHgMyVideosVideoModelHandler::FormatVideoSecondRowLC( 
   399 HBufC* CVcxHgMyVideosVideoModelHandler::FormatVideoSecondRowLC( 
   446            CMPXMedia& aMedia, TBool& aIsDownloading )
   400            CMPXMedia& aMedia )
   447         
   401         
   448     {
   402     {
   449     return ( HBufC* ) NULL ;
   403     return ( HBufC* ) NULL ;
   450     }
   404     }
   451 
   405 
   452 // -----------------------------------------------------------------------------
   406 // -----------------------------------------------------------------------------
   453 // 
       
   454 // -----------------------------------------------------------------------------
       
   455 // 
       
   456 HBufC* CVcxHgMyVideosVideoModelHandler::FormatVideoSecondRowCompletedLC( 
       
   457         CMPXMedia& aMedia )
       
   458     {
       
   459     return ( HBufC* )NULL ;
       
   460     }
       
   461 
       
   462 // -----------------------------------------------------------------------------
       
   463 // 
       
   464 // -----------------------------------------------------------------------------
       
   465 // 
       
   466 HBufC* CVcxHgMyVideosVideoModelHandler::FormatVideoSecondRowDownloadingLC( 
       
   467            CMPXMedia& aMedia )
       
   468     {
       
   469     return ( HBufC* )NULL ;
       
   470     }
       
   471 
       
   472 // -----------------------------------------------------------------------------
       
   473 //
   407 //
   474 // -----------------------------------------------------------------------------
   408 // -----------------------------------------------------------------------------
   475 // 
   409 // 
   476 void CVcxHgMyVideosVideoModelHandler::ReplaceVideoArrayL( CMPXMediaArray& aVideoList )
   410 void CVcxHgMyVideosVideoModelHandler::ReplaceVideoArrayL( CMPXMediaArray& aVideoList )
   477     {
   411     {
   478 
   412 
   479     }
       
   480 
       
   481 // -----------------------------------------------------------------------------
       
   482 //
       
   483 // -----------------------------------------------------------------------------
       
   484 // 
       
   485 TInt CVcxHgMyVideosVideoModelHandler::DownloadProgressL( const CMPXMedia& aMpxMedia )
       
   486     {
       
   487     return 0;
       
   488     }
   413     }
   489 
   414 
   490 // -----------------------------------------------------------------------------
   415 // -----------------------------------------------------------------------------
   491 //
   416 //
   492 // -----------------------------------------------------------------------------
   417 // -----------------------------------------------------------------------------
   553 void CVcxHgMyVideosVideoModelHandler::VideoFetchingCompletedL( CMPXMedia* aVideo )
   478 void CVcxHgMyVideosVideoModelHandler::VideoFetchingCompletedL( CMPXMedia* aVideo )
   554     {
   479     {
   555     }
   480     }
   556 
   481 
   557 // -----------------------------------------------------------------------------
   482 // -----------------------------------------------------------------------------
   558 // Download updater calls this when resume has started from beginning.
       
   559 // -----------------------------------------------------------------------------
       
   560 // 
       
   561 void CVcxHgMyVideosVideoModelHandler::ResumeStartedFromBeginningL( TUint32 aMpxId )
       
   562     {
       
   563     }
       
   564 
       
   565 // -----------------------------------------------------------------------------
       
   566 // MPX Collection calls this callback when deletion of multiple videos completes.
   483 // MPX Collection calls this callback when deletion of multiple videos completes.
   567 // -----------------------------------------------------------------------------
   484 // -----------------------------------------------------------------------------
   568 // 
   485 // 
   569 void CVcxHgMyVideosVideoModelHandler::VideoDeletionCompletedL( TInt aFailedCount,
   486 void CVcxHgMyVideosVideoModelHandler::VideoDeletionCompletedL( TInt aFailedCount,
   570                                                                TMPXItemId aFailedMpxId )
   487                                                                TMPXItemId aFailedMpxId )