Audacity 3.2.0
AudacityApplicationLogicTypes.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 AudacityApplicationLogicTypes.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
13#include "TranslatableString.h"
14#include <functional>
15#include <memory>
16
17class Effect;
18class EffectInstance;
20
22{
23using ShowEffectHostInterfaceCb = std::function<bool(
24 Effect&, std::shared_ptr<EffectInstance>&, SimpleEffectSettingsAccess&)>;
25
26using StopPlaybackCb = std::function<void()>;
27
28using SelectAllIfNoneCb = std::function<void()>;
29} // namespace AudacityApplicationLogic
Base class for many of the effects in Audacity.
Definition: Effect.h:26
Performs effect computation.
Implementation of EffectSettings for cases where there is only one thread.
std::function< void()> SelectAllIfNoneCb
std::function< bool(Effect &, std::shared_ptr< EffectInstance > &, SimpleEffectSettingsAccess &)> ShowEffectHostInterfaceCb