repair lock problem with mixer undo (last chkin)
[goodguy/history.git] / cinelerra-5.1 / cinelerra / undostack.h
index 5893c4cac68a026171e65729e8d27d934c84c07e..f54cb0da34de7fe9392da8c6cfccf6e274e056ca 100644 (file)
@@ -95,16 +95,16 @@ public:
        UndoStack();
        ~UndoStack();
 
+// get current undo/redo stack item
+       UndoStackItem *get_current_undo();
+       UndoStackItem *get_current_redo();
+
 // Create a new undo entry and put on the stack.
 // The current pointer points to the new entry.
 // delete future undos if in the middle
 // delete undos older than UNDOLEVELS if last
        UndoStackItem* push();
 
-// move to the previous undo entry
-       void pull();
-
-
 // move to the next undo entry for a redo
        UndoStackItem* pull_next();