mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 15:36:24 +01:00
remove a bunch of code that will no longer be used
This commit is contained in:
parent
8d360e8628
commit
d514cd2fbf
2 changed files with 0 additions and 60 deletions
|
|
@ -302,10 +302,6 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
|||
};
|
||||
|
||||
void notify_presentation_info_change ();
|
||||
void clear_stripable_selection ();
|
||||
void toggle_stripable_selection (boost::shared_ptr<Stripable>);
|
||||
void add_stripable_selection (boost::shared_ptr<Stripable>);
|
||||
void set_stripable_selection (boost::shared_ptr<Stripable>);
|
||||
|
||||
template<class T> void foreach_route (T *obj, void (T::*func)(Route&), bool sort = true);
|
||||
template<class T> void foreach_route (T *obj, void (T::*func)(boost::shared_ptr<Route>), bool sort = true);
|
||||
|
|
@ -822,9 +818,6 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
|||
|
||||
boost::shared_ptr<Route> monitor_out() const { return _monitor_out; }
|
||||
boost::shared_ptr<Route> master_out() const { return _master_out; }
|
||||
boost::weak_ptr<Route> get_editor_mixer() const { return _editor_mixer; }
|
||||
void set_editor_mixer (boost::weak_ptr<Route> r) { _editor_mixer = r; EditorMixerChanged(); }
|
||||
static PBD::Signal0<void> EditorMixerChanged;
|
||||
|
||||
void globally_add_internal_sends (boost::shared_ptr<Route> dest, Placement p, bool);
|
||||
void globally_set_send_gains_from_track (boost::shared_ptr<Route> dest);
|
||||
|
|
@ -1874,7 +1867,6 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
|||
|
||||
boost::shared_ptr<Route> _master_out;
|
||||
boost::shared_ptr<Route> _monitor_out;
|
||||
boost::weak_ptr<Route> _editor_mixer;
|
||||
|
||||
void auto_connect_master_bus ();
|
||||
|
||||
|
|
|
|||
|
|
@ -7007,55 +7007,3 @@ Session::auto_connect_thread_run ()
|
|||
}
|
||||
pthread_mutex_unlock (&_auto_connect_mutex);
|
||||
}
|
||||
|
||||
void
|
||||
Session::clear_stripable_selection ()
|
||||
{
|
||||
StripableList sl;
|
||||
get_stripables (sl);
|
||||
|
||||
for (StripableList::iterator si = sl.begin(); si != sl.end(); ++si) {
|
||||
(*si)->presentation_info().set_selected (false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
Session::toggle_stripable_selection (boost::shared_ptr<Stripable> s)
|
||||
{
|
||||
s->presentation_info().set_selected (!s->presentation_info().selected());
|
||||
}
|
||||
|
||||
void
|
||||
Session::add_stripable_selection (boost::shared_ptr<Stripable> s)
|
||||
{
|
||||
if (!s->presentation_info().selected ()) {
|
||||
s->presentation_info().set_selected (true);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Session::set_stripable_selection (boost::shared_ptr<Stripable> s)
|
||||
{
|
||||
StripableList sl;
|
||||
bool change = false;
|
||||
|
||||
get_stripables (sl);
|
||||
|
||||
for (StripableList::iterator si = sl.begin(); si != sl.end(); ++si) {
|
||||
if ((*si)->presentation_info().selected()) {
|
||||
change = true;
|
||||
}
|
||||
|
||||
(*si)->presentation_info().set_selected (false);
|
||||
}
|
||||
|
||||
if (!s->presentation_info().selected()) {
|
||||
change = true;
|
||||
s->presentation_info().set_selected (true);
|
||||
}
|
||||
|
||||
if (change) {
|
||||
// PresentationInfo::SelectionChange (); /* EMIT SIGNAL */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue