Audacity 3.2.0
Functions
EffectInterface.cpp File Reference
#include "EffectInterface.h"
#include <wx/tokenzr.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 219 of file EffectInterface.cpp.

220{
221 static RegistryPath id{ "CurrentSettings" };
222 return id;
223}
wxString RegistryPath
Definition: Identifier.h:218
int id

References id.

Referenced by EffectBase::DoEffect(), HasCurrentSettings(), anonymous_namespace{EffectManager.cpp}::InitializePreset(), Effect::LoadSettingsFromString(), EffectUIHost::OnApply(), EffectChangeSpeed::OnChoice_Vinyl(), EffectChangeSpeed::PopulateOrExchange(), EffectEqualization::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 225 of file EffectInterface.cpp.

226{
227 static RegistryPath id{ "FactoryDefaults" };
228 return id;
229}

References id.

Referenced by HasFactoryDefaults(), anonymous_namespace{EffectManager.cpp}::InitializePreset(), Effect::LoadFactoryDefaults(), 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 231 of file EffectInterface.cpp.

232{
233 RegistryPath group = wxT("UserPresets");
234 if (!name.empty())
235 group += wxCONFIG_PATH_SEPARATOR + name;
236 return group;
237}
const TranslatableString name
Definition: Distortion.cpp:82

References TranslatableString::empty(), and name.

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: