]> git.sesse.net Git - kdenlive/blobdiff - src/commands/razorclipcommand.h
Use const'ref, change if(foo) delete foo => delete foo not necessary to check it...
[kdenlive] / src / commands / razorclipcommand.h
index c66a22c041f87e9e85da31e799dc47a89720ce61..0da865ac68c00a28f48e37c8a5ec64112eeb9a15 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);
+    RazorClipCommand(CustomTrackView *view, const ItemInfo &info, EffectsList stack, const GenTime cutTime, bool doIt = true, QUndoCommand * parent = 0);
     virtual void undo();
     virtual void redo();
 
 private:
     CustomTrackView *m_view;
     ItemInfo m_info;
+    EffectsList m_originalStack;
     GenTime m_cutTime;
     bool m_doIt;
 };