]> git.sesse.net Git - kdenlive/blobdiff - src/resizeclipcommand.h
Refactor representation of 2pass in profiles.
[kdenlive] / src / resizeclipcommand.h
index 551711356e00204443de643ec9838e1f787d47a0..9b5a4ae6bbc164ae54a1eb59c5242419e1d5db23 100644 (file)
 
 #include <KDebug>
 
+#include "definitions.h"
+
 class CustomTrackView;
 
-class ResizeClipCommand : public QUndoCommand {
+class ResizeClipCommand : public QUndoCommand
+{
 public:
-    ResizeClipCommand(CustomTrackView *view, const QPointF startPos, const QPointF endPos, bool resizeClipStart, bool doIt);
+    ResizeClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, bool dontWorry, QUndoCommand * parent = 0);
     virtual void undo();
     virtual void redo();
 
 private:
     CustomTrackView *m_view;
-    QPointF m_startPos;
-    QPointF m_endPos;
-    bool m_resizeClipStart;
+    ItemInfo m_startPos;
+    ItemInfo m_endPos;
     bool m_doIt;
+    bool m_dontWorry;
 };
 
 #endif