From 0e70b779b4dc812faefa8ab4708fc1249bd89b0d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 10 Apr 2016 01:45:41 +0200 Subject: expose Undo Commands to Lua Some trickery is needed here to manage object lifetimes and multiple inheritance. --- libs/ardour/ardour/session.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/ardour') diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 4efe41f9cc..c25d80ccf5 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -862,6 +862,8 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop void add_command (Command *const cmd); + PBD::StatefulDiffCommand* add_stateful_diff_command (boost::shared_ptr); + /** @return The list of operations that are currently in progress */ std::list const & current_operations () { return _current_trans_quarks; -- cgit v1.2.3