photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxmainfullscreenviewplugin.cpp
branchRCL_3
changeset 32 78ad99c24f08
parent 30 a60acebbbd9d
equal deleted inserted replaced
30:a60acebbbd9d 32:78ad99c24f08
    35 #include <bautils.h>
    35 #include <bautils.h>
    36 
    36 
    37 #include <glxfullscreenview.h>
    37 #include <glxfullscreenview.h>
    38 #include <glxlog.h>
    38 #include <glxlog.h>
    39 #include <glxtracer.h>
    39 #include <glxtracer.h>
    40 
    40 #include <glxcommandhandlervideoplayback.h>
    41 
    41 
    42 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc");
    42 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc");
    43 
    43 
    44 
    44 
    45 // ---------------------------------------------------------------------------
    45 // ---------------------------------------------------------------------------
    98 // AddCommandHandlersL
    98 // AddCommandHandlersL
    99 // ---------------------------------------------------------------------------
    99 // ---------------------------------------------------------------------------
   100 //
   100 //
   101 void CGlxMainFullScreenViewPlugin::AddCommandHandlersL()
   101 void CGlxMainFullScreenViewPlugin::AddCommandHandlersL()
   102     {
   102     {
       
   103 	//Fix for error ID EVTY-7M87LF
       
   104 	//@ Registration of Video Playback Command handler has to before UPnP.
       
   105 	//@ else UPnP will not get play command once video playback command is consumed.
       
   106 	iFullScreenView->AddCommandHandlerL(
       
   107 			CGlxCommandHandlerVideoPlayback::NewL(iFullScreenView));
       
   108 	
   103     CGlxFullScreenViewPluginBase::AddCommandHandlersL();
   109     CGlxFullScreenViewPluginBase::AddCommandHandlersL();
   104 
   110 
   105     TGlxHelpContext helpInfo;
   111     TGlxHelpContext helpInfo;
   106     helpInfo.iBrowseContext = LGAL_HLP_ALL_FULLSCREEN;
   112     helpInfo.iBrowseContext = LGAL_HLP_ALL_FULLSCREEN;
   107     
   113