summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/undo.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-12-11 12:52:40 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-12-11 12:52:40 +0000
commitee0fb82da6a0d511e2aa7e6071ea0fb05cb405e9 (patch)
treeea0a66a9efdf53a6429be2cbf90728f5a63cbc00 /libs/pbd/pbd/undo.h
parent337cee7a8344c76edc9068bf733ee8489b1c9bef (diff)
never save more than Config->get_saved_history_depth() undo transactions to history file
git-svn-id: svn://localhost/ardour2/trunk@1200 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/undo.h')
-rw-r--r--libs/pbd/pbd/undo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/pbd/undo.h b/libs/pbd/pbd/undo.h
index eb46750e4f..4dfab5178f 100644
--- a/libs/pbd/pbd/undo.h
+++ b/libs/pbd/pbd/undo.h
@@ -94,7 +94,7 @@ class UndoHistory : public sigc::trackable
void clear_undo ();
void clear_redo ();
- XMLNode &get_state();
+ XMLNode &get_state(uint32_t depth = 0);
void save_state();
sigc::signal<void> Changed;