mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 17:11:12 +02:00
Type aliases for some uses of ComponentInterfaceSymbol...
... to be replaced later with distinct types Also changing FamilyId => Family in function names Also NumericFormatId => NumericFormatSymbol
This commit is contained in:
@@ -80,7 +80,7 @@ ComponentInterfaceSymbol VampEffectsModule::GetSymbol()
|
||||
return XO("Vamp Effects");
|
||||
}
|
||||
|
||||
ComponentInterfaceSymbol VampEffectsModule::GetVendor()
|
||||
VendorSymbol VampEffectsModule::GetVendor()
|
||||
{
|
||||
return XO("The Audacity Team");
|
||||
}
|
||||
|
@@ -32,7 +32,7 @@ public:
|
||||
|
||||
wxString GetPath() override;
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
ComponentInterfaceSymbol GetVendor() override;
|
||||
VendorSymbol GetVendor() override;
|
||||
wxString GetVersion() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
|
@@ -97,7 +97,7 @@ ComponentInterfaceSymbol VampEffect::GetSymbol()
|
||||
return mName;
|
||||
}
|
||||
|
||||
ComponentInterfaceSymbol VampEffect::GetVendor()
|
||||
VendorSymbol VampEffect::GetVendor()
|
||||
{
|
||||
return { wxString::FromUTF8(mPlugin->getMaker().c_str()) };
|
||||
}
|
||||
@@ -121,7 +121,7 @@ EffectType VampEffect::GetType()
|
||||
return EffectTypeAnalyze;
|
||||
}
|
||||
|
||||
ComponentInterfaceSymbol VampEffect::GetFamilyId()
|
||||
EffectFamilySymbol VampEffect::GetFamily()
|
||||
{
|
||||
return VAMPEFFECTS_FAMILY;
|
||||
}
|
||||
@@ -166,7 +166,7 @@ bool VampEffect::GetAutomationParameters(CommandParameters & parms)
|
||||
mParameters[p].quantizeStep == 1.0 &&
|
||||
!mParameters[p].valueNames.empty())
|
||||
{
|
||||
std::vector<ComponentInterfaceSymbol> choices;
|
||||
std::vector<EnumValueSymbol> choices;
|
||||
int val = 0;
|
||||
|
||||
for (size_t i = 0, choiceCount = mParameters[p].valueNames.size(); i < choiceCount; i++)
|
||||
@@ -213,7 +213,7 @@ bool VampEffect::SetAutomationParameters(CommandParameters & parms)
|
||||
mParameters[p].quantizeStep == 1.0 &&
|
||||
!mParameters[p].valueNames.empty())
|
||||
{
|
||||
std::vector<ComponentInterfaceSymbol> choices;
|
||||
std::vector<EnumValueSymbol> choices;
|
||||
int val;
|
||||
|
||||
for (size_t i = 0, choiceCount = mParameters[p].valueNames.size(); i < choiceCount; i++)
|
||||
@@ -259,7 +259,7 @@ bool VampEffect::SetAutomationParameters(CommandParameters & parms)
|
||||
mParameters[p].quantizeStep == 1.0 &&
|
||||
!mParameters[p].valueNames.empty())
|
||||
{
|
||||
std::vector<ComponentInterfaceSymbol> choices;
|
||||
std::vector<EnumValueSymbol> choices;
|
||||
int val = 0;
|
||||
|
||||
for (size_t i = 0, choiceCount = mParameters[p].valueNames.size(); i < choiceCount; i++)
|
||||
|
@@ -48,14 +48,14 @@ public:
|
||||
|
||||
wxString GetPath() override;
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
ComponentInterfaceSymbol GetVendor() override;
|
||||
VendorSymbol GetVendor() override;
|
||||
wxString GetVersion() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
EffectType GetType() override;
|
||||
ComponentInterfaceSymbol GetFamilyId() override;
|
||||
EffectFamilySymbol GetFamily() override;
|
||||
bool IsInteractive() override;
|
||||
bool IsDefault() override;
|
||||
|
||||
|
Reference in New Issue
Block a user