Audacity 3.2.0
Functions
EffectInterface.cpp File Reference
#include "EffectInterface.h"
#include <wx/tokenzr.h>
#include <wx/window.h>
Include dependency graph for EffectInterface.cpp:

Go to the source code of this file.

Functions

const RegistryPathCurrentSettingsGroup ()
 Component of a configuration key path, for last-used destructive settings. More...
 
const RegistryPathFactoryDefaultsGroup ()
 Component of a configuration key path, for default state of MakeSettings() More...
 
RegistryPath UserPresetsGroup (const RegistryPath &name)
 Compute part of a registry path, given a name which may be empty. More...
 

Detailed Description


Audacity: A Digital Audio Editor

Definition in file EffectInterface.cpp.

Function Documentation

◆ CurrentSettingsGroup()

const RegistryPath & CurrentSettingsGroup ( )

Component of a configuration key path, for last-used destructive settings.

Definition at line 247 of file EffectInterface.cpp.

248{
249 static RegistryPath id{ "CurrentSettings" };
250 return id;
251}
wxString RegistryPath
Definition: Identifier.h:218
int id

References id.

Referenced by EffectUIHost::DoCancel(), EffectBase::DoEffect(), HasCurrentSettings(), anonymous_namespace{EffectManager.cpp}::InitializePreset(), Effect::LoadSettingsFromString(), EffectUIHost::OnApply(), EffectChangeSpeed::OnChoice_Vinyl(), EffectChangeSpeed::PopulateOrExchange(), EffectChangeSpeed::TransferDataFromWindow(), EffectChangeSpeed::Update_Vinyl(), and EffectEqualization::ValidateUI().

Here is the caller graph for this function:

◆ FactoryDefaultsGroup()

const RegistryPath & FactoryDefaultsGroup ( )

Component of a configuration key path, for default state of MakeSettings()

Definition at line 253 of file EffectInterface.cpp.

254{
255 static RegistryPath id{ "FactoryDefaults" };
256 return id;
257}

References id.

Referenced by HasFactoryDefaults(), anonymous_namespace{EffectManager.cpp}::InitializePreset(), Effect::LoadFactoryDefaults(), AudioUnitWrapper::LoadFactoryPreset(), and Effect::LoadSettingsFromString().

Here is the caller graph for this function:

◆ UserPresetsGroup()

RegistryPath UserPresetsGroup ( const RegistryPath name)

Compute part of a registry path, given a name which may be empty.

Definition at line 259 of file EffectInterface.cpp.

260{
261 RegistryPath group = wxT("UserPresets");
262 if (!name.empty())
263 group += wxCONFIG_PATH_SEPARATOR + name;
264 return group;
265}
wxT("CloseDown"))
const TranslatableString name
Definition: Distortion.cpp:82

References TranslatableString::empty(), name, and wxT().

Referenced by GetUserPresets(), Effect::LoadSettingsFromString(), EffectUIHost::LoadUserPresets(), EffectUIHost::OnDeletePreset(), EffectUIHost::OnSaveAs(), and EffectUIHost::OnUserPreset().

Here is the call graph for this function:
Here is the caller graph for this function: