// Selection& operator= (const Selection& other);
sigc::signal<void> RegionsChanged;
- sigc::signal<void> TracksChanged;
sigc::signal<void> TimeChanged;
sigc::signal<void> LinesChanged;
sigc::signal<void> PlaylistsChanged;
sigc::signal<void> MidiNotesChanged;
sigc::signal<void> MidiRegionsChanged;
- void block_tracks_changed (bool);
-
void clear ();
+
+ /** check if all selections are empty
+ * @param internal_selection also check object internals (e.g midi notes, automation points), when false only check objects.
+ * @return true if nothing is selected.
+ */
bool empty (bool internal_selection = false);
void dump_region_layers();
XMLNode& get_state () const;
int set_state (XMLNode const &, int);
- std::list<std::pair<PBD::ID const, std::list<boost::shared_ptr<Evoral::Note<Evoral::Beats> > > > > pending_midi_note_selection;
+ std::list<std::pair<PBD::ID const, std::list<Evoral::event_id_t> > > pending_midi_note_selection;
private:
PublicEditor const * editor;
uint32_t next_time_id;
- bool _no_tracks_changed;
};
bool operator==(const Selection& a, const Selection& b);