photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxalbumfullscreenviewplugin.cpp
equal
deleted
inserted
replaced
37 #include <mpxcollectionutility.h> |
37 #include <mpxcollectionutility.h> |
38 #include <mpxmediageneraldefs.h> |
38 #include <mpxmediageneraldefs.h> |
39 |
39 |
40 #include "glxcommandhandlerdetails.h" |
40 #include "glxcommandhandlerdetails.h" |
41 #include "glxfullscreenview.h" |
41 #include "glxfullscreenview.h" |
|
42 #include <glxcommandhandlervideoplayback.h> |
42 |
43 |
43 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc"); |
44 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc"); |
44 |
45 |
45 // --------------------------------------------------------------------------- |
46 // --------------------------------------------------------------------------- |
46 // C++ default constructor can NOT contain any code, that |
47 // C++ default constructor can NOT contain any code, that |
90 } |
91 } |
91 |
92 |
92 |
93 |
93 void CGlxAlbumFullScreenViewPlugin::AddCommandHandlersL() |
94 void CGlxAlbumFullScreenViewPlugin::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 TFileName uiutilitiesrscfile; |
103 TFileName uiutilitiesrscfile; |
97 uiutilitiesrscfile.Append( |
104 uiutilitiesrscfile.Append( |
98 CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL()); |
105 CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL()); |
99 // Remove from Album. |
106 // Remove from Album. |