23 lines
443 B
C++
23 lines
443 B
C++
#ifndef UNDO_REDO_VIEW_H
|
|
#define UNDO_REDO_VIEW_H
|
|
|
|
#include "component/view/View.h"
|
|
|
|
class UndoRedoController;
|
|
|
|
class UndoRedoView : public View
|
|
{
|
|
public:
|
|
UndoRedoView(ViewLayout* viewLayout);
|
|
~UndoRedoView(void);
|
|
|
|
virtual std::string getName() const;
|
|
|
|
virtual void setRedoButtonEnabled(bool enabled) = 0;
|
|
virtual void setUndoButtonEnabled(bool enabled) = 0;
|
|
protected:
|
|
UndoRedoController* getController();
|
|
};
|
|
|
|
#endif //UNDO_REDO_VIEW_H
|