Audacity 3.2.0
AudacityHeaders.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 AudacityHeaders.h
6
7 Dominic Mazzoni
8
9 This is not a normal include file - it's currently only used
10 on Mac OS X as a "precompiled header" file that's automatically
11 included by all source files, resulting in roughly a 2x increase
12 in compilation speed.
13
14 When gcc 3.4 is released, it will have precompiled header support
15 on other platforms, and this file could be adapted to support
16 precompiled headers on Linux, etc.
17
18**********************************************************************/
19
20
21
22#include <stdlib.h>
23#include <string.h>
24#include <math.h>
25#ifdef __WXMSW__
26#include <initializer_list>
27#endif
28
29#include <rapidjson/document.h>
30#include <rapidjson/writer.h>
31
32#include <wx/wx.h>
33#include <wx/bitmap.h>
34#include <wx/filefn.h>
35#include <wx/ffile.h>
36#include <wx/filename.h>
37#include <wx/textfile.h>
38#include <wx/thread.h>
39#include <wx/tooltip.h>
40
41#include "Identifier.h"
42
43#include "AColor.h"
44#include "Diags.h"
45#include "Envelope.h"
46#include "FFT.h"
47#include "ImageManipulation.h"
48#include "Mix.h"
49#include "Prefs.h"
50#include "UndoManager.h"
51#include "widgets/ASlider.h"
52
53// PRL: These lines allow you to remove Project.h above.
54// They must be included before the definition of macro NEW below.
55#include <set>
56#include <map>
57
58//#ifdef __WXMSW__
59// Enable this to diagnose memory leaks too!
60// #include <wx/msw/msvcrt.h> // redefines the NEW() operator
61//#endif
62
63#ifdef _MSC_VER
64#ifdef _DEBUG
65#define _CRTDBG_MAP_ALLOC
66#include <crtdbg.h>
67#undef new
68#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
69#define new DEBUG_NEW
70#endif
71#endif