mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-05 22:21:15 +01: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:
@@ -20,6 +20,7 @@
|
||||
*//********************************************************************/
|
||||
|
||||
#include "../Audacity.h"
|
||||
#include "ErrorDialog.h"
|
||||
|
||||
#include <wx/button.h>
|
||||
#include <wx/icon.h>
|
||||
@@ -42,8 +43,6 @@
|
||||
#include "../Prefs.h"
|
||||
#include "HelpSystem.h"
|
||||
|
||||
#include "ErrorDialog.h"
|
||||
|
||||
// special case for alias missing dialog because we keep track of if it exists.
|
||||
class AliasedFileMissingDialog final : public ErrorDialog
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user