1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-24 15:11:11 +01:00

Distinguish Effect Family Id from Effect Family Name...

... and the distinction makes a difference only for built-in effects.

"Id" is meant to persist in pluginregistry.cfg, and is constrained by how
previous versions of Audacity were written.

"Name" is not persistent, so we have the liberty to change it, as done here
for the built-ins.
This commit is contained in:
Paul Licameli
2018-01-15 23:40:42 -05:00
parent d1d78fd56e
commit 097764d94c
17 changed files with 91 additions and 44 deletions

View File

@@ -89,7 +89,7 @@ public:
// Effect plugins only
wxString GetUntranslatedEffectFamily() const;
wxString GetEffectFamilyId() const;
wxString GetTranslatedEffectFamily() const;
EffectType GetEffectType() const;
bool IsEffectDefault() const;
@@ -99,7 +99,7 @@ public:
bool IsEffectAutomatable() const;
// "family" should be an untranslated string wrapped in wxT()
void SetEffectFamily(const wxString & family);
void SetEffectFamilyId(const wxString & family);
void SetEffectType(EffectType type);
void SetEffectDefault(bool dflt);
void SetEffectInteractive(bool interactive);