Audacity 3.2.0
AudacityApplicationLogic.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 AudacityApplicationLogic.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
13#include "CommandFlag.h"
15#include "PluginProvider.h"
16
17class AudacityProject;
18
20{
22// Returns true on success. Will only operate on tracks that
23// have the "selected" flag set to true, which is consistent with
24// Audacity's standard UI.
25AUDACITY_APPLICATION_LOGIC_API bool DoEffect(
26 const PluginID& ID, AudacityProject& project, unsigned flags,
28} // namespace AudacityApplicationLogic
wxString PluginID
Generalized interface for discovery of plug-ins for one protocol.
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
std::function< void()> SelectAllIfNoneCb
AUDACITY_APPLICATION_LOGIC_API bool DoEffect(const PluginID &ID, AudacityProject &project, unsigned flags, ShowEffectHostInterfaceCb, StopPlaybackCb, SelectAllIfNoneCb)
'Repeat Last Effect'.
std::function< bool(Effect &, std::shared_ptr< EffectInstance > &, SimpleEffectSettingsAccess &)> ShowEffectHostInterfaceCb