add new sigc++2 directory
[ardour.git] / libs / ardour / ardour / automation_control.h
index 5810ced9f91ad35e692e8aa05f90d8a1cb4a8790..68ac5797dc10a5528b74f36e4196e0347143f486 100644 (file)
 
 #include <boost/shared_ptr.hpp>
 #include <pbd/controllable.h>
+#include <ardour/parameter.h>
 
 namespace ARDOUR {
 
 class AutomationList;
 class Session;
+class Automatable;
 
 
 /** A PBD:Controllable with associated automation data (AutomationList)
@@ -35,7 +37,8 @@ class Session;
 class AutomationControl : public PBD::Controllable
 {
 public:
-       AutomationControl(ARDOUR::Session&, boost::shared_ptr<ARDOUR::AutomationList>,
+       AutomationControl(ARDOUR::Session&,
+                       boost::shared_ptr<ARDOUR::AutomationList>,
                        std::string name="unnamed controllable");
 
        void set_value(float val);
@@ -47,6 +50,8 @@ public:
        boost::shared_ptr<ARDOUR::AutomationList>       list()       { return _list; }
        boost::shared_ptr<const ARDOUR::AutomationList> list() const { return _list; }
 
+       Parameter parameter() const;
+
 protected:
        ARDOUR::Session&                          _session;
        boost::shared_ptr<ARDOUR::AutomationList> _list;