33 */ |
33 */ |
34 NONSHARABLE_CLASS (CGlxCommandHandlerDetails) |
34 NONSHARABLE_CLASS (CGlxCommandHandlerDetails) |
35 : public CGlxMediaListCommandHandler |
35 : public CGlxMediaListCommandHandler |
36 { |
36 { |
37 public: |
37 public: |
38 /** |
38 /** |
39 * Create command handler for launcing Metadata view or Tag manager |
39 * Create command handler for launcing Metadata view or Tag manager |
40 * use above method for creating command handler |
40 * use above method for creating command handler |
41 * |
41 * |
42 * @param aCommandId Command id for command handler |
42 * @param aCommandId Command id for command handler |
43 * @param aMediaListProvider media list owner |
43 * @param aMediaListProvider media list owner |
44 */ |
44 * @param aFileName resource file |
45 IMPORT_C static CGlxCommandHandlerDetails* NewL( |
45 */ |
46 MGlxMediaListProvider* aMediaListProvider ); |
46 IMPORT_C static CGlxCommandHandlerDetails* NewL( |
47 |
47 MGlxMediaListProvider* aMediaListProvider, const TDesC& aFileName); |
48 /** Destructor */ |
48 |
49 IMPORT_C ~CGlxCommandHandlerDetails(); |
49 /** Destructor */ |
|
50 IMPORT_C ~CGlxCommandHandlerDetails(); |
50 |
51 |
51 private: |
52 private: |
52 |
53 |
53 /** Second phase constructor |
54 /** Second phase constructor |
54 * |
55 * |
55 * @param aCommandId Command id for command handler |
56 * @param aCommandId Command id for command handler |
56 */ |
57 * @param aFileName resource file |
57 void ConstructL(); |
58 */ |
58 |
59 void ConstructL(const TDesC& aFileName); |
59 /** |
60 |
60 * Constructor |
61 /** |
61 * @param aMediaListProvider The owner of the media list to use |
62 * Constructor |
62 */ |
63 * @param aMediaListProvider The owner of the media list to use |
63 CGlxCommandHandlerDetails( MGlxMediaListProvider* aMediaListProvider ); |
64 */ |
|
65 CGlxCommandHandlerDetails(MGlxMediaListProvider* aMediaListProvider); |
64 |
66 |
65 private: // From CGlxMediaListCommandHandler |
67 private: // From CGlxMediaListCommandHandler |
66 |
68 |
67 /** See CGlxCommandHandler::DoActivateL */ |
69 /** See CGlxCommandHandler::DoActivateL */ |
68 virtual void DoActivateL(TInt aViewId); |
70 virtual void DoActivateL(TInt aViewId); |