35 NONSHARABLE_CLASS (CGlxCommandHandlerAiwShareOnOvi) |
35 NONSHARABLE_CLASS (CGlxCommandHandlerAiwShareOnOvi) |
36 : public CGlxCommandHandlerAiwBase |
36 : public CGlxCommandHandlerAiwBase |
37 { |
37 { |
38 public: |
38 public: |
39 /** |
39 /** |
40 * Two-phase constructor |
40 * Two-phase constructor |
41 * @param aMediaListProvider object that provides the media list |
41 * @param aMediaListProvider object that provides the media list |
42 * @param aMenuResource The menu resource that the AIW command will be |
42 * @param aMenuResource The menu resource that the AIW command will be |
43 * implented in |
43 * implented in |
44 * @return Fully constructed command handler |
44 * @param aFileName resource file |
45 * @warning ConstructL of base class is called. If ConstructL is |
45 * @return Fully constructed command handler |
46 * implemented in this class, then care must be taken to call |
46 * @warning ConstructL of base class is called. If ConstructL is |
47 * CGlxCommandHandlerAiwBase::ConstructL |
47 * implemented in this class, then care must be taken to call |
48 */ |
48 * CGlxCommandHandlerAiwBase::ConstructL |
49 IMPORT_C static CGlxCommandHandlerAiwShareOnOvi* NewL( |
49 */ |
50 MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource); |
50 IMPORT_C static CGlxCommandHandlerAiwShareOnOvi* NewL( |
|
51 MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource, |
|
52 const TDesC& aFileName); |
51 |
53 |
52 protected: // From CGlxMediaListCommandHandler |
54 protected: // From CGlxMediaListCommandHandler |
53 /** |
55 /** |
54 * See @ref CGlxMediaListCommandHandler::DoGetRequiredAttributesL |
56 * See @ref CGlxMediaListCommandHandler::DoGetRequiredAttributesL |
55 */ |
57 */ |