photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandlerrename.h
branchRCL_3
changeset 25 191387a8b767
parent 0 4e91876724a2
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
    39 NONSHARABLE_CLASS(CGlxCommandHandlerRename) :
    39 NONSHARABLE_CLASS(CGlxCommandHandlerRename) :
    40     public CGlxMpxCommandCommandHandler
    40     public CGlxMpxCommandCommandHandler
    41 	{
    41 	{
    42 public:
    42 public:
    43     /**
    43     /**
    44      * Two-phase constructor
    44 	 * Two-phase constructor
    45      * @param aMediaListProvider object that provides the media list
    45 	 * @param aMediaListProvider object that provides the media list
    46      * @param aHasToolbarItem Whether Command Should be toolbar item (ETrue - if toolbar item)
    46 	 * @param aHasToolbarItem Whether Command Should be toolbar item (ETrue - if toolbar item)
    47      */
    47 	 * @param aFileName resource file
       
    48 	 */
    48 	IMPORT_C static CGlxCommandHandlerRename* NewL(
    49 	IMPORT_C static CGlxCommandHandlerRename* NewL(
    49 	    MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem );
    50 			MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem,
       
    51 			const TDesC& aFileName);
    50 	    
    52 	    
    51 	/** Destructor */
    53 	/** Destructor */
    52 	IMPORT_C ~CGlxCommandHandlerRename();
    54 	IMPORT_C ~CGlxCommandHandlerRename();
    53 	
    55 	
    54 protected:
    56 protected:
    73     static TBool HandleErrorL(TAny* aPtr);
    75     static TBool HandleErrorL(TAny* aPtr);
    74     inline void HandleErrorL();
    76     inline void HandleErrorL();
    75 
    77 
    76 private:
    78 private:
    77     /** Second phase constructor */
    79     /** Second phase constructor */
    78 	void ConstructL();
    80 	void ConstructL(const TDesC& aFileName);
    79 
    81 
    80     /**
    82     /**
    81      *  Constructor
    83      *  Constructor
    82      * @param aMediaListProvider object that provides the media list
    84      * @param aMediaListProvider object that provides the media list
    83      */
    85      */