region list patch #2 from chris g, slightly reworked by me; sv_se po changes, possibl...
[ardour.git] / gtk2_ardour / automation_controller.h
index 0f98e5f083d521a3a2e23bc84d34c57842171046..767c4ced00fe68c808887c970e6fed572e6fb060 100644 (file)
@@ -29,14 +29,15 @@ namespace ARDOUR {
        class Session;
        class AutomationList;
        class AutomationControl;
+       class Automatable;
 }
 
 
 class AutomationController : public Gtkmm2ext::BarController {
 public:
        static boost::shared_ptr<AutomationController> create(
-                       ARDOUR::Session& s,
-                       boost::shared_ptr<ARDOUR::AutomationList> al,
+                       boost::shared_ptr<ARDOUR::Automatable> parent,
+                       const Evoral::Parameter& param,
                        boost::shared_ptr<ARDOUR::AutomationControl> ac);
 
        ~AutomationController();