X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fundostack.h;h=8c39d8be71455a2490986a7b467af735e0b98c18;hp=e6791d0a27d65441a6d3073272f047b22fb15a63;hb=a19a685a46ddc630010788707d9e5b9d2342af46;hpb=7ead44762b23da404eee89b63e0474153fdf58a1 diff --git a/cinelerra-5.1/cinelerra/undostack.h b/cinelerra-5.1/cinelerra/undostack.h index e6791d0a..8c39d8be 100644 --- a/cinelerra-5.1/cinelerra/undostack.h +++ b/cinelerra-5.1/cinelerra/undostack.h @@ -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;