diff options
author | David Robillard <d@drobilla.net> | 2009-02-26 00:58:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-26 00:58:35 +0000 |
commit | 03536cd399131e3fec54c95ae5ac6f11dca05aef (patch) | |
tree | ce73dfb9f1258c79f0e985840a12842154683479 /libs/ardour/ardour | |
parent | 3bc71af0ca89354670243e600c70374bfb224c6d (diff) |
Fix a bunch of warnings.
Clean up.
git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 17 | ||||
-rw-r--r-- | libs/ardour/ardour/tempo.h | 2 |
2 files changed, 10 insertions, 9 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); diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index 6a42762fa0..e82639ef51 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -90,7 +90,7 @@ class MetricSection { virtual ~MetricSection() {} const BBT_Time& start() const { return _start; } - const nframes_t frame() const { return _frame; } + nframes_t frame() const { return _frame; } void set_movable (bool yn) { _movable = yn; } bool movable() const { return _movable; } |