diff -r c499df2dbb33 -r 112f0ac2d1f0 ui/commandhandlers/commandhandlerbase/inc/glxmpxcommandhandler.h --- a/ui/commandhandlers/commandhandlerbase/inc/glxmpxcommandhandler.h Mon May 03 12:31:32 2010 +0300 +++ b/ui/commandhandlers/commandhandlerbase/inc/glxmpxcommandhandler.h Mon May 03 00:53:50 2010 +0530 @@ -30,14 +30,19 @@ #endif class MGlxMediaList; class HbProgressDialog; +class HbAction; class GLX_COMMANDHANDLERBASE_EXPORT GlxMpxCommandHandler : public GlxCommandHandler, public MGlxMediaListObserver { +Q_OBJECT public: GlxMpxCommandHandler(); virtual ~GlxMpxCommandHandler(); virtual void executeCommand(int commandId,int collectionId,QList indexList = QList() ); +public slots: + void messageDialogClose(HbAction* action); + protected: // From MGlxMediaListObserver /// See @ref MGlxMediaListObserver::HandleItemAddedL void HandleItemAddedL(TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList); @@ -81,19 +86,21 @@ virtual QString ProgressTextL() const; virtual QString ConfirmationTextL(bool multiSelection = false) const; private: - bool ConfirmationNoteL(MGlxMediaList& aMediaList) const; - bool ConfirmationNoteSingleL(MGlxMediaList& aMediaList) const; - bool ConfirmationNoteMultipleL(MGlxMediaList& aMediaList) const; + void ConfirmationNoteL(MGlxMediaList& aMediaList); + void ConfirmationNoteSingleL(MGlxMediaList& aMediaList) ; + void ConfirmationNoteMultipleL(MGlxMediaList& aMediaList) ; void ProgressNoteL(TInt aCommandId); void DismissProgressNoteL(); void CompletionNoteL() const; void TryExitL(TInt aErrorCode); void CreateMediaListL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType) ; void CreateMediaListAlbumItemL(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType); + void executeMpxCommand(bool execute); private: // Instance of Media List MGlxMediaList* iMediaList; TBool iProgressComplete; HbProgressDialog* mProgressDialog; + int mCommandId; }; -#endif //GLXMPXCOMMANDHANDLER_H \ No newline at end of file +#endif //GLXMPXCOMMANDHANDLER_H