]> git.sesse.net Git - kdenlive/blobdiff - src/resizeclipcommand.h
Do not allow rendering to a frame rate different than current project's profile:
[kdenlive] / src / resizeclipcommand.h
index 8b575f0fe807dbf88fb53d618b40473a29af6da7..9b5a4ae6bbc164ae54a1eb59c5242419e1d5db23 100644 (file)
 
 #include <KDebug>
 
-#include "projectlist.h"
-#include "customtrackview.h"
+#include "definitions.h"
+
+class CustomTrackView;
 
 class ResizeClipCommand : public QUndoCommand
- {
- public:
-     ResizeClipCommand(CustomTrackView *view, const QPointF startPos, const QPointF endPos, bool resizeClipStart, bool doIt);
+{
+public:
+    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;
-     bool m_doIt;
- };
+private:
+    CustomTrackView *m_view;
+    ItemInfo m_startPos;
+    ItemInfo m_endPos;
+    bool m_doIt;
+    bool m_dontWorry;
+};
 
 #endif