ui/commandhandlers/commandhandlerbase/inc/glxmpxcommandhandler.h
changeset 67 199e6e1e0b54
parent 29 2c833fc9e98f
child 69 45459746d5e8
equal deleted inserted replaced
61:743eb0b9959e 67:199e6e1e0b54
    40     virtual ~GlxMpxCommandHandler();
    40     virtual ~GlxMpxCommandHandler();
    41     virtual void executeCommand(int commandId,int collectionId,QList<QModelIndex> indexList = QList<QModelIndex>() );
    41     virtual void executeCommand(int commandId,int collectionId,QList<QModelIndex> indexList = QList<QModelIndex>() );
    42 
    42 
    43 public slots:
    43 public slots:
    44     void messageDialogClose(HbAction* action);
    44     void messageDialogClose(HbAction* action);
    45 
    45     void commandCancelled();
    46 protected: // From MGlxMediaListObserver    
    46 protected: // From MGlxMediaListObserver    
    47     /// See @ref MGlxMediaListObserver::HandleItemAddedL
    47     /// See @ref MGlxMediaListObserver::HandleItemAddedL
    48     void HandleItemAddedL(TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList);
    48     void HandleItemAddedL(TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList);
    49     
    49     
    50     /// See @ref MGlxMediaListObserver::HandleMediaL
    50     /// See @ref MGlxMediaListObserver::HandleMediaL
    79     virtual void DoHandleCommandCompleteL(TAny* aSessionId, 
    79     virtual void DoHandleCommandCompleteL(TAny* aSessionId, 
    80             CMPXCommand* aCommandResult, TInt aError, MGlxMediaList* aList); 
    80             CMPXCommand* aCommandResult, TInt aError, MGlxMediaList* aList); 
    81 
    81 
    82     virtual CMPXCommand* CreateCommandL(TInt aCommandId, MGlxMediaList& aMediaList, TBool& aConsume) const = 0;
    82     virtual CMPXCommand* CreateCommandL(TInt aCommandId, MGlxMediaList& aMediaList, TBool& aConsume) const = 0;
    83 	virtual void DoExecuteCommandL(TInt aCommandId, MGlxMediaList& aMediaList, TBool& aConsume);
    83 	virtual void DoExecuteCommandL(TInt aCommandId, MGlxMediaList& aMediaList, TBool& aConsume);
    84 	virtual void HandleErrorL(TInt aErrorCode);
    84 	virtual void HandleErrorL(TInt aErrorCode) const;
    85 	virtual QString CompletionTextL() const;
    85 	virtual QString CompletionTextL() const;
    86 	virtual QString ProgressTextL() const;        
    86 	virtual QString ProgressTextL() const;        
    87     virtual QString ConfirmationTextL(bool multiSelection = false) const; 
    87     virtual QString ConfirmationTextL(bool multiSelection = false) const; 
    88 private: 
    88 private: 
    89     void ConfirmationNoteL(MGlxMediaList& aMediaList);
    89     void ConfirmationNoteL(MGlxMediaList& aMediaList);