logic: UndoRedo
UndoRedo working for ActiveTokensMessages
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user