| 128 | } |
| 129 | |
| 130 | OptionalMessage Effect::LoadUserPreset( |
| 131 | const RegistryPath & name, EffectSettings &settings) const |
| 132 | { |
| 133 | // Find one string in the registry and then reinterpret it |
| 134 | // as complete settings |
| 135 | wxString parms; |
| 136 | if (!GetConfig(GetDefinition(), PluginSettings::Private, |
| 137 | name, wxT("Parameters"), parms)) |
| 138 | return {}; |
| 139 | |
| 140 | return LoadSettingsFromString(parms, settings); |
| 141 | } |
| 142 | |
| 143 | bool Effect::SaveUserPreset( |
| 144 | const RegistryPath & name, const EffectSettings &settings) const |
no test coverage detected