1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 17:41:13 +02: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

@@ -64,7 +64,10 @@ public:
virtual ~EffectIdentInterface() {};
virtual EffectType GetType() = 0;
virtual wxString GetFamily() = 0;
// Returns a string for internal uses only that may persist in config files:
virtual wxString GetFamilyId() = 0;
// Returns a user-visible string:
virtual wxString GetFamilyName() = 0;
// These should move to the "EffectClientInterface" class once all
// effects have been converted.