Started adding undo/redo framework.

This commit is contained in:
Jim Evins
2016-04-29 23:51:01 -04:00
parent 231dc66c0d
commit 61c41d8ba9
9 changed files with 445 additions and 13 deletions
+5 -2
View File
@@ -25,7 +25,9 @@
#include "libglabels/Units.h"
class LabelModel; // Forward reference
// Forward references
class LabelModel;
class UndoRedoModel;
///
@@ -47,7 +49,7 @@ public:
/////////////////////////////////
// Public methods
/////////////////////////////////
void setModel( LabelModel* model );
void setModel( LabelModel* model, UndoRedoModel* undoRedoModel );
/////////////////////////////////
@@ -65,6 +67,7 @@ private slots:
/////////////////////////////////
private:
LabelModel* mModel;
UndoRedoModel* mUndoRedoModel;
glabels::Units mUnits;
};