diff options
author | Carl Hetherington <carl@carlh.net> | 2008-12-16 23:21:01 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2008-12-16 23:21:01 +0000 |
commit | 2ebb1af2997b8e8f162635b11e8acc5c5d0fe563 (patch) | |
tree | a88ebc1e46dbe43cc760626eddd57d0feac81216 /libs/ardour/ardour/playlist.h | |
parent | 43b14aa6098e266f07e1d7dfe4a8a65edda36b0a (diff) |
Implement #2425: option for automation to follow region moves.
git-svn-id: svn://localhost/ardour2/branches/3.0@4326 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/playlist.h')
-rw-r--r-- | libs/ardour/ardour/playlist.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h index b937c412ab..cdde9855b2 100644 --- a/libs/ardour/ardour/playlist.h +++ b/libs/ardour/ardour/playlist.h @@ -35,7 +35,9 @@ #include <pbd/undo.h> #include <pbd/stateful.h> -#include <pbd/statefuldestructible.h> +#include <pbd/statefuldestructible.h> + +#include <evoral/types.hpp> #include <ardour/ardour.h> #include <ardour/session_object.h> @@ -126,6 +128,7 @@ class Playlist : public SessionObject, public boost::enable_shared_from_this<Pla sigc::signal<void> Modified; sigc::signal<void> NameChanged; sigc::signal<void> LengthChanged; + sigc::signal<void, Evoral::RangeMoveList const &> RangesMoved; static string bump_name (string old_name, Session&); @@ -177,6 +180,7 @@ class Playlist : public SessionObject, public boost::enable_shared_from_this<Pla RegionList regions; /* the current list of regions in the playlist */ std::set<boost::shared_ptr<Region> > all_regions; /* all regions ever added to this playlist */ + std::list<sigc::connection> region_state_changed_connections; DataType _type; mutable gint block_notifications; mutable gint ignore_state_changes; @@ -186,6 +190,7 @@ class Playlist : public SessionObject, public boost::enable_shared_from_this<Pla RegionList pending_bounds; bool pending_modified; bool pending_length; + Evoral::RangeMoveList pending_range_moves; bool save_on_thaw; string last_save_reason; uint32_t in_set_state; @@ -227,6 +232,7 @@ class Playlist : public SessionObject, public boost::enable_shared_from_this<Pla void notify_layering_changed (); void notify_modified (); void notify_state_changed (Change); + void notify_region_moved (boost::shared_ptr<Region>); void mark_session_dirty(); |