1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-02 06:40:12 +01:00

Just one accessor for the name of a ComponentInterface...

... Translate it explicitly where needed.
This commit is contained in:
Paul Licameli
2019-12-19 11:44:00 -05:00
parent 16e66a1e7e
commit 092033b284
5 changed files with 21 additions and 29 deletions

View File

@@ -137,10 +137,7 @@ public:
virtual TranslatableString GetDescription() = 0;
// non-virtual convenience function
const wxString GetTranslatedName();
// non-virtual convenience function
const TranslatableString GetUntranslatedName();
TranslatableString GetName();
// Parameters, if defined. false means no defined parameters.
virtual bool DefineParams( ShuttleParams & WXUNUSED(S) ){ return false;};