AutomationListProperty& operator= (AutomationListProperty const &);
};
+/** AutomationList is a stateful wrapper around Evoral::ControlList.
+ * It includes session-specifics (such as automation state), control logic (e.g. touch, signals)
+ * and acts as proxy to the underlying ControlList which holds the actual data.
+ */
class LIBARDOUR_API AutomationList : public PBD::StatefulDestructible, public Evoral::ControlList
{
public:
bool operator!= (const AutomationList &) const;
- XMLNode* before () { return _before; }
+ XMLNode* before () { XMLNode* rv = _before; _before = 0; return rv; }
void clear_history ();
private:
void create_curve_if_necessary ();