projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add configure without-thirdparty, without-libzmpeg, without-commercial
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
undostack.h
diff --git
a/cinelerra-5.1/cinelerra/undostack.h
b/cinelerra-5.1/cinelerra/undostack.h
index e6791d0a27d65441a6d3073272f047b22fb15a63..8c39d8be71455a2490986a7b467af735e0b98c18 100644
(file)
--- a/
cinelerra-5.1/cinelerra/undostack.h
+++ b/
cinelerra-5.1/cinelerra/undostack.h
@@
-63,7
+63,7
@@
public:
class UndoLine
{
public:
class UndoLine
{
public:
- UndoLine(UndoHash *hash);
+ UndoLine(UndoHash *hash
, char *tp
);
UndoLine(UndoHashTable *hash, char *txt, int len);
~UndoLine();
int eq(UndoLine *ln);
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 set_creator(void *creator);
void* get_creator();
+ void save(FILE *fp);
+ void load(FILE *fp);
private:
// command description for the menu item
char *description;
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();
// 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;
void dump(FILE *fp=stdout);
UndoStackItem* current;