photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandleraiwassign.h
branchRCL_3
changeset 25 191387a8b767
parent 14 ce1c7ad1f18b
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
    39 NONSHARABLE_CLASS (CGlxCommandHandlerAiwAssign)
    39 NONSHARABLE_CLASS (CGlxCommandHandlerAiwAssign)
    40 	: public CGlxCommandHandlerAiwBase
    40 	: public CGlxCommandHandlerAiwBase
    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 aMenuResource The menu resource that the AIW command will be 
    46 	 * @param aMenuResource The menu resource that the AIW command will be 
    47      *          implented in
    47 	 *          implented in
    48      * @return Fully constructed command handler
    48      * @param aFileName resource file
    49      * @warning ConstructL of base class is called. If ConstructL is 
    49 	 * @return Fully constructed command handler
    50      *          implemented in this class, then care must be taken to call 
    50 	 * @warning ConstructL of base class is called. If ConstructL is 
    51      *          CGlxCommandHandlerAiwBase::ConstructL
    51 	 *          implemented in this class, then care must be taken to call 
    52      */
    52 	 *          CGlxCommandHandlerAiwBase::ConstructL
       
    53 	 */
    53 	IMPORT_C static CGlxCommandHandlerAiwAssign* NewL(
    54 	IMPORT_C static CGlxCommandHandlerAiwAssign* NewL(
    54 	    MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource);
    55 			MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource,
       
    56 			const TDesC& aFileName);
    55 	
    57 	
    56 	~CGlxCommandHandlerAiwAssign();
    58 	~CGlxCommandHandlerAiwAssign();
    57 	
    59 	
    58 protected: // From CGlxMediaListCommandHandler
    60 protected: // From CGlxMediaListCommandHandler
    59 	/**
    61 	/**
    75     /**
    77     /**
    76      * Constructor
    78      * Constructor
    77      */
    79      */
    78     CGlxCommandHandlerAiwAssign(MGlxMediaListProvider* aMediaListProvider, 
    80     CGlxCommandHandlerAiwAssign(MGlxMediaListProvider* aMediaListProvider, 
    79         TInt aMenuResource);
    81         TInt aMenuResource);
    80     
    82     /**
    81     void ConstructL();
    83      * @param aFileName resource file
       
    84      */
       
    85     void ConstructL(const TDesC& aFileName);
    82 
    86 
    83 private: // Data Members
    87 private: // Data Members
    84     
    88     
    85     CFeatureDiscovery* iFeatManager;
    89     CFeatureDiscovery* iFeatManager;
    86     };
    90     };