diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-06 13:35:50 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-06 13:38:13 -0400 |
commit | d514cd2fbf81e99e91bf6c9ae68346eefb021828 (patch) | |
tree | 0c5f22ef89308a7ad230b98872acab860184cdaa /libs/ardour/session.cc | |
parent | 8d360e86281ba287762b0a73dd63e0af00a3bc9d (diff) |
remove a bunch of code that will no longer be used
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 677aca249e..a910cf996a 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -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 */ - } -} |