This commit is contained in:
itsmattkc
2018-10-10 23:30:40 +11:00
parent b741a8ddd5
commit 712f9f160f
4 changed files with 61 additions and 14 deletions
+13
View File
@@ -14,6 +14,7 @@ struct Sequence;
struct Media;
#include "project/marker.h"
#include "project/selection.h"
#include <QUndoStack>
#include <QUndoCommand>
@@ -524,4 +525,16 @@ private:
bool new_setting;
};
class SetSelectionsCommand : public QUndoCommand {
public:
SetSelectionsCommand(Sequence *s);
void undo();
void redo();
QVector<Selection> old_data;
QVector<Selection> new_data;
private:
Sequence* seq;
bool done;
};
#endif // UNDO_H