Remove Effect.h from EffectManager.h and EffectRack.h

This commit is contained in:
Paul Licameli 2019-06-23 07:40:16 -04:00
parent dee27e052f
commit 9935b035c5
6 changed files with 23 additions and 5 deletions

View File

@ -34,6 +34,7 @@ processing. See also MacrosWindow and ApplyMacroDialog.
#include "PluginManager.h"
#include "Prefs.h"
#include "Shuttle.h"
#include "Track.h"
#include "export/ExportFLAC.h"
#include "export/ExportMP3.h"
#include "export/ExportOGG.h"

View File

@ -23,6 +23,8 @@ effects.
#include "../Experimental.h"
#include "Effect.h"
#include <algorithm>
#include <wx/stopwatch.h>
#include <wx/tokenzr.h>

View File

@ -14,16 +14,23 @@
#include "../Experimental.h"
#include <memory>
#include <vector>
#include "audacity/EffectInterface.h"
#include "Effect.h"
#include <unordered_map>
#include <wx/thread.h>
#include "audacity/Types.h"
class AudacityCommand;
class CommandContext;
class CommandMessageTarget;
class ComponentInterfaceSymbol;
class Effect;
class TrackFactory;
class TrackList;
class SelectedRegion;
class wxString;
typedef wxString PluginID;
using EffectArray = std::vector <Effect*> ;
using EffectMap = std::unordered_map<wxString, Effect *>;

View File

@ -16,6 +16,9 @@
#include "../Experimental.h"
#include "Effect.h"
#include "EffectManager.h"
#if defined(EXPERIMENTAL_EFFECTS_RACK)
#include "../UndoManager.h"
@ -39,6 +42,7 @@
#include "../Prefs.h"
#include "../Project.h"
#include "../ProjectHistory.h"
#include "../widgets/wxPanelWrapper.h"
#include "../../images/EffectRack/EffectRack.h"

View File

@ -18,16 +18,19 @@
#if defined(EXPERIMENTAL_EFFECTS_RACK)
#include <vector>
#include <wx/defs.h>
#include <wx/frame.h> // to inherit
#include <wx/timer.h> // member variable
#include "EffectManager.h"
class wxFlexGridSizer;
class wxPanel;
class wxStaticText;
class Effect;
using EffectArray = std::vector<Effect*>;
class EffectRack final : public wxFrame
{
public:

View File

@ -30,6 +30,7 @@ Functions that find and load all LV2 plugins on the system.
#include <wx/string.h>
#include "../EffectManager.h"
#include "../../Internat.h"
#include "LV2Effect.h"
#include "lv2/lv2plug.in/ns/ext/event/event.h"