photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxmonthsfullscreenviewplugin.cpp
equal
deleted
inserted
replaced
39 #include <mpxmediageneraldefs.h> |
39 #include <mpxmediageneraldefs.h> |
40 |
40 |
41 #include "glxfullscreenview.h" |
41 #include "glxfullscreenview.h" |
42 |
42 |
43 #include <glxcommandhandlers.hrh> |
43 #include <glxcommandhandlers.hrh> |
|
44 #include <glxcommandhandlervideoplayback.h> |
44 |
45 |
45 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc"); |
46 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc"); |
46 |
47 |
47 // --------------------------------------------------------------------------- |
48 // --------------------------------------------------------------------------- |
48 // C++ default constructor can NOT contain any code, that |
49 // C++ default constructor can NOT contain any code, that |
95 // AddCommandHandlersL |
96 // AddCommandHandlersL |
96 // --------------------------------------------------------------------------- |
97 // --------------------------------------------------------------------------- |
97 // |
98 // |
98 void CGlxMonthsFullScreenViewPlugin::AddCommandHandlersL() |
99 void CGlxMonthsFullScreenViewPlugin::AddCommandHandlersL() |
99 { |
100 { |
|
101 //Fix for error ID EVTY-7M87LF |
|
102 //@ Registration of Video Playback Command handler has to before UPnP. |
|
103 //@ else UPnP will not get play command once video playback command is consumed. |
|
104 iFullScreenView->AddCommandHandlerL( |
|
105 CGlxCommandHandlerVideoPlayback::NewL(iFullScreenView)); |
|
106 |
100 CGlxFullScreenViewPluginBase::AddCommandHandlersL(); |
107 CGlxFullScreenViewPluginBase::AddCommandHandlersL(); |
101 |
108 |
102 TGlxHelpContext helpInfo; |
109 TGlxHelpContext helpInfo; |
103 helpInfo.iBrowseContext = LGAL_HLP_MONTH_FULLSCREEN; |
110 helpInfo.iBrowseContext = LGAL_HLP_MONTH_FULLSCREEN; |
104 iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); |
111 iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); |