photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxcameraalbumfullscreenviewplugin.cpp
equal
deleted
inserted
replaced
36 #include <glxresourceutilities.h> // for CGlxResourceUtilities |
36 #include <glxresourceutilities.h> // for CGlxResourceUtilities |
37 #include <mpxcollectionpath.h> |
37 #include <mpxcollectionpath.h> |
38 #include <mpxcollectionutility.h> |
38 #include <mpxcollectionutility.h> |
39 #include <mpxmediageneraldefs.h> |
39 #include <mpxmediageneraldefs.h> |
40 #include "glxfullscreenview.h" |
40 #include "glxfullscreenview.h" |
|
41 #include <glxcommandhandlervideoplayback.h> |
41 |
42 |
42 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc"); |
43 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc"); |
43 |
44 |
44 // --------------------------------------------------------------------------- |
45 // --------------------------------------------------------------------------- |
45 // C++ default constructor can NOT contain any code, that |
46 // C++ default constructor can NOT contain any code, that |
90 } |
91 } |
91 |
92 |
92 |
93 |
93 void CGlxCameraAlbumFullScreenViewPlugin::AddCommandHandlersL() |
94 void CGlxCameraAlbumFullScreenViewPlugin::AddCommandHandlersL() |
94 { |
95 { |
|
96 //Fix for error ID EVTY-7M87LF |
|
97 //@ Registration of Video Playback Command handler has to before UPnP. |
|
98 //@ else UPnP will not get play command once video playback command is consumed. |
|
99 iFullScreenView->AddCommandHandlerL( |
|
100 CGlxCommandHandlerVideoPlayback::NewL(iFullScreenView)); |
|
101 |
95 CGlxFullScreenViewPluginBase::AddCommandHandlersL(); |
102 CGlxFullScreenViewPluginBase::AddCommandHandlersL(); |
96 |
103 |
97 TGlxHelpContext helpInfo; |
104 TGlxHelpContext helpInfo; |
98 helpInfo.iBrowseContext = LGAL_HLP_CAMERA_ALBUM_FULLSCRN; |
105 helpInfo.iBrowseContext = LGAL_HLP_CAMERA_ALBUM_FULLSCRN; |
99 iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); |
106 iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); |