Audacity  2.2.2
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 #include "Audacity.h"
21 
22 #include <stdio.h>
23 #include <stdlib.h>
24 #include <string.h>
25 #include <math.h>
26 #ifdef __WXMSW__
27 #include <initializer_list>
28 #endif
29 
30 
31 
32 #include <wx/wx.h>
33 #include <wx/bitmap.h>
34 #include <wx/filedlg.h>
35 #include <wx/filefn.h>
36 #include <wx/image.h>
37 #include <wx/ffile.h>
38 #include <wx/filename.h>
39 #include <wx/progdlg.h>
40 #include <wx/textfile.h>
41 #include <wx/thread.h>
42 #include <wx/tooltip.h>
43 
44 #include "audacity/Types.h"
45 
46 #include "AColor.h"
47 #include "AudacityApp.h"
48 #include "AudioIO.h"
49 #include "BlockFile.h"
50 #include "Diags.h"
51 #include "DirManager.h"
52 #include "Envelope.h"
53 #include "FFT.h"
54 #include "FileFormats.h"
55 #include "FreqWindow.h"
56 #include "ImageManipulation.h"
57 #include "Internat.h"
58 #include "LabelTrack.h"
59 #include "Mix.h"
60 #include "NoteTrack.h"
61 #include "Prefs.h"
62 #include "Project.h"
63 #include "SampleFormat.h"
64 #include "Sequence.h"
65 #include "TimeTrack.h"
66 #include "Track.h"
67 #include "UndoManager.h"
68 #include "ViewInfo.h"
69 #include "WaveTrack.h"
70 #include "widgets/ASlider.h"
71 #include "widgets/ProgressDialog.h"
72 #include "widgets/Ruler.h"
73 #include "xml/XMLTagHandler.h"
74 
75 // PRL: These lines allow you to remove Project.h above.
76 // They must be included before the definition of macro NEW below.
77 #include <set>
78 #include <map>
79 
80 //#ifdef __WXMSW__
81 // Enable this to diagnose memory leaks too!
82 // #include <wx/msw/msvcrt.h> // redefines the NEW() operator
83 //#endif
84 
85 #if __WXMSW__
86 #ifdef _DEBUG
87 #define _CRTDBG_MAP_ALLOC
88 #include <crtdbg.h>
89 #undef new
90 #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
91 #define new DEBUG_NEW
92 #endif
93 #endif