photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandlerdelete.h
branchRCL_3
changeset 25 191387a8b767
parent 0 4e91876724a2
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
    38 NONSHARABLE_CLASS( CGlxCommandHandlerDelete)
    38 NONSHARABLE_CLASS( CGlxCommandHandlerDelete)
    39     : public CGlxMpxCommandCommandHandler
    39     : public CGlxMpxCommandCommandHandler
    40 	{
    40 	{
    41 public:
    41 public:
    42     /**
    42     /**
    43      * Two-phase constructor
    43 	 * Two-phase constructor
    44      * @param aMediaListProvider object that provides the media list
    44 	 * @param aMediaListProvider object that provides the media list
    45      * @param aIsContainerList If ETrue, shows "delete container"
    45 	 * @param aIsContainerList If ETrue, shows "delete container"
    46      *                         confirmation notes and does not allow
    46 	 *                         confirmation notes and does not allow
    47      *                         deleting system items
    47 	 *                         deleting system items
    48      *                         If EFalse, shows "delete item" 
    48 	 *                         If EFalse, shows "delete item" 
    49      *                         confirmation notes and does not check 
    49 	 *                         confirmation notes and does not check 
    50      *                         for system items
    50 	 *                         for system items
    51      */
    51 	 * @param aFileName resource file
       
    52 	 */
    52 	IMPORT_C static CGlxCommandHandlerDelete* NewL(
    53 	IMPORT_C static CGlxCommandHandlerDelete* NewL(
    53 	    MGlxMediaListProvider* aMediaListProvider, TBool aIsContainerList, TBool aHasToolbarItem);
    54 			MGlxMediaListProvider* aMediaListProvider, TBool aIsContainerList,
    54 	    
    55 			TBool aHasToolbarItem, const TDesC& aFileName);
       
    56 
    55 	/** Destructor */
    57 	/** Destructor */
    56 	IMPORT_C ~CGlxCommandHandlerDelete();
    58 	IMPORT_C ~CGlxCommandHandlerDelete();
    57     
    59     
    58 public: // From CGlxMpxCommandCommandHandler
    60 public: // From CGlxMpxCommandCommandHandler
    59     /** See @ref CGlxMpxCommandCommandHandler::CreateCommandL */
    61     /** See @ref CGlxMpxCommandCommandHandler::CreateCommandL */
    77      /** See @ref CGlxCommandHandler::PopulateToolbar*/
    79      /** See @ref CGlxCommandHandler::PopulateToolbar*/
    78 	void PopulateToolbarL();
    80 	void PopulateToolbarL();
    79 
    81 
    80 private:
    82 private:
    81     /** Second phase constructor */
    83     /** Second phase constructor */
    82 	void ConstructL(TBool aIsContainerList);
    84 	void ConstructL(TBool aIsContainerList, const TDesC& aFileName);
    83 
    85 
    84     /** Constructor */
    86     /** Constructor */
    85 	CGlxCommandHandlerDelete(MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem);
    87 	CGlxCommandHandlerDelete(MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem);
    86 	
    88 	
    87 	/*single clk chngs-to update delete option*/
    89 	/*single clk chngs-to update delete option*/