add alt-i as a binding in both the editor and mixer windows to toggle the state of...
[ardour.git] / gtk2_ardour / mixer_actor.h
index 980938f8a2d025c295470b25a2f9efd5856fd837..0b856d338c88a74aed16d2839df74f9c3b05ad46 100644 (file)
@@ -35,14 +35,14 @@ class MixerActor : virtual public sigc::trackable
        MixerActor ();
        virtual ~MixerActor ();
 
-       RouteRedirectSelection& selection() { return _selection; }
+       RouteProcessorSelection& selection() { return _selection; }
        void register_actions ();
 
         void load_bindings ();
         Gtkmm2ext::Bindings  bindings;
 
   protected:
-       RouteRedirectSelection _selection;
+       RouteProcessorSelection _selection;
        RouteUISelection _route_targets;
         Gtkmm2ext::ActionMap myactions;
 
@@ -63,10 +63,14 @@ class MixerActor : virtual public sigc::trackable
        void toggle_processors ();
        void ab_plugins ();
 
+        /* these actions need access to a Session, do defer to
+          a derived class
+       */
+        virtual void toggle_midi_input_active (bool flip_others) = 0;
+
        /* these actions don't apply to the selection, so defer to
           a derived class.
        */
-
        virtual void scroll_left () {}
        virtual void scroll_right () {}
 };