diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-10 01:45:41 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-10 01:45:41 +0200 |
commit | 0e70b779b4dc812faefa8ab4708fc1249bd89b0d (patch) | |
tree | 5d12d3195b0b11cfcd24314de7e64f1e636bdd7d /libs/ardour/ardour/session.h | |
parent | fa7b15babfdb73db0aeb94a158c0c90a5e36a12c (diff) |
expose Undo Commands to Lua
Some trickery is needed here to manage object lifetimes and
multiple inheritance.
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<PBD::StatefulDestructible>); + /** @return The list of operations that are currently in progress */ std::list<GQuark> const & current_operations () { return _current_trans_quarks; |