]> git.sesse.net Git - kdenlive/blobdiff - src/commands/razorclipcommand.h
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / commands / razorclipcommand.h
index c66a22c041f87e9e85da31e799dc47a89720ce61..c595ff7f525e95919dcc550b681653d23806d6d0 100644 (file)
 
 #include <KDebug>
 #include "definitions.h"
+#include "effectslist.h"
 
 class CustomTrackView;
 
 class RazorClipCommand : public QUndoCommand
 {
 public:
-    RazorClipCommand(CustomTrackView *view, const ItemInfo info, const GenTime cutTime, bool doIt = true, QUndoCommand * parent = 0);
-    virtual void undo();
-    virtual void redo();
+    RazorClipCommand(CustomTrackView *view, const ItemInfo &info, EffectsList stack, const GenTime &cutTime, bool doIt = true, QUndoCommand * parent = 0);
+    void undo();
+    void redo();
 
 private:
     CustomTrackView *m_view;
     ItemInfo m_info;
+    EffectsList m_originalStack;
     GenTime m_cutTime;
     bool m_doIt;
 };