more attempted cleanup of AU preset declarations
git-svn-id: svn://localhost/ardour2/branches/3.0@9263 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7d30cc243f
commit
ee725fbe91
@ -97,8 +97,8 @@ class AUPlugin : public ARDOUR::Plugin
|
|||||||
|
|
||||||
int set_state(const XMLNode& node, int);
|
int set_state(const XMLNode& node, int);
|
||||||
|
|
||||||
bool save_preset (std::string name);
|
PresetRecord save_preset (std::string name);
|
||||||
bool load_preset (const std::string& preset_label);
|
bool load_preset (PresetRecord);
|
||||||
std::string current_preset() const;
|
std::string current_preset() const;
|
||||||
|
|
||||||
bool has_editor () const;
|
bool has_editor () const;
|
||||||
|
@ -1658,8 +1658,10 @@ AUPlugin::set_state(const XMLNode& node, int version)
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
AUPlugin::load_preset (const string& preset_label)
|
AUPlugin::load_preset (PluginRecord r)
|
||||||
{
|
{
|
||||||
|
Plugin::load_preset (r);
|
||||||
|
|
||||||
#ifdef AU_STATE_SUPPORT
|
#ifdef AU_STATE_SUPPORT
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
CFPropertyListRef propertyList;
|
CFPropertyListRef propertyList;
|
||||||
@ -1719,7 +1721,7 @@ AUPlugin::load_preset (const string& preset_label)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
PresetRecord
|
||||||
AUPlugin::save_preset (string preset_name)
|
AUPlugin::save_preset (string preset_name)
|
||||||
{
|
{
|
||||||
#ifdef AU_STATE_SUPPORT
|
#ifdef AU_STATE_SUPPORT
|
||||||
|
Loading…
Reference in New Issue
Block a user