From 0938a42440cc82ce8d0cb064840c258c863714ab Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 30 Sep 2011 17:55:14 +0000 Subject: fixes for 98% of all the warnings/errors reported by OS X gcc on tiger git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/audio_unit.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/ardour/ardour/audio_unit.h') diff --git a/libs/ardour/ardour/audio_unit.h b/libs/ardour/ardour/audio_unit.h index f36e89073b..0a786d5462 100644 --- a/libs/ardour/ardour/audio_unit.h +++ b/libs/ardour/ardour/audio_unit.h @@ -97,7 +97,6 @@ class AUPlugin : public ARDOUR::Plugin int set_state(const XMLNode& node, int); - PresetRecord save_preset (std::string name); bool load_preset (PresetRecord); std::string current_preset() const; @@ -140,6 +139,10 @@ class AUPlugin : public ARDOUR::Plugin static std::string maybe_fix_broken_au_id (const std::string&); + protected: + std::string do_save_preset (std::string name); + void do_remove_preset (std::string); + private: void find_presets (); -- cgit v1.2.3