bool BatchCommands::PromptForParamsFor(wxString command, wxWindow *parent) { Effect * f = EffectManager::Get().GetEffectByIdentifier(command); if( f==NULL ) return false; //mFactory = factory; //mProjectRate = projectRate; f->mParent = parent; //mTracks = list; return f->PromptUser(); }
bool EffectManager::PromptUser(const PluginID & ID, wxWindow *parent) { Effect *effect = GetEffect(ID); bool result = false; if (effect) { result = effect->PromptUser(parent); } return result; }
bool BatchCommands::PromptForParamsFor(wxString command) { Effect * f; f=GetEffectFromCommandName( command ); if( f==NULL ) return false; //mFactory = factory; //mProjectRate = projectRate; f->mParent = NULL; f->mWaveTracks = NULL; //mTracks = list; return f->PromptUser(); }