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

Method SaveSettingsAsString

libraries/lib-effects/Effect.cpp:202–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200// Effect implementation
201
202bool Effect::SaveSettingsAsString(
203 const EffectSettings &settings, wxString & parms) const
204{
205 CommandParameters eap;
206 ShuttleGetAutomation S;
207 S.mpEap = &eap;
208 if( VisitSettings( S, settings ) ){
209 ;// got eap value using VisitSettings.
210 }
211 // Won't be needed in future
212 else if (!SaveSettings(settings, eap))
213 {
214 return false;
215 }
216
217 return eap.GetParameters(parms);
218}
219
220OptionalMessage Effect::LoadSettingsFromString(
221 const wxString & parms, EffectSettings &settings) const

Callers

nothing calls this directly

Calls 1

GetParametersMethod · 0.45

Tested by

no test coverage detected