| 200 | // Effect implementation |
| 201 | |
| 202 | bool 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 | |
| 220 | OptionalMessage Effect::LoadSettingsFromString( |
| 221 | const wxString & parms, EffectSettings &settings) const |
nothing calls this directly
no test coverage detected