remove a bunch of code that will no longer be used
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 6 Jul 2016 17:35:50 +0000 (13:35 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 6 Jul 2016 17:38:13 +0000 (13:38 -0400)
libs/ardour/ardour/session.h
libs/ardour/session.cc

index febfc2eb2f351a38beea97b89cd1db2c89739f2e..ebafdd82f67d97ca815b198edfc4288e12ec56d5 100644 (file)
@@ -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 ();
 
index 677aca249e01d21545492539483c130e98e8c07c..a910cf996a3276aae5285f98203c033a7784b149 100644 (file)
@@ -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 */
-       }
-}