Audacity 3.2.0
|
Typedefs | |
using | ConfigValueTypes = TypeList::List< wxString, int, bool, float, double > |
Supported types for settings. More... | |
using | ConfigReference = TypeListVisitor::VariantOfReferences_t< false, ConfigValueTypes > |
Define a reference to a variable of one of the types in ConfigValueTypes. More... | |
using | ConfigConstReference = TypeListVisitor::VariantOfReferences_t< true, ConfigValueTypes > |
Enumerations | |
enum | ConfigurationType : unsigned { Shared , Private } |
using PluginSettings::ConfigConstReference = typedef TypeListVisitor::VariantOfReferences_t<true, ConfigValueTypes> |
Definition at line 72 of file PluginInterface.h.
using PluginSettings::ConfigReference = typedef TypeListVisitor::VariantOfReferences_t<false, ConfigValueTypes> |
Define a reference to a variable of one of the types in ConfigValueTypes.
Definition at line 70 of file PluginInterface.h.
using PluginSettings::ConfigValueTypes = typedef TypeList::List< wxString , int , bool , float , double > |
Supported types for settings.
Definition at line 61 of file PluginInterface.h.
enum PluginSettings::ConfigurationType : unsigned |
|
inlinedelete |
|
inlinedelete |
|
inline |
Definition at line 99 of file ConfigInterface.h.
References GetConfig(), ident(), and key.
|
inline |
Definition at line 73 of file ConfigInterface.h.
References GetConfigValue(), ident(), and key.
Referenced by EffectBase::DoEffect(), EqualizationParameters::EqualizationParameters(), GetConfig(), anonymous_namespace{LV2Preferences.cpp}::GetSetting(), anonymous_namespace{EffectManager.cpp}::InitializePreset(), LadspaEffectBase::LoadParameters(), LV2EffectBase::LoadParameters(), AudioUnitWrapper::LoadPreset(), LadspaInstance::LoadUseLatency(), VST3Wrapper::LoadUserPreset(), VSTEffectBase::LoadUserPreset(), AudioUnitEffectBase::MakeInstance(), VSTEffectBase::MakeInstance(), AudioUnitEffectBase::MigrateOldConfigFile(), EffectChangeSpeed::PopulateOrExchange(), AudioUnitEffect::PopulateUI(), VSTEffect::PopulateUI(), VST3Effect::PopulateUI(), VST3Instance::ReloadUserOptions(), NoiseReductionBase::TrackProgress(), and EffectChangeSpeed::Update_Vinyl().
|
inline |
Definition at line 81 of file ConfigInterface.h.
References GetConfig(), ident(), and key.
MODULE_MANAGER_API bool PluginSettings::GetConfigSubgroups | ( | const EffectDefinitionInterface & | ident, |
PluginSettings::ConfigurationType | type, | ||
const RegistryPath & | group, | ||
RegistryPaths & | subgroups | ||
) |
Definition at line 27 of file ConfigInterface.cpp.
References PluginManager::Get(), and ident().
Referenced by GetUserPresets(), and EffectUIHost::LoadUserPresets().
MODULE_MANAGER_API bool PluginSettings::GetConfigValue | ( | const EffectDefinitionInterface & | ident, |
PluginSettings::ConfigurationType | type, | ||
const RegistryPath & | group, | ||
const RegistryPath & | key, | ||
ConfigReference | var, | ||
ConfigConstReference | defval | ||
) |
Definition at line 54 of file ConfigInterface.cpp.
References PluginManager::Get(), ident(), and key.
Referenced by GetConfig().
MODULE_MANAGER_API bool PluginSettings::HasConfigGroup | ( | const EffectDefinitionInterface & | ident, |
PluginSettings::ConfigurationType | type, | ||
const RegistryPath & | group | ||
) |
Definition at line 14 of file ConfigInterface.cpp.
References PluginManager::Get(), and ident().
Referenced by HasCurrentSettings(), and HasFactoryDefaults().
MODULE_MANAGER_API bool PluginSettings::HasConfigValue | ( | const EffectDefinitionInterface & | ident, |
PluginSettings::ConfigurationType | type, | ||
const RegistryPath & | group, | ||
const RegistryPath & | key | ||
) |
Definition at line 41 of file ConfigInterface.cpp.
References PluginManager::Get(), ident(), and key.
MODULE_MANAGER_API bool PluginSettings::RemoveConfig | ( | const EffectDefinitionInterface & | ident, |
PluginSettings::ConfigurationType | type, | ||
const RegistryPath & | group, | ||
const RegistryPath & | key | ||
) |
Definition at line 89 of file ConfigInterface.cpp.
References PluginManager::Get(), ident(), and key.
Referenced by AudioUnitEffectBase::MigrateOldConfigFile().
MODULE_MANAGER_API bool PluginSettings::RemoveConfigSubgroup | ( | const EffectDefinitionInterface & | ident, |
PluginSettings::ConfigurationType | type, | ||
const RegistryPath & | group | ||
) |
Definition at line 78 of file ConfigInterface.cpp.
References PluginManager::Get(), and ident().
Referenced by EffectUIHost::OnDeletePreset().
|
inline |
Definition at line 111 of file ConfigInterface.h.
References ident(), key, and SetConfigValue().
Referenced by anonymous_namespace{EffectManager.cpp}::InitializePreset(), EffectChangeSpeed::OnChoice_Vinyl(), AudioUnitEffectOptionsDialog::OnOk(), VSTEffectOptionsDialog::OnOk(), VST3OptionsDialog::OnOk(), AudioUnitEffectBase::SaveBlobToConfig(), EqualizationParameters::SaveConfig(), LadspaEffectBase::SaveParameters(), LV2EffectBase::SaveParameters(), LadspaInstance::SaveUseLatency(), VST3Wrapper::SaveUserPreset(), Effect::SaveUserPreset(), VSTEffectBase::SaveUserPreset(), anonymous_namespace{LV2Preferences.cpp}::SetSetting(), EffectUIHost::TransferDataFromWindow(), and EffectChangeSpeed::TransferDataFromWindow().
MODULE_MANAGER_API bool PluginSettings::SetConfigValue | ( | const EffectDefinitionInterface & | ident, |
PluginSettings::ConfigurationType | type, | ||
const RegistryPath & | group, | ||
const RegistryPath & | key, | ||
ConfigConstReference | value | ||
) |
Definition at line 68 of file ConfigInterface.cpp.
References PluginManager::Get(), ident(), and key.
Referenced by SetConfig().