]> git.sesse.net Git - kdenlive/blobdiff - src/addeffectcommand.h
render dialog: select and edit bitrates using a combo box (WIP).
[kdenlive] / src / addeffectcommand.h
index 917a43bd7745f3254412a255d559eb3968fab541..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, const QString &tag, QMap <QString, QString> args, 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;
-     QString m_tag;
-     GenTime m_pos;
-     QMap <QString, QString> m_args;
-     bool m_doIt;
- };
+private:
+    CustomTrackView *m_view;
+    int m_track;
+    QDomElement m_effect;
+    GenTime m_pos;
+    bool m_doIt;
+};
 
 #endif