class UndoLine
{
public:
- UndoLine(UndoHash *hash);
+ UndoLine(UndoHash *hash, char *tp);
UndoLine(UndoHashTable *hash, char *txt, int len);
~UndoLine();
int eq(UndoLine *ln);
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;
// 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;