diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-06 13:36:15 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-06 13:38:13 -0400 |
commit | eed3ea5047ae50484542cacece0df1fd9db2e4d0 (patch) | |
tree | 890e547a9994d3b212965c4685edbd9fa3f523c9 /libs/surfaces/control_protocol | |
parent | d514cd2fbf81e99e91bf6c9ae68346eefb021828 (diff) |
remove a bunch of code that will no longer be used
Diffstat (limited to 'libs/surfaces/control_protocol')
-rw-r--r-- | libs/surfaces/control_protocol/basic_ui.cc | 35 | ||||
-rw-r--r-- | libs/surfaces/control_protocol/control_protocol/basic_ui.h | 6 |
2 files changed, 0 insertions, 41 deletions
diff --git a/libs/surfaces/control_protocol/basic_ui.cc b/libs/surfaces/control_protocol/basic_ui.cc index 6b22be2abe..dd5e84cfd7 100644 --- a/libs/surfaces/control_protocol/basic_ui.cc +++ b/libs/surfaces/control_protocol/basic_ui.cc @@ -495,41 +495,6 @@ BasicUI::sample_to_timecode (framepos_t sample, Timecode::Time& timecode, bool u session->sample_to_timecode (sample, *((Timecode::Time*)&timecode), use_offset, use_subframes); } -void -BasicUI::toggle_selection (PresentationInfo::order_t o, PresentationInfo::Flag flags) -{ - boost::shared_ptr<Stripable> s = session->get_remote_nth_stripable (o, flags); - - if (s) { - s->presentation_info().set_selected (!s->presentation_info().selected()); - } -} - -void -BasicUI::clear_stripable_selection () -{ - session->clear_stripable_selection (); -} - -void -BasicUI::toggle_stripable_selection (boost::shared_ptr<Stripable> s) -{ - session->toggle_stripable_selection (s); -} - -void -BasicUI::add_stripable_selection (boost::shared_ptr<Stripable> s) -{ - session->add_stripable_selection (s); -} - -void -BasicUI::set_stripable_selection (boost::shared_ptr<Stripable> s) -{ - session->set_stripable_selection (s); -} - - #if 0 this stuff is waiting to go in so that all UIs can offer complex solo/mute functionality diff --git a/libs/surfaces/control_protocol/control_protocol/basic_ui.h b/libs/surfaces/control_protocol/control_protocol/basic_ui.h index c919223e2c..43ebcfa9e7 100644 --- a/libs/surfaces/control_protocol/control_protocol/basic_ui.h +++ b/libs/surfaces/control_protocol/control_protocol/basic_ui.h @@ -47,12 +47,6 @@ class LIBCONTROLCP_API BasicUI { void add_marker (const std::string& = std::string()); void remove_marker_at_playhead (); - void clear_stripable_selection (); - void toggle_stripable_selection (boost::shared_ptr<ARDOUR::Stripable>); - void add_stripable_selection (boost::shared_ptr<ARDOUR::Stripable>); - void set_stripable_selection (boost::shared_ptr<ARDOUR::Stripable>); - void toggle_selection (ARDOUR::PresentationInfo::order_t, ARDOUR::PresentationInfo::Flag); - // void mark_in(); // void mark_out(); |