]> git.sesse.net Git - kdenlive/blobdiff - src/commands/moveclipcommand.h
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / commands / moveclipcommand.h
index 5b7d99ffecac95d1495be7a3dba530be8fd19886..253ee067ff1d039697bf07c63632f656129588ac 100644 (file)
@@ -1,5 +1,6 @@
 /***************************************************************************
  *   Copyright (C) 2007 by Jean-Baptiste Mardelle (jb@kdenlive.org)        *
+ *                 2012    Simon A. Eugster <simon.eu@gmail.com>           *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
@@ -30,16 +31,17 @@ class CustomTrackView;
 class MoveClipCommand : public QUndoCommand
 {
 public:
-    MoveClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, QUndoCommand * parent = 0);
-    virtual void undo();
-    virtual void redo();
+    MoveClipCommand(CustomTrackView *view, const ItemInfo &start, const ItemInfo &end, bool doIt, QUndoCommand * parent = 0);
+    void undo();
+    void redo();
 
 private:
     CustomTrackView *m_view;
     const ItemInfo m_startPos;
-    const ItemInfo m_endPos;
+    ItemInfo m_endPos;
     bool m_doIt;
     bool m_refresh;
+    bool m_success;
 };
 
 #endif