remove Session::get_nth_stripable.cc
This commit is contained in:
parent
13ce731fc7
commit
02db39c1bc
@ -311,7 +311,6 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
||||
bool io_name_is_legal (const std::string&) const;
|
||||
boost::shared_ptr<Route> route_by_name (std::string) const;
|
||||
boost::shared_ptr<Route> route_by_id (PBD::ID) const;
|
||||
boost::shared_ptr<Stripable> get_nth_stripable (PresentationInfo::order_t n) const;
|
||||
boost::shared_ptr<Stripable> get_remote_nth_stripable (PresentationInfo::order_t n, PresentationInfo::Flag) const;
|
||||
boost::shared_ptr<Route> get_remote_nth_route (PresentationInfo::order_t n) const;
|
||||
boost::shared_ptr<Route> route_by_selected_count (uint32_t cnt) const;
|
||||
|
@ -4229,24 +4229,6 @@ Session::get_remote_nth_route (PresentationInfo::order_t n) const
|
||||
return boost::dynamic_pointer_cast<Route> (get_remote_nth_stripable (n, PresentationInfo::Route));
|
||||
}
|
||||
|
||||
boost::shared_ptr<Stripable>
|
||||
Session::get_nth_stripable (PresentationInfo::order_t n) const
|
||||
{
|
||||
StripableList sl;
|
||||
|
||||
get_stripables (sl);
|
||||
|
||||
for (StripableList::const_iterator s = sl.begin(); s != sl.end(); ++s) {
|
||||
if ((*s)->presentation_info().order() == n) {
|
||||
return *s;
|
||||
}
|
||||
}
|
||||
|
||||
/* there is no nth stripable */
|
||||
|
||||
return boost::shared_ptr<Stripable>();
|
||||
}
|
||||
|
||||
boost::shared_ptr<Stripable>
|
||||
Session::get_remote_nth_stripable (PresentationInfo::order_t n, PresentationInfo::Flag flags) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user