38 NONSHARABLE_CLASS (CGlxCommandHandlerAiwPrintPreview) |
38 NONSHARABLE_CLASS (CGlxCommandHandlerAiwPrintPreview) |
39 : public CGlxCommandHandlerAiwBase |
39 : public CGlxCommandHandlerAiwBase |
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 aMenuResource The menu resource that the AIW command will be |
45 * @param aMenuResource The menu resource that the AIW command will be |
46 * implented in |
46 * implented in |
47 * @return Fully constructed command handler |
47 * @param aFileName resource file |
48 * @warning ConstructL of base class is called. If ConstructL is |
48 * @return Fully constructed command handler |
49 * implemented in this class, then care must be taken to call |
49 * @warning ConstructL of base class is called. If ConstructL is |
50 * CGlxCommandHandlerAiwBase::ConstructL |
50 * implemented in this class, then care must be taken to call |
51 */ |
51 * CGlxCommandHandlerAiwBase::ConstructL |
|
52 */ |
52 IMPORT_C static CGlxCommandHandlerAiwPrintPreview* NewL( |
53 IMPORT_C static CGlxCommandHandlerAiwPrintPreview* NewL( |
53 MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource); |
54 MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource, |
|
55 const TDesC& aFileName); |
54 void PreDynInitMenuPaneL(TInt aResourceId); |
56 void PreDynInitMenuPaneL(TInt aResourceId); |
55 |
57 |
56 protected: // From CGlxMediaListCommandHandler |
58 protected: // From CGlxMediaListCommandHandler |
57 /** |
59 /** |
58 * See @ref CGlxMediaListCommandHandler::DoGetRequiredAttributesL |
60 * See @ref CGlxMediaListCommandHandler::DoGetRequiredAttributesL |