photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxtagfullscreenviewplugin.cpp
equal
deleted
inserted
replaced
31 #include <glxcommandhandlerhelp.h> |
31 #include <glxcommandhandlerhelp.h> |
32 #include <glxtracer.h> |
32 #include <glxtracer.h> |
33 #include <glxlog.h> |
33 #include <glxlog.h> |
34 |
34 |
35 #include <glxresourceutilities.h> // for CGlxResourceUtilities |
35 #include <glxresourceutilities.h> // for CGlxResourceUtilities |
36 |
36 #include <glxcommandhandlervideoplayback.h> |
37 |
|
38 |
37 |
39 _LIT(KGlxTileResource,"glxfullscreenviewdata.rsc"); //TagTileView Resource File |
38 _LIT(KGlxTileResource,"glxfullscreenviewdata.rsc"); //TagTileView Resource File |
40 |
39 |
41 // --------------------------------------------------------------------------- |
40 // --------------------------------------------------------------------------- |
42 // C++ default constructor can NOT contain any code, that |
41 // C++ default constructor can NOT contain any code, that |
91 // Adds Command Handlers to the view |
90 // Adds Command Handlers to the view |
92 //----------------------------------------------------------------------------- |
91 //----------------------------------------------------------------------------- |
93 void CGlxTagFullScreenViewPlugin::AddCommandHandlersL() |
92 void CGlxTagFullScreenViewPlugin::AddCommandHandlersL() |
94 { |
93 { |
95 TRACER( "CGlxTagFullScreenViewPlugin::AddCommandHandlersL"); |
94 TRACER( "CGlxTagFullScreenViewPlugin::AddCommandHandlersL"); |
96 |
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 |
97 CGlxFullScreenViewPluginBase::AddCommandHandlersL(); |
102 CGlxFullScreenViewPluginBase::AddCommandHandlersL(); |
98 TFileName uiutilitiesrscfile; |
103 TFileName uiutilitiesrscfile; |
99 uiutilitiesrscfile.Append( |
104 uiutilitiesrscfile.Append( |
100 CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL()); |
105 CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL()); |
101 |
106 |