11 class MainUndoStackItem
;
17 MainUndo(MWindow
*mwindow
);
20 // Use this function for UndoStackItem subclasses with custom
21 // undo and redo functions. All fields including description must
22 // be populated before calling this function.
23 void push_undo_item(UndoStackItem
*item
);
25 // Use the following functions for the default save/restore undo method
26 void update_undo_before(char *description
, uint32_t load_flags
);
27 void update_undo_after();
34 MainUndoStackItem
* new_entry
; // for setting the after buffer
36 int undo_before_updated
;