1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +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:
Paul Licameli
2018-11-10 14:47:12 -05:00
parent 906e55f047
commit 5e7d41ec07
151 changed files with 206 additions and 186 deletions

View File

@@ -25,11 +25,12 @@ Licensed under the GNU General Public License v2 or later
#include "../Audacity.h" // needed before GStreamer.h
#if defined(USE_GSTREAMER)
#include "ImportGStreamer.h"
#include <wx/window.h>
#include <wx/log.h>
#if defined(USE_GSTREAMER)
#include "../MemoryX.h"
#define DESC _("GStreamer-compatible files")
@@ -54,7 +55,6 @@ Licensed under the GNU General Public License v2 or later
#include "../WaveTrack.h"
#include "Import.h"
#include "ImportPlugin.h"
#include "ImportGStreamer.h"
extern "C"
{