Esempio n. 1
0
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();
}
Esempio n. 2
0
bool EffectManager::PromptUser(const PluginID & ID, wxWindow *parent)
{
   Effect *effect = GetEffect(ID);
   bool result = false;

   if (effect)
   {
      result = effect->PromptUser(parent);
   }

   return result;
}
Esempio n. 3
0
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();
}