diff options
author | Carl Hetherington <carl@carlh.net> | 2010-07-12 00:41:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-07-12 00:41:45 +0000 |
commit | d1b4599725abda6b8697151fd4a1bd3740ad2f2a (patch) | |
tree | a6c7035d9316f8a1c1fef9aa079a76a210b643a5 /libs/evoral/evoral/Sequence.hpp | |
parent | 6f5ee7c4293c43486d48bac00fdcdba90dabb17d (diff) |
Mark Sequence as edited when one of its parent ControlSet's ControlLists is changed.
git-svn-id: svn://localhost/ardour2/branches/3.0@7404 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/evoral/Sequence.hpp')
-rw-r--r-- | libs/evoral/evoral/Sequence.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/evoral/evoral/Sequence.hpp b/libs/evoral/evoral/Sequence.hpp index 1ad456b302..3cddeb38ca 100644 --- a/libs/evoral/evoral/Sequence.hpp +++ b/libs/evoral/evoral/Sequence.hpp @@ -79,6 +79,7 @@ protected: }; public: + typedef typename boost::shared_ptr<Evoral::Note<Time> > NotePtr; typedef typename boost::shared_ptr<const Evoral::Note<Time> > constNotePtr; @@ -274,6 +275,8 @@ private: void get_notes_by_pitch (Notes&, NoteOperator, uint8_t val, int chan_mask = 0) const; void get_notes_by_velocity (Notes&, NoteOperator, uint8_t val, int chan_mask = 0) const; + void control_list_marked_dirty (); + const TypeMap& _type_map; Notes _notes; // notes indexed by time @@ -283,9 +286,6 @@ private: typedef std::multiset<NotePtr, EarlierNoteComparator> WriteNotes; WriteNotes _write_notes[16]; - typedef std::vector< boost::shared_ptr<const ControlList> > ControlLists; - ControlLists _dirty_controls; - const const_iterator _end_iter; bool _percussive; |