40 NONSHARABLE_CLASS (CGlxCommandHandlerAiwShowMap) |
40 NONSHARABLE_CLASS (CGlxCommandHandlerAiwShowMap) |
41 : public CGlxCommandHandlerAiwBase |
41 : public CGlxCommandHandlerAiwBase |
42 { |
42 { |
43 public: |
43 public: |
44 /** |
44 /** |
45 * Two-phase constructor |
45 * Two-phase constructor |
46 * @param aMediaListProvider object that provides the media list |
46 * @param aMediaListProvider object that provides the media list |
47 * @param aMenuResource The menu resource that the AIW command will be |
47 * @param aMenuResource The menu resource that the AIW command will be |
48 * implented in |
48 * implented in |
49 * @return Fully constructed command handler |
49 * @param aFileName resource file |
50 * @warning ConstructL of base class is called. If ConstructL is |
50 * @return Fully constructed command handler |
51 * implemented in this class, then care must be taken to call |
51 * @warning ConstructL of base class is called. If ConstructL is |
52 * CGlxCommandHandlerAiwBase::ConstructL |
52 * implemented in this class, then care must be taken to call |
53 */ |
53 * CGlxCommandHandlerAiwBase::ConstructL |
|
54 */ |
54 IMPORT_C static CGlxCommandHandlerAiwShowMap* NewL( |
55 IMPORT_C static CGlxCommandHandlerAiwShowMap* NewL( |
55 MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource); |
56 MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource, |
|
57 const TDesC& aFileName); |
56 |
58 |
57 /** |
59 /** |
58 * Perform any actions needed before the options menu is displayed. |
60 * Perform any actions needed before the options menu is displayed. |
59 * The view calling this must first arrange a wait dialog to be displayed, as this operation may take |
61 * The view calling this must first arrange a wait dialog to be displayed, as this operation may take |
60 * a long time to complete |
62 * a long time to complete |