fix for undo compression bug, fix for 'o' in recsources win, titler alias=smooth
[goodguy/history.git] / cinelerra-5.1 / cinelerra / undostack.h
index e6791d0a27d65441a6d3073272f047b22fb15a63..8c39d8be71455a2490986a7b467af735e0b98c18 100644 (file)
@@ -63,7 +63,7 @@ public:
 class UndoLine
 {
 public:
-       UndoLine(UndoHash *hash);
+       UndoLine(UndoHash *hash, char *tp);
        UndoLine(UndoHashTable *hash, char *txt, int len);
        ~UndoLine();
        int eq(UndoLine *ln);
@@ -108,6 +108,8 @@ public:
        void set_creator(void *creator);
        void* get_creator();
 
+       void save(FILE *fp);
+       void load(FILE *fp);
 private:
 // command description for the menu item
        char *description;
@@ -147,6 +149,8 @@ public:
 // move to the next undo entry for a redo
        UndoStackItem* pull_next();
 
+       void save(FILE *fp);
+       void load(FILE *fp);
        void dump(FILE *fp=stdout);
 
        UndoStackItem* current;