diff options
Diffstat (limited to 'libs/evoral/evoral/Control.hpp')
-rw-r--r-- | libs/evoral/evoral/Control.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/evoral/evoral/Control.hpp b/libs/evoral/evoral/Control.hpp index ea1e9b89e5..d91c89bb74 100644 --- a/libs/evoral/evoral/Control.hpp +++ b/libs/evoral/evoral/Control.hpp @@ -26,11 +26,14 @@ #include "evoral/visibility.h" #include "evoral/Parameter.hpp" +#include "evoral/ParameterDescriptor.hpp" namespace Evoral { class ControlList; +class ParameterDescriptor; class Transport; +class TypeMap; /** Base class representing some kind of (automatable) control; a fader's gain, * for example, or a compressor plugin's threshold. @@ -38,11 +41,13 @@ class Transport; * The class knows the Evoral::Parameter that it is controlling, and has * a list of values for automation. */ - class LIBEVORAL_API Control { public: - Control(const Parameter& parameter, boost::shared_ptr<ControlList>); + Control(const Parameter& parameter, + const ParameterDescriptor& desc, + boost::shared_ptr<ControlList> list); + virtual ~Control() {} virtual void set_double (double val, double frame=0, bool to_list=false); |