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

Method SaveSettingsAsString

src/commands/AudacityCommand.cpp:113–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113bool AudacityCommand::SaveSettingsAsString(wxString & parms)
114{
115 CommandParameters eap;
116
117 if (mUIDialog && !TransferDataFromWindow())
118 {
119 return false;
120 }
121
122 ShuttleGetAutomation S;
123 S.mpEap = &eap;
124 bool bResult = VisitSettings( S );
125 wxASSERT_MSG( bResult, "You did not define DefineParameters() for this command" );
126 static_cast<void>(bResult); // fix unused variable warning in release mode
127
128 return eap.GetParameters(parms);
129}
130
131bool AudacityCommand::LoadSettingsFromString(const wxString & parms)
132{

Callers 2

GetEffectParametersMethod · 0.45
ExportPresetsMethod · 0.45

Calls 1

GetParametersMethod · 0.45

Tested by

no test coverage detected