videoplayback/videoplaybackviews/src/mpxvideoplaybackview.cpp
branchRCL_3
changeset 12 7f2b2a65da29
parent 9 5294c000a26d
child 18 baf439b22ddd
equal deleted inserted replaced
11:8970fbd719ec 12:7f2b2a65da29
    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: 18 %
    19 // Version : %version: 20 %
    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>
   222 
   222 
   223     if ( ! iPlaylistView || ( ! IsAppInFrontL() && ! iFileDetails->iPausableStream ) )
   223     if ( ! iPlaylistView || ( ! IsAppInFrontL() && ! iFileDetails->iPausableStream ) )
   224     {
   224     {
   225         HandleCommandL( EAknSoftkeyBack );
   225         HandleCommandL( EAknSoftkeyBack );
   226     }
   226     }
   227     else if ( iPlaylistView )
   227 }
   228     {
   228 
   229         //
   229 // -------------------------------------------------------------------------------------------------
   230         //  New item from the playlist clean up the view
   230 //   CMPXVideoPlaybackView::HandleInitializingStateL()
   231         //
   231 // -------------------------------------------------------------------------------------------------
   232         RemoveBackgroundSurfaceL();
   232 //
   233     }
   233 void CMPXVideoPlaybackView::HandleInitializingStateL( TMPXPlaybackState aLastState )
   234 }
   234 {
   235 
   235     MPX_ENTER_EXIT(_L("CMPXVideoPlaybackView::HandleInitializingStateL()"),
       
   236                    _L("aLastState = %d"), aLastState );
       
   237 
       
   238     //
       
   239     //  For multi item playlists, reset the container and controls for next
       
   240     //  item in playlist
       
   241     //
       
   242     if ( IsMultiItemPlaylist() )
       
   243     {
       
   244         DoHandleInitializingStateL( aLastState );
       
   245     }
       
   246 }
   236 
   247 
   237 // EOF
   248 // EOF