remove pointless version of Stripable::set_presentation_order()
[ardour.git] / libs / ardour / ardour / pan_controllable.h
index 19315e3e1e464e0302c4cd3fe131bb1e778b59d0..82aa60fe106afd5fdc79aa052970c8a42f2ff6a9 100644 (file)
@@ -34,22 +34,26 @@ 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;
+       std::string get_user_string () const;
 
   private:
-        
-        Pannable* owner;
+       Pannable* owner;
+       void actually_set_value (double, PBD::Controllable::GroupControlDisposition group_override);
 };
 
-} // namespace 
+} // namespace
 
 #endif /* __libardour_pan_controllable_h__ */