- void remove (nframes_t, nframes_t);
- void remove (ARDOUR::AutomationList*);
- void remove (ARDOUR::Playlist*);
- void remove (const list<ARDOUR::Playlist*>&);
- void remove (boost::shared_ptr<ARDOUR::Redirect>);
-
- void replace (uint32_t time_index, nframes_t start, nframes_t end);
-
+ void remove (framepos_t, framepos_t);
+ void remove (boost::shared_ptr<ARDOUR::AutomationList>);
+ void remove (boost::shared_ptr<ARDOUR::Playlist>);
+ void remove (const std::list<boost::shared_ptr<ARDOUR::Playlist> >&);
+ void remove (const std::list<Selectable*>&);
+ void remove (Marker*);
+ void remove (ControlPoint *);
+
+ void remove_regions (TimeAxisView *);
+
+ void move_time (framecnt_t);
+
+ void replace (uint32_t time_index, framepos_t start, framepos_t end);
+
+/*
+ * A note about items in an editing Selection:
+ * At a high level, selections can include Tracks, Objects, or Time Ranges
+ * Range and Object selections are mutually exclusive.
+ * Selecting a Range will deselect all Objects, and vice versa.
+ * This is done to avoid confusion over what will happen in an operation such as Delete
+ * Tracks are somewhat orthogonal b/c editing operations don't apply to tracks.
+ * The Track selection isn't affected when ranges or objects are added.
+ */
+
+ void clear_time(); //clears any time selection ( i.e. Range )
+ void clear_tracks (); //clears the track header selections
+ void clear_objects(); //clears the items listed below
+
+ // these items get cleared wholesale in clear_objects