]> git.sesse.net Git - kdenlive/blobdiff - src/commands/addmarkercommand.h
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / commands / addmarkercommand.h
index c89d0c6748fac14a7d23b6f0dafe2e82f2b74131..09334584e595a65a789237591b89eb50d239451d 100644 (file)
 #define MARKERCOMMAND_H
 
 #include <QUndoCommand>
-#include <QGraphicsView>
-#include <QPointF>
-#include <QDomElement>
-#include <KDebug>
 
 #include "gentime.h"
 #include "definitions.h"
@@ -32,16 +28,15 @@ class CustomTrackView;
 class AddMarkerCommand : public QUndoCommand
 {
 public:
-    AddMarkerCommand(CustomTrackView *view, const QString &oldcomment, const QString &comment, const QString &id, const GenTime &pos, QUndoCommand * parent = 0);
-    virtual void undo();
-    virtual void redo();
+    AddMarkerCommand(CustomTrackView *view, const CommentedTime &oldMarker, const CommentedTime &newMarker, const QString &id, QUndoCommand * parent = 0);
+    void undo();
+    void redo();
 
 private:
     CustomTrackView *m_view;
-    QString m_oldcomment;
-    QString m_comment;
+    CommentedTime m_oldMarker;
+    CommentedTime m_newMarker;
     QString m_id;
-    GenTime m_pos;
 };
 
 #endif