photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandlerremovefrom.h
equal
deleted
inserted
replaced
38 NONSHARABLE_CLASS( CGlxCommandHandlerRemoveFrom ) |
38 NONSHARABLE_CLASS( CGlxCommandHandlerRemoveFrom ) |
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 aContainerType specifies the container type. (Used to determine |
45 * @param aContainerType specifies the container type. (Used to determine |
46 * the correct confirmation note.) Only confirmation notes for EMPXAlbum |
46 * the correct confirmation note.) Only confirmation notes for EMPXAlbum |
47 * and EMPXTag are supported. A confirmation note will not be displayed for |
47 * and EMPXTag are supported. A confirmation note will not be displayed for |
48 * unsupported types. |
48 * unsupported types. |
49 */ |
49 * @param aFileName resource file |
|
50 */ |
50 IMPORT_C static CGlxCommandHandlerRemoveFrom* NewL( |
51 IMPORT_C static CGlxCommandHandlerRemoveFrom* NewL( |
51 MGlxMediaListProvider* aMediaListProvider, TMPXGeneralCategory aContainerType); |
52 MGlxMediaListProvider* aMediaListProvider, |
|
53 TMPXGeneralCategory aContainerType, const TDesC& aFileName); |
52 |
54 |
53 /** Destructor */ |
55 /** Destructor */ |
54 IMPORT_C ~CGlxCommandHandlerRemoveFrom(); |
56 IMPORT_C ~CGlxCommandHandlerRemoveFrom(); |
55 |
57 |
56 /** |
58 /** |
77 /** See @ref CGlxCommandHandler::DoIsDisabled*/ |
79 /** See @ref CGlxCommandHandler::DoIsDisabled*/ |
78 TBool DoIsDisabled(TInt aCommandId, MGlxMediaList& aList) const; |
80 TBool DoIsDisabled(TInt aCommandId, MGlxMediaList& aList) const; |
79 |
81 |
80 private: |
82 private: |
81 /** Second phase constructor */ |
83 /** Second phase constructor */ |
82 void ConstructL(); |
84 void ConstructL(const TDesC& aFileName); |
83 |
85 |
84 /** Constructor */ |
86 /** Constructor */ |
85 CGlxCommandHandlerRemoveFrom(MGlxMediaListProvider* aMediaListProvider, TMPXGeneralCategory aContainerType); |
87 CGlxCommandHandlerRemoveFrom(MGlxMediaListProvider* aMediaListProvider, TMPXGeneralCategory aContainerType); |
86 |
88 |
87 private: |
89 private: |