logic: UndoRedo

UndoRedo working for ActiveTokensMessages
This commit is contained in:
Andreas Stallinger
2015-02-03 10:47:56 +01:00
parent 00f15a2ce3
commit 944554d034
27 changed files with 588 additions and 2 deletions
+22
View File
@@ -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