don't add a [shared] panner for the sends to monitoing section
[ardour.git] / libs / ardour / ardour / automatable_sequence.h
index 9259234f81f2f75ca7b18153bd8a5dcab542d113..730ea33a7cf5f600e22e548ecf6180faac48968f 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    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
@@ -20,8 +20,8 @@
 #ifndef __ardour_automatable_sequence_h__
 #define __ardour_automatable_sequence_h__
 
-#include <evoral/Sequence.hpp>
-#include <ardour/automatable.h>
+#include "evoral/Sequence.hpp"
+#include "ardour/automatable.h"
 
 namespace ARDOUR {
 
@@ -29,11 +29,18 @@ namespace ARDOUR {
 template<typename T>
 class 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