]> git.sesse.net Git - kdenlive/blobdiff - src/editeffectcommand.h
* Make sure user cannot create transition with in point bigger than out point
[kdenlive] / src / editeffectcommand.h
index 902011ababec91b855c533b0ec230331cf426aae..d474d8b7b8df2bea078c3c948276a91dd538b08a 100644 (file)
 
 #include <QUndoCommand>
 #include <KDebug>
+#include <gentime.h>
+#include <QDomElement>
 
-#include "customtrackview.h"
+class CustomTrackView;
 
 class EditEffectCommand : public QUndoCommand {
 public:
-    EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, bool doIt);
+    EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, int stackPos, bool doIt);
 
     virtual int id() const;
     virtual bool mergeWith(const QUndoCommand * command);
@@ -37,10 +39,11 @@ public:
 
 private:
     CustomTrackView *m_view;
-    int m_track;
+    const int m_track;
     QDomElement m_effect;
     QDomElement m_oldeffect;
-    GenTime m_pos;
+    const GenTime m_pos;
+    int m_stackPos;
     bool m_doIt;
 };