diff options
Diffstat (limited to 'gtk2_ardour/automation_line.h')
-rw-r--r-- | gtk2_ardour/automation_line.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index eb2d204513..0e44c95a33 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -96,7 +96,7 @@ class ControlPoint ShapeType _shape; }; -class AutomationLine : public PBD::StatefulDestructible +class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoingAway { public: AutomationLine (const string & name, TimeAxisView&, ArdourCanvas::Group&, ARDOUR::AutomationList&); @@ -206,7 +206,9 @@ class AutomationLine : public PBD::StatefulDestructible void reset_callback (const ARDOUR::AutomationList&); void list_changed (ARDOUR::Change); +#ifdef STATE_MANAGER UndoAction get_memento(); +#endif virtual bool event_handler (GdkEvent*); |