olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mainundo.h
index 8b5af5adeaa5a40e0cc5c99deec8016119d426a4..d622adcfb70b7ec096b92be372f5a1fb9811fbfd 100644 (file)
@@ -37,9 +37,6 @@ public:
        MainUndo(MWindow *mwindow);
        ~MainUndo();
 
-
-
-
 // For tweeking operations:
 // If a pair of update_undo_before and update_undo_after are called
 // within a certain time limit and the creator is nonzero and equal,
@@ -56,7 +53,13 @@ public:
        int undo();
        int redo();
 
+// load_flags for the next undo/redo stack item
+       int undo_load_flags();
+       int redo_load_flags();
        void dump(FILE *fp=stdout);
+
+       void save(FILE *fp);
+       void load(FILE *fp);
 private:
 // Entry point for all update commands
        void update_undo_entry(const char *description,
@@ -69,9 +72,8 @@ private:
 // compression more efficient.
 // So even numbers are before and odd numbers are after
        UndoStack *undo_stack;
-
-
-
+       UndoStackItem *next_undo();
+       UndoStackItem *next_redo();
 
 // loads undo from the stringfile to the project
        int load_undo_before(FileXML *file, uint32_t load_flags);