/*
- Copyright (C) 2009 Paul Davis
+ Copyright (C) 2009 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "evoral/Sequence.hpp"
#include "ardour/automatable.h"
+#include "ardour/event_type_map.h"
namespace ARDOUR {
/** Contains notes and controllers */
template<typename T>
-class AutomatableSequence : public Automatable, public Evoral::Sequence<T> {
+class /*LIBARDOUR_API*/ AutomatableSequence : public Automatable, public Evoral::Sequence<T> {
public:
- AutomatableSequence(Session& s, size_t size)
+ AutomatableSequence(Session& s)
: Evoral::ControlSet()
, Automatable(s)
, Evoral::Sequence<T>(EventTypeMap::instance())
{}
+
+ AutomatableSequence(const AutomatableSequence<T>& other)
+ : Evoral::ControlSet(other)
+ , Automatable(other._a_session)
+ , Evoral::Sequence<T>(other)
+ {}
+
};
} // namespace ARDOUR