MCPcopy Create free account
hub / github.com/audacity/audacity / Apply

Method Apply

src/commands/PreferenceCommands.cpp:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60bool GetPreferenceCommand::Apply(const CommandContext & context)
61{
62 wxString prefValue;
63 if (!gPrefs->Read(mName, &prefValue))
64 return false;
65
66 context.Status(prefValue);
67 return true;
68}
69
70const ComponentInterfaceSymbol SetPreferenceCommand::Symbol
71{ XO("Set Preference") };

Callers

nothing calls this directly

Calls 5

DoReloadPreferencesFunction · 0.85
ReadMethod · 0.45
StatusMethod · 0.45
WriteMethod · 0.45
FlushMethod · 0.45

Tested by

no test coverage detected