| 141 | } |
| 142 | |
| 143 | bool Effect::SaveUserPreset( |
| 144 | const RegistryPath & name, const EffectSettings &settings) const |
| 145 | { |
| 146 | // Save all settings as a single string value in the registry |
| 147 | wxString parms; |
| 148 | if (!SaveSettingsAsString(settings, parms)) |
| 149 | return false; |
| 150 | |
| 151 | return SetConfig(GetDefinition(), PluginSettings::Private, |
| 152 | name, wxT("Parameters"), parms); |
| 153 | } |
| 154 | |
| 155 | RegistryPaths Effect::GetFactoryPresets() const |
| 156 | { |
no test coverage detected