photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxdownloadsfullscreenviewplugin.cpp
branchRCL_3
changeset 32 78ad99c24f08
parent 0 4e91876724a2
equal deleted inserted replaced
30:a60acebbbd9d 32:78ad99c24f08
    44 #include <mpxmediageneraldefs.h>
    44 #include <mpxmediageneraldefs.h>
    45 #include <StringLoader.h>
    45 #include <StringLoader.h>
    46 
    46 
    47 #include <glxfullscreenviewdata.rsg>
    47 #include <glxfullscreenviewdata.rsg>
    48 #include <glxicons.mbg> // icons 
    48 #include <glxicons.mbg> // icons 
       
    49 #include <glxcommandhandlervideoplayback.h>
    49 
    50 
    50 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc");
    51 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc");
    51 
    52 
    52 
    53 
    53 
    54 
   108 // ---------------------------------------------------------------------------
   109 // ---------------------------------------------------------------------------
   109 //
   110 //
   110 void CGlxDownloadsFullScreenViewPlugin::AddCommandHandlersL()
   111 void CGlxDownloadsFullScreenViewPlugin::AddCommandHandlersL()
   111     {
   112     {
   112     GLX_LOG_ENTRY_EXIT_LEAVE_L("CGlxDownloadsFullScreenViewPlugin::AddCommandHandlersL()");
   113     GLX_LOG_ENTRY_EXIT_LEAVE_L("CGlxDownloadsFullScreenViewPlugin::AddCommandHandlersL()");
       
   114     
       
   115     //Fix for error ID EVTY-7M87LF
       
   116 	//@ Registration of Video Playback Command handler has to before UPnP.
       
   117 	//@ else UPnP will not get play command once video playback command is consumed.
       
   118 	iFullScreenView->AddCommandHandlerL(
       
   119 			CGlxCommandHandlerVideoPlayback::NewL(iFullScreenView));
       
   120 	
   113     CGlxFullScreenViewPluginBase::AddCommandHandlersL();
   121     CGlxFullScreenViewPluginBase::AddCommandHandlersL();
   114     
   122     
   115     TGlxHelpContext helpInfo;
   123     TGlxHelpContext helpInfo;
   116     helpInfo.iBrowseContext = LGAL_HLP_DOWNLOADS_FULLSCREEN;
   124     helpInfo.iBrowseContext = LGAL_HLP_DOWNLOADS_FULLSCREEN;
   117     
   125