photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxalbumfullscreenviewplugin.cpp
branchRCL_3
changeset 25 191387a8b767
parent 0 4e91876724a2
child 32 78ad99c24f08
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
    89     // Do nothing
    89     // Do nothing
    90     }
    90     }
    91 
    91 
    92     
    92     
    93 void CGlxAlbumFullScreenViewPlugin::AddCommandHandlersL()
    93 void CGlxAlbumFullScreenViewPlugin::AddCommandHandlersL()
    94     {
    94 	{
    95     CGlxFullScreenViewPluginBase::AddCommandHandlersL();
    95 	CGlxFullScreenViewPluginBase::AddCommandHandlersL();
    96     // Remove from Album.
    96 	TFileName uiutilitiesrscfile;
    97     iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(iFullScreenView, EMPXAlbum));     
    97 	uiutilitiesrscfile.Append(
    98     
    98 			CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL());
    99     TGlxHelpContext helpInfo;
    99 	// Remove from Album.
   100     helpInfo.iBrowseContext = LGAL_HLP_ALBUM_FULLSCREEN;
   100 	iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(
   101    
   101 			iFullScreenView, EMPXAlbum, uiutilitiesrscfile));
   102     iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); 
       
   103     }
       
   104 
   102 
       
   103 	TGlxHelpContext helpInfo;
       
   104 	helpInfo.iBrowseContext = LGAL_HLP_ALBUM_FULLSCREEN;
       
   105 
       
   106 	iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
       
   107 	}
   105 
   108 
   106 
   109 
   107 void CGlxAlbumFullScreenViewPlugin::GetResourceFilenameL(TFileName& aResFile)
   110 void CGlxAlbumFullScreenViewPlugin::GetResourceFilenameL(TFileName& aResFile)
   108     {
   111     {
   109     TParse parse;
   112     TParse parse;