#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)
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);
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;