Use ardour/session_state_utils.h in Editor::redisplay_snapshots
[ardour.git] / gtk2_ardour / automation_controller.h
index 0f98e5f083d521a3a2e23bc84d34c57842171046..8a244113c4056d5e65becd37fba700f565a9f76d 100644 (file)
@@ -29,13 +29,14 @@ 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::Automatable> parent,
                        boost::shared_ptr<ARDOUR::AutomationList> al,
                        boost::shared_ptr<ARDOUR::AutomationControl> ac);