]> 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 12ef595d5625f9cc0ebd78356f9582314ad185ec..09334584e595a65a789237591b89eb50d239451d 100644 (file)
 #define MARKERCOMMAND_H
 
 #include <QUndoCommand>
-#include <QGraphicsView>
-#include <QPointF>
-#include <QDomElement>
-#include <KDebug>
 
 #include "gentime.h"
 #include "definitions.h"
@@ -32,9 +28,9 @@ class CustomTrackView;
 class AddMarkerCommand : public QUndoCommand
 {
 public:
-    AddMarkerCommand(CustomTrackView *view, const CommentedTime oldMarker, const CommentedTime newMarker, const QString &id, 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;