X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fevoral%2Fevoral%2FControl.hpp;h=2f6e72be1e82fe3364cc1848602953fe9361ff09;hb=ead5dd45689be089d79a4a5daad88da737ca4cd9;hp=01dc2eebed2aaba3b39eebc4b76e12c77d6decb3;hpb=e14187aadd574d46c82d8eb0d151b526b84ddcc7;p=ardour.git diff --git a/libs/evoral/evoral/Control.hpp b/libs/evoral/evoral/Control.hpp index 01dc2eebed..2f6e72be1e 100644 --- a/libs/evoral/evoral/Control.hpp +++ b/libs/evoral/evoral/Control.hpp @@ -22,9 +22,8 @@ #include #include #include -#include -#include -#include +#include "evoral/types.hpp" +#include "evoral/Parameter.hpp" namespace Evoral { @@ -37,9 +36,9 @@ public: Control(const Parameter& parameter, boost::shared_ptr); virtual ~Control() {} - void set_value(float val, bool to_list=false, nframes_t frame=0); - float get_value(bool from_list=false, nframes_t frame=0) const; - float user_value() const; + virtual void set_float(float val, bool to_list=false, FrameTime frame=0); + virtual float get_float(bool from_list=false, FrameTime frame=0) const; + virtual float user_float() const; void set_list(boost::shared_ptr);