Tempo ramps - tempo drags respect the snap modifier. add some documentation.
[ardour.git] / libs / ardour / ardour / pan_controllable.h
index 19315e3e1e464e0302c4cd3fe131bb1e778b59d0..85a4efe2fc17dbace82686bb80abc63b422f32a5 100644 (file)
@@ -34,22 +34,27 @@ namespace ARDOUR {
 class Session;
 class Pannable;
 
-class PanControllable : public AutomationControl 
+class LIBARDOUR_API PanControllable : public AutomationControl
 {
   public:
-        PanControllable (Session& s, std::string name, Pannable* o, Evoral::Parameter param)
-                : AutomationControl (s, param, boost::shared_ptr<AutomationList>(new AutomationList(param)), name)
-                , owner (o)
-        {}
-        
-        double lower () const;
-        void set_value (double);
+       PanControllable (Session& s, std::string name, Pannable* o, Evoral::Parameter param)
+               : AutomationControl (s,
+                                    param,
+                                    ParameterDescriptor(param),
+                                    boost::shared_ptr<AutomationList>(new AutomationList(param)),
+                                    name)
+               , owner (o)
+       {}
+
+       double lower () const;
+       void set_value (double, PBD::Controllable::GroupControlDisposition group_override);
+       void set_value_unchecked (double);
 
   private:
-        
-        Pannable* owner;
+       Pannable* owner;
+       void _set_value (double, PBD::Controllable::GroupControlDisposition group_override);
 };
 
-} // namespace 
+} // namespace
 
 #endif /* __libardour_pan_controllable_h__ */