コード例 #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();
}
コード例 #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;
}
コード例 #3
0
ファイル: BatchCommands.cpp プロジェクト: andreipaga/audacity
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();
}