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
30
31#include <wx/wx.h>
32#include <wx/bitmap.h>
33#include <wx/filefn.h>
34#include <wx/ffile.h>
35#include <wx/filename.h>
36#include <wx/textfile.h>
37#include <wx/thread.h>
38#include <wx/tooltip.h>
39
40#include "Identifier.h"
41
42#include "AColor.h"
43#include "Diags.h"
44#include "Envelope.h"
45#include "FFT.h"
46#include "ImageManipulation.h"
47#include "Mix.h"
48#include "Prefs.h"
49#include "UndoManager.h"
50#include "widgets/ASlider.h"
51#include "widgets/Ruler.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