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