43 /** |
43 /** |
44 * Two-phase constructor |
44 * Two-phase constructor |
45 * @param aMediaListProvider object that provides the media list |
45 * @param aMediaListProvider object that provides the media list |
46 * @param aMenuResource The menu resource that the AIW command will be |
46 * @param aMenuResource The menu resource that the AIW command will be |
47 * implented in |
47 * implented in |
|
48 * @param aCommandSingleClick Flag to identify single click command |
48 * @return Fully constructed command handler |
49 * @return Fully constructed command handler |
49 * @warning ConstructL of base class is called. If ConstructL is |
50 * @warning ConstructL of base class is called. If ConstructL is |
50 * implemented in this class, then care must be taken to call |
51 * implemented in this class, then care must be taken to call |
51 * CGlxCommandHandlerAiwBase::ConstructL |
52 * CGlxCommandHandlerAiwBase::ConstructL |
52 */ |
53 */ |
53 IMPORT_C static CGlxCommandHandlerAiwEdit* NewL( |
54 IMPORT_C static CGlxCommandHandlerAiwEdit* NewL( |
54 MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource); |
55 MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource, |
|
56 TBool aCommandSingleClick=EFalse); |
55 |
57 |
56 protected: // From CGlxMediaListCommandHandler |
58 protected: // From CGlxMediaListCommandHandler |
57 /** |
59 /** |
58 * See @ref CGlxMediaListCommandHandler::DoGetRequiredAttributesL |
60 * See @ref CGlxMediaListCommandHandler::DoGetRequiredAttributesL |
59 */ |
61 */ |
72 /** |
74 /** |
73 * Constructor |
75 * Constructor |
74 */ |
76 */ |
75 CGlxCommandHandlerAiwEdit(MGlxMediaListProvider* aMediaListProvider, |
77 CGlxCommandHandlerAiwEdit(MGlxMediaListProvider* aMediaListProvider, |
76 TInt aMenuResource); |
78 TInt aMenuResource); |
|
79 |
|
80 /** |
|
81 * Second phase constructor |
|
82 * @param aCommandSingleClick Flag to identify single click command |
|
83 */ |
|
84 void ConstructL(TBool aCommandSingleClick); |
|
85 |
|
86 private: |
|
87 TBool iCommandSingleClick; |
77 }; |
88 }; |
78 |
89 |
79 #endif // C_GLXCOMMANDHANDLERAIWEDIT_H |
90 #endif // C_GLXCOMMANDHANDLERAIWEDIT_H |