diff options
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 6344a953e5..41fb75ccc9 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -2614,6 +2614,15 @@ Session::add_command (Command* const cmd) cmd->name ())); _current_trans->add_command (cmd); } + +PBD::StatefulDiffCommand* +Session::add_stateful_diff_command (boost::shared_ptr<PBD::StatefulDestructible> sfd) +{ + PBD::StatefulDiffCommand* cmd = new PBD::StatefulDiffCommand (sfd); + add_command (cmd); + return cmd; +} + void Session::begin_reversible_command (const string& name) { |