- void catch_vanishing_audio_regionview (AudioRegionView *);
- void set_selected_control_point_from_click (bool add = false, bool with_undo = true, bool no_remove=false);
- void set_selected_track_from_click (bool add = false, bool with_undo = true, bool no_remove=false);
- void set_selected_regionview_from_click (bool add = false, bool no_track_remove=false);
- void set_selected_regionview_from_region_list (ARDOUR::Region& region, bool add = false);
- bool set_selected_regionview_from_map_event (GdkEventAny*, StreamView*, ARDOUR::Region*);
- void collect_new_region_view (AudioRegionView *);
+ void sort_track_selection ();
+
+ void get_relevant_tracks (std::set<RouteTimeAxisView*>& relevant_tracks);
+ void get_equivalent_regions (RegionView* rv, std::vector<RegionView*>&);
+ void mapover_tracks (sigc::slot<void,RouteTimeAxisView&,uint32_t> sl);
+
+ /* functions to be passed to mapover_tracks(), possibly with sigc::bind()-supplied arguments */
+
+ void mapped_get_equivalent_regions (RouteTimeAxisView&, uint32_t, RegionView*, vector<RegionView*>*);
+ void mapped_use_new_playlist (RouteTimeAxisView&, uint32_t);
+ void mapped_use_copy_playlist (RouteTimeAxisView&, uint32_t);
+ void mapped_clear_playlist (RouteTimeAxisView&, uint32_t);
+
+ /* end */
+
+ void button_selection (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_type);
+ bool button_release_can_deselect;
+
+ void catch_vanishing_regionview (RegionView *);
+
+ bool set_selected_track (TimeAxisView&, Selection::Operation op = Selection::Set, bool no_remove=false);
+ void select_all_tracks ();
+
+ bool set_selected_control_point_from_click (Selection::Operation op = Selection::Set, bool no_remove=false);
+ bool set_selected_track_from_click (bool press, Selection::Operation op = Selection::Set, bool no_remove=false);
+ bool set_selected_regionview_from_click (bool press, Selection::Operation op = Selection::Set, bool no_track_remove=false);
+
+ void set_selected_regionview_from_region_list (boost::shared_ptr<ARDOUR::Region> region, Selection::Operation op = Selection::Set);
+ bool set_selected_regionview_from_map_event (GdkEventAny*, StreamView*, boost::weak_ptr<ARDOUR::Region>);
+ void collect_new_region_view (RegionView *);