/** only used when this class is used as a cut buffer */
MidiNoteSelection midi_notes;
- Selection (PublicEditor const * e);
+ Selection (PublicEditor const * e, bool manage_libardour_selection);
// Selection& operator= (const Selection& other);
void dump_region_layers();
- bool selected (TimeAxisView*);
- bool selected (RegionView*);
- bool selected (ArdourMarker*);
- bool selected (ControlPoint*);
+ bool selected (TimeAxisView*) const;
+ bool selected (RegionView*) const;
+ bool selected (ArdourMarker*) const;
+ bool selected (ControlPoint*) const;
void set (std::list<Selectable*> const &);
void add (std::list<Selectable*> const &);
std::list<std::pair<PBD::ID const, std::list<Evoral::event_id_t> > > pending_midi_note_selection;
+ void core_selection_changed (PBD::PropertyChange const & pc);
+
private:
PublicEditor const * editor;
uint32_t next_time_id;
+ bool manage_libardour_selection;
+
+ TrackViewList add_grouped_tracks (TrackViewList const & t);
};
bool operator==(const Selection& a, const Selection& b);