]> git.sesse.net Git - kdenlive/blobdiff - src/addeffectcommand.h
Fix detection of missing codecs in render dialog, use kmessagewidget to inform user
[kdenlive] / src / addeffectcommand.h
index 942d9fe155df9dee6774a834debd2f4a6f9c65ff..f929dc57dc2160585428d5ab4da19223272549f3 100644 (file)
 
 #include <QUndoCommand>
 #include <KDebug>
+#include <QDomElement>
+#include "gentime.h"
 
-#include "customtrackview.h"
+class CustomTrackView;
 
 class AddEffectCommand : public QUndoCommand
- {
- public:
-     AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement effect, bool doIt);
+{
+public:
+    AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement effect, bool doIt, QUndoCommand * parent = 0);
 
     virtual void undo();
     virtual void redo();
 
- private:
-     CustomTrackView *m_view;
-     int m_track;
-     QDomElement m_effect;
-     GenTime m_pos;
-     bool m_doIt;
- };
+private:
+    CustomTrackView *m_view;
+    int m_track;
+    QDomElement m_effect;
+    GenTime m_pos;
+    bool m_doIt;
+};
 
 #endif