videoplayback/videoplaybackviews/src/mpxvideopdlplaybackview.cpp
branchRCL_3
changeset 45 baf439b22ddd
parent 26 67eb01668b0e
child 53 2d690156cf8f
equal deleted inserted replaced
26:67eb01668b0e 45:baf439b22ddd
    14 * Description:  Implementation of Video playback view
    14 * Description:  Implementation of Video playback view
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // Version : %version: 25 %
    19 // Version : %version: 27 %
    20 
    20 
    21 
    21 
    22 //  Include Files
    22 //  Include Files
    23 #include <aknViewAppUi.h>
    23 #include <aknViewAppUi.h>
    24 #include <mpxplaybackutility.h>
    24 #include <mpxplaybackutility.h>
    81 void CMPXVideoPdlPlaybackView::ConstructL()
    81 void CMPXVideoPdlPlaybackView::ConstructL()
    82 {
    82 {
    83     MPX_ENTER_EXIT(_L("CMPXVideoPdlPlaybackView::ConstructL()"));
    83     MPX_ENTER_EXIT(_L("CMPXVideoPdlPlaybackView::ConstructL()"));
    84 
    84 
    85     InitializeVideoPlaybackViewL();
    85     InitializeVideoPlaybackViewL();
       
    86 	
       
    87     iSyncClose = ETrue;
    86 }
    88 }
    87 
    89 
    88 // -------------------------------------------------------------------------------------------------
    90 // -------------------------------------------------------------------------------------------------
    89 //   CMPXVideoPdlPlaybackView::~CMPXVideoPdlPlaybackView()
    91 //   CMPXVideoPdlPlaybackView::~CMPXVideoPdlPlaybackView()
    90 // -------------------------------------------------------------------------------------------------
    92 // -------------------------------------------------------------------------------------------------
   235         {
   237         {
   236             //
   238             //
   237             //  For progressive download mode, this indicates that the file
   239             //  For progressive download mode, this indicates that the file
   238             //  could not be played until the entire file is downloaded.
   240             //  could not be played until the entire file is downloaded.
   239             //
   241             //
   240             DisplayErrorMessageL( R_MPX_VIDEO_PDL_WAIT_DL_COMPLETE_MSG );
   242             DisplayInfoMessageL( R_MPX_VIDEO_PDL_WAIT_DL_COMPLETE_MSG );
   241             ClosePlaybackViewWithErrorL();
   243             ClosePlaybackViewWithErrorL();
   242 
   244 
   243             break;
   245             break;
   244         }
   246         }
   245         case KErrEof:
   247         case KErrEof: