Remove internal edit mode and add "content" tool.
[ardour.git] / gtk2_ardour / mixer_actor.h
index 980938f8a2d025c295470b25a2f9efd5856fd837..27fa61e90518e996bd3cd145e48bf74145ed7d1e 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;
 
@@ -59,14 +59,24 @@ class MixerActor : virtual public sigc::trackable
        void cut_processors ();
        void paste_processors ();
        void select_all_processors ();
-       void delete_processors ();
        void toggle_processors ();
        void ab_plugins ();
 
+       //this op is different because it checks _all_ mixer strips, and deletes selected plugins on any of them (ignores track selections)
+       //BUT... note that we have used mixerstrip's "Enter" to enforce the rule that only one strip will have an active selection
+       virtual void delete_processors () = 0;
+
+       virtual void select_none () = 0;
+
+
+        /* 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 () {}
 };