photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandlernewmedia.h
equal
deleted
inserted
replaced
37 */ |
37 */ |
38 NONSHARABLE_CLASS(CGlxCommandHandlerNewMedia) : public CGlxMpxCommandCommandHandler |
38 NONSHARABLE_CLASS(CGlxCommandHandlerNewMedia) : public CGlxMpxCommandCommandHandler |
39 { |
39 { |
40 public: |
40 public: |
41 /** |
41 /** |
42 * Two-phase constructor: |
42 * Two-phase constructor: |
43 * @param aMediaListProvider object that provides the media list. |
43 * @param aMediaListProvider object that provides the media list. |
44 */ |
44 * @param aFileName resource file |
45 IMPORT_C static CGlxCommandHandlerNewMedia* NewL(MGlxMediaListProvider* aMediaListProvider); |
45 */ |
|
46 IMPORT_C static CGlxCommandHandlerNewMedia* NewL( |
|
47 MGlxMediaListProvider* aMediaListProvider, const TDesC& aFileName); |
46 |
48 |
47 /** Destructor */ |
49 /** Destructor */ |
48 IMPORT_C ~CGlxCommandHandlerNewMedia(); |
50 IMPORT_C ~CGlxCommandHandlerNewMedia(); |
49 |
51 |
50 /** |
52 /** |
76 /** See @ref CGlxMediaListCommandHandler::BypassFiltersForExecute */ |
78 /** See @ref CGlxMediaListCommandHandler::BypassFiltersForExecute */ |
77 IMPORT_C TBool BypassFiltersForExecute() const; |
79 IMPORT_C TBool BypassFiltersForExecute() const; |
78 |
80 |
79 private: |
81 private: |
80 /** Second phase constructor */ |
82 /** Second phase constructor */ |
81 void ConstructL(); |
83 void ConstructL(const TDesC& aFileName); |
82 |
84 |
83 /** |
85 /** |
84 * First phase constructor |
86 * First phase constructor |
85 * @param aMediaListOwner object that provides the media list. |
87 * @param aMediaListOwner object that provides the media list. |
86 */ |
88 */ |