diff options
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index ecf22443ad..0039a1f8ca 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -21,7 +21,6 @@ #define __ardour_plugin_h__ #include <boost/shared_ptr.hpp> -#include <boost/utility.hpp> #include <sigc++/signal.h> #include <glibmm/ustring.h> @@ -88,7 +87,7 @@ class PluginInfo { typedef boost::shared_ptr<PluginInfo> PluginInfoPtr; typedef std::list<PluginInfoPtr> PluginInfoList; -class Plugin : public PBD::StatefulDestructible, public Latent, public boost::noncopyable +class Plugin : public PBD::StatefulDestructible, public Latent { public: Plugin (ARDOUR::AudioEngine&, ARDOUR::Session&); @@ -194,14 +193,16 @@ class Plugin : public PBD::StatefulDestructible, public Latent, public boost::no protected: friend class PluginInsert; friend struct PluginInsert::PluginControl; + virtual void set_parameter (uint32_t which, float val) = 0; + + bool save_preset (string uri, string domain /* vst, ladspa etc. */); - ARDOUR::AudioEngine& _engine; - ARDOUR::Session& _session; - PluginInfoPtr _info; - uint32_t _cycles; - map<string,PresetRecord> presets; - bool save_preset(string uri, string domain /* vst, ladspa etc. */); + ARDOUR::AudioEngine& _engine; + ARDOUR::Session& _session; + PluginInfoPtr _info; + uint32_t _cycles; + map<string,PresetRecord> presets; }; PluginPtr find_plugin(ARDOUR::Session&, string unique_id, ARDOUR::PluginType); |