Fix crash when editing meter via main clock.
[ardour.git] / gtk2_ardour / mixer_actor.h
index 27fa61e90518e996bd3cd145e48bf74145ed7d1e..16b450133d9e9e5fcacfb41c1021281ab224621d 100644 (file)
@@ -29,7 +29,11 @@ namespace Gtk {
        class ActionGroup;
 }
 
-class MixerActor : virtual public sigc::trackable 
+namespace ARDOUR {
+       class VCA;
+}
+
+class MixerActor : virtual public sigc::trackable
 {
   public:
        MixerActor ();
@@ -39,15 +43,18 @@ class MixerActor : virtual public sigc::trackable
        void register_actions ();
 
         void load_bindings ();
-        Gtkmm2ext::Bindings  bindings;
+        Gtkmm2ext::Bindings*  bindings;
 
   protected:
+       Gtkmm2ext::ActionMap myactions;
        RouteProcessorSelection _selection;
        RouteUISelection _route_targets;
-        Gtkmm2ext::ActionMap myactions;
 
        virtual void set_route_targets_for_operation () = 0;
 
+       void vca_assign (boost::shared_ptr<ARDOUR::VCA>);
+       void vca_unassign (boost::shared_ptr<ARDOUR::VCA>);
+
        void solo_action ();
        void mute_action ();
        void rec_enable_action ();