mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
Each .cpp/.mm file includes corresponding header before any other...
... except Audacity.h This forces us to make each header contain all forward declarations or nested headers that it requires, rather than depend on context.
This commit is contained in:
@@ -11,12 +11,12 @@
|
||||
#include "../../Audacity.h"
|
||||
|
||||
#if defined(USE_VAMP)
|
||||
#include "LoadVamp.h"
|
||||
|
||||
#include <wx/filename.h>
|
||||
|
||||
#include "../EffectManager.h"
|
||||
#include "VampEffect.h"
|
||||
#include "LoadVamp.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
|
@@ -12,10 +12,14 @@
|
||||
|
||||
#if defined(USE_VAMP)
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "audacity/ModuleInterface.h"
|
||||
#include "audacity/EffectInterface.h"
|
||||
#include "audacity/PluginInterface.h"
|
||||
|
||||
#include <vamp-hostsdk/PluginLoader.h>
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// VampEffectsModule
|
||||
|
@@ -14,7 +14,6 @@
|
||||
#include "../../Audacity.h"
|
||||
|
||||
#if defined(USE_VAMP)
|
||||
|
||||
#include "VampEffect.h"
|
||||
|
||||
#include <vamp-hostsdk/Plugin.h>
|
||||
|
Reference in New Issue
Block a user