An override still here for historical reasons, ignoring the factory and the access ! We would like to make this effect behave more like others, but it does have its unusual two-pass nature. First choose and analyze an example of noise, then apply noise reduction to another selection. That is difficult to fit into the framework for managing settings of other effects. */
| 144 | then apply noise reduction to another selection. That is difficult to fit into |
| 145 | the framework for managing settings of other effects. */ |
| 146 | int EffectNoiseReduction::ShowHostInterface(EffectBase &, |
| 147 | wxWindow &parent, const EffectDialogFactory &, |
| 148 | std::shared_ptr<EffectInstance> &pInstance, EffectSettingsAccess &access, |
| 149 | bool forceModal) |
| 150 | { |
| 151 | // Assign the out parameter |
| 152 | pInstance = MakeInstance(); |
| 153 | |
| 154 | // to do: use forceModal correctly |
| 155 | |
| 156 | // Doesn't use the factory but substitutes its own dialog |
| 157 | |
| 158 | // We may want to twiddle the levels if we are setting |
| 159 | // from a macro editing dialog |
| 160 | return PromptUser(*mSettings, this, access, parent, |
| 161 | bool(mStatistics), IsBatchProcessing()); |
| 162 | } |
| 163 | |
| 164 | //---------------------------------------------------------------------------- |
| 165 | // EffectNoiseReduction::Dialog |
no test coverage detected