mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 06:01:13 +02:00
Experimental.h in all .h or .cpp files that directly use EXPERIMENTALs...
... except Audacity.h; and in no others. Do so even if Experimental.h gets multiply included, as in both the .h and .cpp files. This makes it easier to do a text scan to be sure there are no unintended quiet changes of meaning because of omission of Experimental.h when the flag is an enabled one. Also move inclusions of Experimental.h earlier. Also don't require Experimental.h to be preceded by Audacity.h to define EXPERIMENTAL_MIDI_OUT correctly.
This commit is contained in:
@@ -17,6 +17,8 @@ Provides thread-safe logging based on the wxWidgets log facility.
|
||||
#include "Audacity.h" // This should always be included first
|
||||
#include "AudacityLogger.h"
|
||||
|
||||
#include "Experimental.h"
|
||||
|
||||
#include "FileNames.h"
|
||||
#include "ShuttleGui.h"
|
||||
|
||||
@@ -27,7 +29,6 @@ Provides thread-safe logging based on the wxWidgets log facility.
|
||||
#include <wx/settings.h>
|
||||
|
||||
#include "../images/AudacityLogoAlpha.xpm"
|
||||
#include "Experimental.h"
|
||||
#include "widgets/ErrorDialog.h"
|
||||
#include "Internat.h"
|
||||
|
||||
|
Reference in New Issue
Block a user