Use ActionModel API in the Control Surfaces that can make use of it
[ardour.git] / libs / surfaces / mackie / controls.h
index 38eb30fb65d7a1f7598876a146ea3e7e10665e32..e5d723a7d1e2a2945c3ee2bd04e8abbf5bef7cdd 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <boost/smart_ptr.hpp>
 
+#include "pbd/controllable.h"
 #include "pbd/signals.h"
 
 #include "mackie_control_exception.h"
@@ -70,10 +71,10 @@ public:
        virtual void set_control (boost::shared_ptr<ARDOUR::AutomationControl>);
 
        float get_value ();
-       void set_value (float val);
+       void set_value (float val, PBD::Controllable::GroupControlDisposition gcd = PBD::Controllable::UseGroup);
 
        virtual void start_touch (double when);
-       virtual void stop_touch (bool mark, double when);
+       virtual void stop_touch (double when);
 
   protected:
        boost::shared_ptr<ARDOUR::AutomationControl> normal_ac;