photosgallery/viewframework/commandhandlers/commandhandlerbase/inc/glxmedialistcommandhandler.h
branchRCL_3
changeset 25 191387a8b767
parent 0 4e91876724a2
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
   159 public: // From MGlxCommandHandler
   159 public: // From MGlxCommandHandler
   160     /// See @ref MGlxCommandHandler::ExecuteL */
   160     /// See @ref MGlxCommandHandler::ExecuteL */
   161     IMPORT_C virtual TBool ExecuteL(TInt aCommand);
   161     IMPORT_C virtual TBool ExecuteL(TInt aCommand);
   162 
   162 
   163     /// See @ref MGlxCommandHandler::DynInitMenuPaneL */
   163     /// See @ref MGlxCommandHandler::DynInitMenuPaneL */
   164     IMPORT_C virtual void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
   164     IMPORT_C virtual void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane,
       
   165                                             TBool aIsBrowseMode);
   165     
   166     
   166     /**
   167     /**
   167      * See @ref MGlxCommandHandler::Deactivate 
   168      * See @ref MGlxCommandHandler::Deactivate 
   168      * Default implementation does nothing
   169      * Default implementation does nothing
   169      */
   170      */
   326 	 *        should be appended.
   327 	 *        should be appended.
   327 	 */
   328 	 */
   328     void GetRequiredAttributesL(RArray< TMPXAttribute >& aAttributes, 
   329     void GetRequiredAttributesL(RArray< TMPXAttribute >& aAttributes, 
   329                                      TBool aFilterUsingSelection) const;
   330                                      TBool aFilterUsingSelection) const;
   330     
   331     
       
   332 	/**
       
   333      * Check if the command handler is currently disabled in browse mode
       
   334   	 * @param aCommandId command ID of the command.
       
   335 	 * @param aMediaList Medialist instance to check the counts
       
   336  	 * @param aIsContextItem ETrue if the current item is an context menu item.
       
   337      */
       
   338     TBool CGlxMediaListCommandHandler::CheckDisabledForBrowseModeL(
       
   339 													TInt aCommandId, 
       
   340 										            MGlxMediaList& aMediaList,
       
   341 													TBool aIsContextItem);
       
   342     
   331 private:
   343 private:
   332 
   344 
   333     /** Provider of media list */
   345     /** Provider of media list */
   334     MGlxMediaListProvider* iMediaListProvider;
   346     MGlxMediaListProvider* iMediaListProvider;
   335     
   347