1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Revert "Remove redundant #include-s from .h files..."

This reverts commit b7fe62d17067b4441530dd36b25052cea3ad44b5.
This commit is contained in:
Paul Licameli 2019-05-16 14:33:55 -04:00
parent b7fe62d170
commit 56f51d8176
99 changed files with 142 additions and 1 deletions

View File

@ -14,6 +14,7 @@
#ifndef __AUDACITY_COLOR__ #ifndef __AUDACITY_COLOR__
#define __AUDACITY_COLOR__ #define __AUDACITY_COLOR__
#include "MemoryX.h"
#include <wx/brush.h> // member variable #include <wx/brush.h> // member variable
#include <wx/pen.h> // member variable #include <wx/pen.h> // member variable

View File

@ -11,6 +11,7 @@
#ifndef __AUDACITY_ABOUT_DLG__ #ifndef __AUDACITY_ABOUT_DLG__
#define __AUDACITY_ABOUT_DLG__ #define __AUDACITY_ABOUT_DLG__
#include "MemoryX.h"
#include <vector> #include <vector>
#include "widgets/wxPanelWrapper.h" // to inherit #include "widgets/wxPanelWrapper.h" // to inherit

View File

@ -14,6 +14,8 @@
#include "CellularPanel.h" #include "CellularPanel.h"
#include "widgets/Ruler.h" // member variable #include "widgets/Ruler.h" // member variable
#include "MemoryX.h"
class ViewInfo; class ViewInfo;
class AudacityProject; class AudacityProject;
class SnapManager; class SnapManager;

View File

@ -19,6 +19,7 @@
#include "Experimental.h" #include "Experimental.h"
#include "MemoryX.h"
#include <wx/app.h> // to inherit #include <wx/app.h> // to inherit
#include <wx/dir.h> // for wxDIR_FILES #include <wx/dir.h> // for wxDIR_FILES
#include <wx/timer.h> // member variable #include <wx/timer.h> // member variable

View File

@ -53,18 +53,23 @@
#include "FileFormats.h" #include "FileFormats.h"
#include "FreqWindow.h" #include "FreqWindow.h"
#include "ImageManipulation.h" #include "ImageManipulation.h"
#include "Internat.h"
#include "LabelTrack.h" #include "LabelTrack.h"
#include "Mix.h" #include "Mix.h"
#include "NoteTrack.h" #include "NoteTrack.h"
#include "Prefs.h" #include "Prefs.h"
#include "Project.h" #include "Project.h"
#include "SampleFormat.h"
#include "Sequence.h" #include "Sequence.h"
#include "TimeTrack.h" #include "TimeTrack.h"
#include "Track.h"
#include "UndoManager.h" #include "UndoManager.h"
#include "ViewInfo.h"
#include "WaveTrack.h" #include "WaveTrack.h"
#include "widgets/ASlider.h" #include "widgets/ASlider.h"
#include "widgets/ProgressDialog.h" #include "widgets/ProgressDialog.h"
#include "widgets/Ruler.h" #include "widgets/Ruler.h"
#include "xml/XMLTagHandler.h"
// PRL: These lines allow you to remove Project.h above. // PRL: These lines allow you to remove Project.h above.
// They must be included before the definition of macro NEW below. // They must be included before the definition of macro NEW below.

View File

@ -19,6 +19,7 @@
#include "portaudio.h" #include "portaudio.h"
#include "MemoryX.h"
#include <atomic> #include <atomic>
#include <utility> #include <utility>
#include <vector> #include <vector>

View File

@ -12,6 +12,7 @@
#define __AUDACITY_AUTORECOVERY__ #define __AUDACITY_AUTORECOVERY__
#include "xml/XMLTagHandler.h" #include "xml/XMLTagHandler.h"
#include "xml/XMLWriter.h"
#include <wx/mstream.h> // member variables #include <wx/mstream.h> // member variables

View File

@ -12,6 +12,8 @@
#ifndef __AUDACITY_BLOCKFILE__ #ifndef __AUDACITY_BLOCKFILE__
#define __AUDACITY_BLOCKFILE__ #define __AUDACITY_BLOCKFILE__
#include "MemoryX.h"
#include "SampleFormat.h" #include "SampleFormat.h"
#include "wxFileNameWrapper.h" // member variable #include "wxFileNameWrapper.h" // member variable

View File

@ -15,6 +15,7 @@
/// accepts a list of WaveClips and can do a mini-mixing /// accepts a list of WaveClips and can do a mini-mixing
/// to produce the desired crossfading /// to produce the desired crossfading
#include "SampleFormat.h"
#include "WaveClip.h" #include "WaveClip.h"

View File

@ -11,6 +11,8 @@
#ifndef _DIRMANAGER_ #ifndef _DIRMANAGER_
#define _DIRMANAGER_ #define _DIRMANAGER_
#include "MemoryX.h"
#include "audacity/Types.h" #include "audacity/Types.h"
#include "xml/XMLTagHandler.h" #include "xml/XMLTagHandler.h"

View File

@ -16,6 +16,7 @@
#include <vector> #include <vector>
#include "xml/XMLTagHandler.h" #include "xml/XMLTagHandler.h"
#include "Internat.h"
class wxRect; class wxRect;
class wxMouseEvent; class wxMouseEvent;

View File

@ -18,6 +18,10 @@ Describes shared object that is used to access FFmpeg libraries.
#include "Audacity.h" // for USE_* macros #include "Audacity.h" // for USE_* macros
#include "MemoryX.h"
#include "Internat.h"
#include "widgets/wxPanelWrapper.h" // to inherit #include "widgets/wxPanelWrapper.h" // to inherit
#if defined(__WXMSW__) #if defined(__WXMSW__)

View File

@ -102,6 +102,7 @@ extern FileExtensions sf_get_all_extensions();
wxString sf_normalize_name(const char *name); wxString sf_normalize_name(const char *name);
// This function wrapper uses a mutex to serialize calls to the SndFile library. // This function wrapper uses a mutex to serialize calls to the SndFile library.
#include "MemoryX.h"
#include "ondemand/ODTaskThread.h" #include "ondemand/ODTaskThread.h"
extern ODLock libSndFileMutex; extern ODLock libSndFileMutex;
template<typename R, typename F, typename... Args> template<typename R, typename F, typename... Args>

View File

@ -11,6 +11,7 @@
#ifndef __AUDACITY_FREQ_WINDOW__ #ifndef __AUDACITY_FREQ_WINDOW__
#define __AUDACITY_FREQ_WINDOW__ #define __AUDACITY_FREQ_WINDOW__
#include "MemoryX.h"
#include <vector> #include <vector>
#include <wx/font.h> // member variable #include <wx/font.h> // member variable
#include <wx/statusbr.h> // to inherit #include <wx/statusbr.h> // to inherit

View File

@ -14,6 +14,7 @@
#include <vector> #include <vector>
#include <wx/defs.h> #include <wx/defs.h>
#include "Internat.h"
#include "widgets/wxPanelWrapper.h" // to inherit #include "widgets/wxPanelWrapper.h" // to inherit
#include "audacity/ComponentInterface.h" // member variable #include "audacity/ComponentInterface.h" // member variable

View File

@ -20,6 +20,7 @@
#ifndef __AUDACITY_MIX__ #ifndef __AUDACITY_MIX__
#define __AUDACITY_MIX__ #define __AUDACITY_MIX__
#include "MemoryX.h"
#include "SampleFormat.h" #include "SampleFormat.h"
#include <vector> #include <vector>

View File

@ -26,6 +26,7 @@ but it will probably work fine if you use it on a high level.
#ifndef __AUDACITY_PROFILER__ #ifndef __AUDACITY_PROFILER__
#define __AUDACITY_PROFILER__ #define __AUDACITY_PROFILER__
#include "MemoryX.h"
#include <vector> #include <vector>
#include <time.h> #include <time.h>
#include "ondemand/ODTaskThread.h" #include "ondemand/ODTaskThread.h"

View File

@ -29,6 +29,7 @@
#include "TrackPanelListener.h" #include "TrackPanelListener.h"
#include "AudioIOListener.h" #include "AudioIOListener.h"
#include "xml/XMLTagHandler.h"
#include "toolbars/SelectionBarListener.h" #include "toolbars/SelectionBarListener.h"
#include "toolbars/SpectralSelectionBarListener.h" #include "toolbars/SpectralSelectionBarListener.h"

View File

@ -14,6 +14,8 @@
#include "Audacity.h" #include "Audacity.h"
#include "MemoryX.h"
#include "SampleFormat.h" #include "SampleFormat.h"
class EnumSetting; class EnumSetting;

View File

@ -11,10 +11,12 @@
#ifndef __AUDACITY_SEQUENCE__ #ifndef __AUDACITY_SEQUENCE__
#define __AUDACITY_SEQUENCE__ #define __AUDACITY_SEQUENCE__
#include "MemoryX.h"
#include <vector> #include <vector>
#include "SampleFormat.h" #include "SampleFormat.h"
#include "xml/XMLTagHandler.h" #include "xml/XMLTagHandler.h"
#include "xml/XMLWriter.h"
#include "ondemand/ODTaskThread.h" #include "ondemand/ODTaskThread.h"
#include "audacity/Types.h" #include "audacity/Types.h"

View File

@ -18,6 +18,7 @@
#include <vector> #include <vector>
#include <wx/defs.h> #include <wx/defs.h>
#include "widgets/NumericTextCtrl.h" #include "widgets/NumericTextCtrl.h"
#include "Internat.h"
class AudacityProject; class AudacityProject;
class Track; class Track;

View File

@ -11,6 +11,7 @@
#ifndef __AUDACITY_SPLASH_DLG__ #ifndef __AUDACITY_SPLASH_DLG__
#define __AUDACITY_SPLASH_DLG__ #define __AUDACITY_SPLASH_DLG__
#include "MemoryX.h"
#include "widgets/wxPanelWrapper.h" // to inherit #include "widgets/wxPanelWrapper.h" // to inherit
class wxBitmap; class wxBitmap;

View File

@ -33,6 +33,7 @@
#include "xml/XMLTagHandler.h" #include "xml/XMLTagHandler.h"
#include "MemoryX.h"
#include <utility> #include <utility>
#include "widgets/wxPanelWrapper.h" // to inherit #include "widgets/wxPanelWrapper.h" // to inherit

View File

@ -15,6 +15,7 @@
#include "widgets/NumericTextCtrl.h" // for NumericFormatSymbol #include "widgets/NumericTextCtrl.h" // for NumericFormatSymbol
#include "widgets/wxPanelWrapper.h" // to inherit #include "widgets/wxPanelWrapper.h" // to inherit
#include "Internat.h"
class NumericTextCtrl; class NumericTextCtrl;
class ShuttleGui; class ShuttleGui;

View File

@ -15,6 +15,7 @@
#include "Experimental.h" #include "Experimental.h"
#include "MemoryX.h"
#include <vector> #include <vector>
#include <list> #include <list>
#include <functional> #include <functional>

View File

@ -14,6 +14,7 @@
#include "Audacity.h" // for USE_* macros #include "Audacity.h" // for USE_* macros
#include "Experimental.h" #include "Experimental.h"
#include "MemoryX.h"
#include <vector> #include <vector>
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros

View File

@ -11,6 +11,7 @@ Paul Licameli split from TrackPanel.cpp
#ifndef __AUDACITY_TRACK_PANEL_RESIZE_HANDLE__ #ifndef __AUDACITY_TRACK_PANEL_RESIZE_HANDLE__
#define __AUDACITY_TRACK_PANEL_RESIZE_HANDLE__ #define __AUDACITY_TRACK_PANEL_RESIZE_HANDLE__
#include "MemoryX.h"
#include "UIHandle.h" #include "UIHandle.h"
class Track; class Track;

View File

@ -49,6 +49,7 @@
#ifndef __AUDACITY_UNDOMANAGER__ #ifndef __AUDACITY_UNDOMANAGER__
#define __AUDACITY_UNDOMANAGER__ #define __AUDACITY_UNDOMANAGER__
#include "MemoryX.h"
#include <vector> #include <vector>
#include <wx/event.h> // to declare custom event types #include <wx/event.h> // to declare custom event types
#include "ondemand/ODTaskThread.h" #include "ondemand/ODTaskThread.h"

View File

@ -14,6 +14,7 @@
#include "Audacity.h" #include "Audacity.h"
#include "MemoryX.h"
#include "SampleFormat.h" #include "SampleFormat.h"
#include "ondemand/ODTaskThread.h" #include "ondemand/ODTaskThread.h"
#include "xml/XMLTagHandler.h" #include "xml/XMLTagHandler.h"

View File

@ -12,6 +12,7 @@
#define __AUDACITY_WAVETRACK__ #define __AUDACITY_WAVETRACK__
#include "Track.h" #include "Track.h"
#include "SampleFormat.h"
#include <vector> #include <vector>
#include <wx/longlong.h> #include <wx/longlong.h>

View File

@ -11,6 +11,7 @@
#ifndef __AUDACITY_LEGACYALIASBLOCKFILE__ #ifndef __AUDACITY_LEGACYALIASBLOCKFILE__
#define __AUDACITY_LEGACYALIASBLOCKFILE__ #define __AUDACITY_LEGACYALIASBLOCKFILE__
#include "../BlockFile.h"
#include "PCMAliasBlockFile.h" #include "PCMAliasBlockFile.h"
/// An AliasBlockFile that references uncompressed data in an existing file /// An AliasBlockFile that references uncompressed data in an existing file

View File

@ -28,6 +28,8 @@ Also, see ODPCMAliasBlockFile for a similar file.
#define __AUDACITY_ODDecodeBlockFile__ #define __AUDACITY_ODDecodeBlockFile__
#include "SimpleBlockFile.h" #include "SimpleBlockFile.h"
#include "../BlockFile.h"
#include "../ondemand/ODTaskThread.h"
#include "../ondemand/ODDecodeTask.h" #include "../ondemand/ODDecodeTask.h"
#include <wx/atomic.h> // member variable #include <wx/atomic.h> // member variable

View File

@ -37,6 +37,8 @@ Some of these methods have been overridden only because they used the unsafe wxL
#define __AUDACITY_ODPCMALIASBLOCKFILE__ #define __AUDACITY_ODPCMALIASBLOCKFILE__
#include "PCMAliasBlockFile.h" #include "PCMAliasBlockFile.h"
#include "../BlockFile.h"
#include "../ondemand/ODTaskThread.h"
/// An AliasBlockFile that references uncompressed data in an existing file /// An AliasBlockFile that references uncompressed data in an existing file
class ODPCMAliasBlockFile final : public PCMAliasBlockFile class ODPCMAliasBlockFile final : public PCMAliasBlockFile

View File

@ -13,13 +13,16 @@
#include "../Audacity.h" #include "../Audacity.h"
#include "../MemoryX.h"
#include <set> #include <set>
#include "../MemoryX.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/event.h> // to inherit #include <wx/event.h> // to inherit
#include "../widgets/wxPanelWrapper.h" // to inherit #include "../widgets/wxPanelWrapper.h" // to inherit
#include "../Internat.h"
#include "../include/audacity/ComponentInterface.h" #include "../include/audacity/ComponentInterface.h"
#include "../include/audacity/EffectAutomationParameters.h" // for command automation #include "../include/audacity/EffectAutomationParameters.h" // for command automation

View File

@ -17,6 +17,9 @@
#ifndef __COMMAND__ #ifndef __COMMAND__
#define __COMMAND__ #define __COMMAND__
#include "../MemoryX.h"
#include "CommandMisc.h"
#include "CommandSignature.h" #include "CommandSignature.h"
#include "../commands/AudacityCommand.h" #include "../commands/AudacityCommand.h"

View File

@ -12,6 +12,7 @@
#define __AUDACITY_COMMAND_CONTEXT__ #define __AUDACITY_COMMAND_CONTEXT__
#include "audacity/Types.h" #include "audacity/Types.h"
#include "../MemoryX.h"
#include "Command.h" #include "Command.h"
class AudacityProject; class AudacityProject;

View File

@ -23,6 +23,8 @@ they are kept separate to make things simpler.
#ifndef __COMMANDDIRECTORY__ #ifndef __COMMANDDIRECTORY__
#define __COMMANDDIRECTORY__ #define __COMMANDDIRECTORY__
#include "../MemoryX.h"
#include "CommandMisc.h"
#include "CommandType.h" #include "CommandType.h"
class CommandOutputTargets; class CommandOutputTargets;

View File

@ -9,6 +9,7 @@
#ifndef __AUDACITY_COMMAND_FUNCTORS__ #ifndef __AUDACITY_COMMAND_FUNCTORS__
#define __AUDACITY_COMMAND_FUNCTORS__ #define __AUDACITY_COMMAND_FUNCTORS__
#include "../MemoryX.h"
#include "Command.h" #include "Command.h"
class AudacityProject; class AudacityProject;

View File

@ -19,6 +19,7 @@
#include "CommandFunctors.h" #include "CommandFunctors.h"
#include "CommandFlag.h" #include "CommandFlag.h"
#include "../MemoryX.h"
#include "Keyboard.h" #include "Keyboard.h"
#include <vector> #include <vector>

View File

@ -156,7 +156,7 @@ public:
#if 0 #if 0
//#include "../widgets/ProgressDialog.h" // Member variable #include "../widgets/ProgressDialog.h" // Member variable
/// Sends command progress information to a ProgressDialog /// Sends command progress information to a ProgressDialog
class GUIProgressTarget final : public CommandProgressTarget class GUIProgressTarget final : public CommandProgressTarget

View File

@ -16,7 +16,9 @@
#ifndef __COMMANDTYPE__ #ifndef __COMMANDTYPE__
#define __COMMANDTYPE__ #define __COMMANDTYPE__
#include "CommandMisc.h"
#include "CommandSignature.h" #include "CommandSignature.h"
#include "../MemoryX.h"
#include "../commands/AudacityCommand.h" #include "../commands/AudacityCommand.h"
class OldStyleCommand; class OldStyleCommand;

View File

@ -14,6 +14,7 @@
#define __SCREENSHOT_COMMAND__ #define __SCREENSHOT_COMMAND__
#include "Command.h" #include "Command.h"
#include "../commands/AudacityCommand.h"
#include <wx/colour.h> // member variable #include <wx/colour.h> // member variable

View File

@ -16,6 +16,8 @@
#ifndef __SET_CLIP_COMMAND__ #ifndef __SET_CLIP_COMMAND__
#define __SET_CLIP_COMMAND__ #define __SET_CLIP_COMMAND__
#include "Command.h"
#include "CommandType.h"
#include "SetTrackInfoCommand.h" #include "SetTrackInfoCommand.h"
#define SET_CLIP_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Set Clip") } #define SET_CLIP_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Set Clip") }

View File

@ -16,6 +16,8 @@
#ifndef __SET_ENVELOPE_COMMAND__ #ifndef __SET_ENVELOPE_COMMAND__
#define __SET_ENVELOPE_COMMAND__ #define __SET_ENVELOPE_COMMAND__
#include "Command.h"
#include "CommandType.h"
#include "SetTrackInfoCommand.h" #include "SetTrackInfoCommand.h"
#define SET_ENVELOPE_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Set Envelope") } #define SET_ENVELOPE_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Set Envelope") }

View File

@ -12,6 +12,7 @@
#define __AUDACITY_EFFECT_COMPRESSOR__ #define __AUDACITY_EFFECT_COMPRESSOR__
#include "TwoPassSimpleMono.h" #include "TwoPassSimpleMono.h"
#include "../SampleFormat.h"
class wxCheckBox; class wxCheckBox;
class wxSlider; class wxSlider;

View File

@ -13,6 +13,7 @@
#define __AUDACITY_EFFECT_ECHO__ #define __AUDACITY_EFFECT_ECHO__
#include "Effect.h" #include "Effect.h"
#include "../SampleFormat.h"
class ShuttleGui; class ShuttleGui;

View File

@ -16,8 +16,10 @@
#include "../Experimental.h" #include "../Experimental.h"
#include "../MemoryX.h"
#include <set> #include <set>
#include "../MemoryX.h"
#include <wx/defs.h> #include <wx/defs.h>
class wxButton; class wxButton;
@ -29,7 +31,9 @@ class wxWindow;
#include "audacity/ConfigInterface.h" #include "audacity/ConfigInterface.h"
#include "audacity/EffectInterface.h" #include "audacity/EffectInterface.h"
#include "../SampleFormat.h"
#include "../SelectedRegion.h" #include "../SelectedRegion.h"
#include "../Internat.h"
#include "../Track.h" #include "../Track.h"

View File

@ -20,7 +20,9 @@
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include "Effect.h" #include "Effect.h"
#include "../xml/XMLTagHandler.h"
#include "../RealFFTf.h" #include "../RealFFTf.h"
#include "../SampleFormat.h"
#define EQUALIZATION_PLUGIN_SYMBOL \ #define EQUALIZATION_PLUGIN_SYMBOL \
ComponentInterfaceSymbol{ XO("Equalization") } ComponentInterfaceSymbol{ XO("Equalization") }

View File

@ -15,6 +15,8 @@
#include "Effect.h" #include "Effect.h"
#include "../MemoryX.h"
#define NOISEREDUCTION_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Noise Reduction") } #define NOISEREDUCTION_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Noise Reduction") }
class EffectNoiseReduction final : public Effect { class EffectNoiseReduction final : public Effect {

View File

@ -20,6 +20,9 @@
#include "Effect.h" #include "Effect.h"
#include "../MemoryX.h"
#include "../SampleFormat.h"
class wxButton; class wxButton;
class wxSizer; class wxSizer;
class wxSlider; class wxSlider;

View File

@ -13,6 +13,7 @@ class wxStaticText;
class wxTextCtrl; class wxTextCtrl;
class wxCheckBox; class wxCheckBox;
#include "../../MemoryX.h"
#include <wx/dynlib.h> // member variable #include <wx/dynlib.h> // member variable
#include "audacity/EffectInterface.h" #include "audacity/EffectInterface.h"

View File

@ -15,6 +15,7 @@
class wxArrayString; class wxArrayString;
#include "../../MemoryX.h"
#include <vector> #include <vector>
#include "lv2/lv2plug.in/ns/ext/atom/forge.h" #include "lv2/lv2plug.in/ns/ext/atom/forge.h"

View File

@ -17,6 +17,7 @@
#include <vamp-hostsdk/PluginLoader.h> #include <vamp-hostsdk/PluginLoader.h>
#include "../../SampleFormat.h"
#include "../Effect.h" #include "../Effect.h"
class wxStaticText; class wxStaticText;

View File

@ -11,6 +11,7 @@
#ifndef __AUDACITY_EXPORT__ #ifndef __AUDACITY_EXPORT__
#define __AUDACITY_EXPORT__ #define __AUDACITY_EXPORT__
#include "../MemoryX.h"
#include <vector> #include <vector>
#include <wx/filename.h> // member variable #include <wx/filename.h> // member variable
#include "../SampleFormat.h" #include "../SampleFormat.h"

View File

@ -12,6 +12,7 @@
#define __AUDACITY_FORMATCLASSIFIER_H_ #define __AUDACITY_FORMATCLASSIFIER_H_
#include <vector> #include <vector>
#include "../SampleFormat.h"
#include "MultiFormatReader.h" #include "MultiFormatReader.h"
#include "SpecPowerMeter.h" #include "SpecPowerMeter.h"

View File

@ -59,6 +59,7 @@ but little else.
#include "audacity/Types.h" #include "audacity/Types.h"
#include "../Internat.h" #include "../Internat.h"
#include "../MemoryX.h"
#include "ImportRaw.h" // defines TrackHolders #include "ImportRaw.h" // defines TrackHolders

View File

@ -21,6 +21,7 @@ updating the ODPCMAliasBlockFile and the GUI of the newly available data.
#include <vector> #include <vector>
#include "ODTask.h" #include "ODTask.h"
#include "ODTaskThread.h"
#include "../Internat.h" #include "../Internat.h"
class ODPCMAliasBlockFile; class ODPCMAliasBlockFile;
class WaveTrack; class WaveTrack;

View File

@ -14,11 +14,14 @@
#include "../Experimental.h" #include "../Experimental.h"
#include "../MemoryX.h"
#ifdef EXPERIMENTAL_OD_FFMPEG #ifdef EXPERIMENTAL_OD_FFMPEG
#include "../import/ImportRaw.h" // for TrackHolders #include "../import/ImportRaw.h" // for TrackHolders
#include <vector> #include <vector>
#include "ODDecodeTask.h" #include "ODDecodeTask.h"
#include "ODTaskThread.h"
struct streamContext; struct streamContext;
using Scs = ArrayOf<std::unique_ptr<streamContext>>; using Scs = ArrayOf<std::unique_ptr<streamContext>>;

View File

@ -31,6 +31,7 @@ robust enough to allow all the user changes such as copy/paste, DELETE, and so o
#include <vector> #include <vector>
#include <wx/ffile.h> // data member #include <wx/ffile.h> // data member
#include "ODDecodeTask.h" #include "ODDecodeTask.h"
#include "ODTaskThread.h"
#include "FLAC++/decoder.h" #include "FLAC++/decoder.h"

View File

@ -28,8 +28,10 @@ robust enough to allow all the user changes such as copy/paste, DELETE, and so o
#ifndef __AUDACITY_ODDecodeTask__ #ifndef __AUDACITY_ODDecodeTask__
#define __AUDACITY_ODDecodeTask__ #define __AUDACITY_ODDecodeTask__
#include "../MemoryX.h"
#include <vector> #include <vector>
#include "ODTask.h" #include "ODTask.h"
#include "ODTaskThread.h"
#include "../Internat.h" #include "../Internat.h"
class ODDecodeBlockFile; class ODDecodeBlockFile;
class WaveTrack; class WaveTrack;

View File

@ -23,8 +23,10 @@ in a background thread.
#ifndef __AUDACITY_ODTASK__ #ifndef __AUDACITY_ODTASK__
#define __AUDACITY_ODTASK__ #define __AUDACITY_ODTASK__
#include "ODTaskThread.h"
#include "../BlockFile.h" #include "../BlockFile.h"
#include "../MemoryX.h"
#include <vector> #include <vector>
#include <wx/event.h> // to declare custom event type #include <wx/event.h> // to declare custom event type
class AudacityProject; class AudacityProject;

View File

@ -22,6 +22,7 @@ tasks associated with a WaveTrack.
#ifndef __AUDACITY_ODWAVETRACKTASKQUEUE__ #ifndef __AUDACITY_ODWAVETRACKTASKQUEUE__
#define __AUDACITY_ODWAVETRACKTASKQUEUE__ #define __AUDACITY_ODWAVETRACKTASKQUEUE__
#include "../MemoryX.h"
#include <vector> #include <vector>
#include "ODTaskThread.h" #include "ODTaskThread.h"
class Track; class Track;

View File

@ -15,6 +15,7 @@
#include <functional> #include <functional>
#include <vector> #include <vector>
#include "../widgets/wxPanelWrapper.h" // to inherit #include "../widgets/wxPanelWrapper.h" // to inherit
#include "../Internat.h"
class wxTreebook; class wxTreebook;
class wxTreeEvent; class wxTreeEvent;

View File

@ -14,7 +14,9 @@
#ifndef __AUDACITY_CONTROL_TOOLBAR__ #ifndef __AUDACITY_CONTROL_TOOLBAR__
#define __AUDACITY_CONTROL_TOOLBAR__ #define __AUDACITY_CONTROL_TOOLBAR__
#include "../MemoryX.h"
#include "ToolBar.h" #include "ToolBar.h"
#include "../Theme.h"
class wxBoxSizer; class wxBoxSizer;
class wxCommandEvent; class wxCommandEvent;

View File

@ -11,6 +11,7 @@
#ifndef __AUDACITY_DEVICE_TOOLBAR__ #ifndef __AUDACITY_DEVICE_TOOLBAR__
#define __AUDACITY_DEVICE_TOOLBAR__ #define __AUDACITY_DEVICE_TOOLBAR__
#include "../MemoryX.h"
#include <vector> #include <vector>
#include "ToolBar.h" #include "ToolBar.h"

View File

@ -19,6 +19,7 @@
#include <wx/defs.h> #include <wx/defs.h>
#include "ToolBar.h" #include "ToolBar.h"
#include "../Theme.h"
class wxCommandEvent; class wxCommandEvent;
class wxDC; class wxDC;

View File

@ -11,6 +11,7 @@
#ifndef __AUDACITY_MIXER_TOOLBAR__ #ifndef __AUDACITY_MIXER_TOOLBAR__
#define __AUDACITY_MIXER_TOOLBAR__ #define __AUDACITY_MIXER_TOOLBAR__
#include "../MemoryX.h"
#include "ToolBar.h" #include "ToolBar.h"
class wxSize; class wxSize;

View File

@ -17,6 +17,7 @@
#include <wx/defs.h> #include <wx/defs.h>
#include "ToolBar.h" #include "ToolBar.h"
#include "../Theme.h"
class wxCommandEvent; class wxCommandEvent;
class wxDC; class wxDC;

View File

@ -14,6 +14,7 @@
#define __AUDACITY_TOOLDOCK__ #define __AUDACITY_TOOLDOCK__
#include <vector> #include <vector>
#include "../MemoryX.h" // for std::move
#include <wx/defs.h> #include <wx/defs.h>
#include "ToolBar.h" #include "ToolBar.h"

View File

@ -13,12 +13,14 @@
#ifndef __AUDACITY_TOOLMANAGER__ #ifndef __AUDACITY_TOOLMANAGER__
#define __AUDACITY_TOOLMANAGER__ #define __AUDACITY_TOOLMANAGER__
#include "../MemoryX.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/eventfilter.h> // to inherit #include <wx/eventfilter.h> // to inherit
#include <wx/frame.h> // to inherit #include <wx/frame.h> // to inherit
#include <wx/timer.h> // member variable #include <wx/timer.h> // member variable
#include "ToolDock.h" #include "ToolDock.h"
#include "ToolBar.h"
class wxCommandEvent; class wxCommandEvent;
class wxFrame; class wxFrame;

View File

@ -18,6 +18,8 @@
#include "ToolBar.h" #include "ToolBar.h"
#include "../Theme.h"
class wxCommandEvent; class wxCommandEvent;
class wxDC; class wxDC;
class wxGridSizer; class wxGridSizer;

View File

@ -17,9 +17,11 @@
#include "ToolBar.h" #include "ToolBar.h"
#include "../MemoryX.h"
#include <wx/brush.h> // member variable #include <wx/brush.h> // member variable
#include "audacity/Types.h" #include "audacity/Types.h"
#include "../Theme.h"
class wxChoice; class wxChoice;
class wxCommandEvent; class wxCommandEvent;

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_LABEL_DEFAULT_CLICK_HANDLE__ #define __AUDACITY_LABEL_DEFAULT_CLICK_HANDLE__
#include "../../../UIHandle.h" #include "../../../UIHandle.h"
#include "../../../MemoryX.h"
class wxMouseEvent; class wxMouseEvent;
class LabelTrack; class LabelTrack;

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_LABEL_GLYPH_HANDLE__ #define __AUDACITY_LABEL_GLYPH_HANDLE__
#include "LabelDefaultClickHandle.h" #include "LabelDefaultClickHandle.h"
#include "../../../MemoryX.h"
class wxMouseState; class wxMouseState;
class LabelTrack; class LabelTrack;

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_LABEL_TEXT_HANDLE__ #define __AUDACITY_LABEL_TEXT_HANDLE__
#include "LabelDefaultClickHandle.h" #include "LabelDefaultClickHandle.h"
#include "../../../MemoryX.h"
#include "../../../SelectedRegion.h" #include "../../../SelectedRegion.h"
class wxMouseState; class wxMouseState;

View File

@ -14,6 +14,7 @@ Paul Licameli split from TrackPanel.cpp
class wxMouseState; class wxMouseState;
class NoteTrack; class NoteTrack;
#include "../../../../MemoryX.h"
#include "../../../../UIHandle.h" #include "../../../../UIHandle.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_NOTE_TRACK_CONTROLS__ #define __AUDACITY_NOTE_TRACK_CONTROLS__
#include "../../../ui/TrackControls.h" #include "../../../ui/TrackControls.h"
#include "../../../../MemoryX.h"
class MuteButtonHandle; class MuteButtonHandle;
class SoloButtonHandle; class SoloButtonHandle;
class NoteTrackButtonHandle; class NoteTrackButtonHandle;

View File

@ -14,6 +14,7 @@ Paul Licameli split from TrackPanel.cpp
class wxMouseState; class wxMouseState;
class NoteTrack; class NoteTrack;
#include "../../../../MemoryX.h"
#include "../../../../UIHandle.h" #include "../../../../UIHandle.h"
class NoteTrackVZoomHandle : public UIHandle class NoteTrackVZoomHandle : public UIHandle

View File

@ -13,6 +13,8 @@ Paul Licameli split from TrackPanel.cpp
#include "../../../../UIHandle.h" #include "../../../../UIHandle.h"
#include "../../../../MemoryX.h"
class Alg_seq; class Alg_seq;
class NoteTrack; class NoteTrack;
class Track; class Track;

View File

@ -11,7 +11,9 @@ Paul Licameli
#ifndef __AUDACITY_CUTLINE_HANDLE__ #ifndef __AUDACITY_CUTLINE_HANDLE__
#define __AUDACITY_CUTLINE_HANDLE__ #define __AUDACITY_CUTLINE_HANDLE__
#include "../../../../MemoryX.h"
#include "../../../../UIHandle.h" #include "../../../../UIHandle.h"
#include "../../../../MemoryX.h"
#include "../../../../WaveTrackLocation.h" #include "../../../../WaveTrackLocation.h"
class wxMouseEvent; class wxMouseEvent;

View File

@ -13,6 +13,7 @@ Paul Licameli
#include "../../../../UIHandle.h" #include "../../../../UIHandle.h"
#include "audacity/Types.h" #include "audacity/Types.h"
#include "../../../../MemoryX.h"
class wxMouseEvent; class wxMouseEvent;
class wxMouseState; class wxMouseState;

View File

@ -13,6 +13,7 @@ Paul Licameli split from TrackPanel.cpp
class wxMouseState; class wxMouseState;
class WaveTrack; class WaveTrack;
#include "../../../../MemoryX.h"
#include "../../../../UIHandle.h" #include "../../../../UIHandle.h"

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_BACKGROUND_CELL__ #define __AUDACITY_BACKGROUND_CELL__
#include "CommonTrackPanelCell.h" #include "CommonTrackPanelCell.h"
#include "../../MemoryX.h"
class AudacityProject; class AudacityProject;

View File

@ -12,6 +12,7 @@ Paul Licameli
#define __AUDACITY_BUTTON_HANDLE__ #define __AUDACITY_BUTTON_HANDLE__
#include "../../UIHandle.h" #include "../../UIHandle.h"
#include "../../MemoryX.h"
class wxMouseEvent; class wxMouseEvent;
class wxMouseState; class wxMouseState;

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_COMMON_TRACK_PANEL_CELL__ #define __AUDACITY_COMMON_TRACK_PANEL_CELL__
#include "../../TrackPanelCell.h" #include "../../TrackPanelCell.h"
#include "../../MemoryX.h"
#include <stdlib.h> #include <stdlib.h>
class Track; class Track;

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_ENVELOPE_HANDLE__ #define __AUDACITY_ENVELOPE_HANDLE__
#include "../../UIHandle.h" #include "../../UIHandle.h"
#include "../../MemoryX.h"
#include <vector> #include <vector>

View File

@ -13,10 +13,12 @@ Paul Licameli split from TrackPanel.cpp
#include "../../Experimental.h" #include "../../Experimental.h"
#include "../../MemoryX.h"
#include <vector> #include <vector>
#include <wx/longlong.h> #include <wx/longlong.h>
#include "../../widgets/Overlay.h" // to inherit #include "../../widgets/Overlay.h" // to inherit
#include "../../commands/CommandFunctors.h"
#include "../../commands/CommandContext.h" #include "../../commands/CommandContext.h"
#include "../../commands/CommandManager.h" // for MenuTable #include "../../commands/CommandManager.h" // for MenuTable
#include "../../../include/audacity/Types.h" #include "../../../include/audacity/Types.h"

View File

@ -15,6 +15,7 @@ Paul Licameli split from TrackPanel.cpp
#include "../../SelectedRegion.h" #include "../../SelectedRegion.h"
#include "../../Snap.h" #include "../../Snap.h"
#include "../../MemoryX.h"
#include <vector> #include <vector>
class SelectionStateChanger; class SelectionStateChanger;

View File

@ -11,6 +11,7 @@ Paul Licameli
#ifndef __AUDACITY_SLIDER_HANDLE__ #ifndef __AUDACITY_SLIDER_HANDLE__
#define __AUDACITY_SLIDER_HANDLE__ #define __AUDACITY_SLIDER_HANDLE__
#include "../../MemoryX.h"
#include "../../UIHandle.h" #include "../../UIHandle.h"
class wxMouseEvent; class wxMouseEvent;

View File

@ -13,6 +13,8 @@ Paul Licameli
#include "../../UIHandle.h" #include "../../UIHandle.h"
#include "../../MemoryX.h"
#include "../../Snap.h" #include "../../Snap.h"
#include "../../Track.h" #include "../../Track.h"

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_TRACK_CONTROLS__ #define __AUDACITY_TRACK_CONTROLS__
#include "CommonTrackPanelCell.h" #include "CommonTrackPanelCell.h"
#include "../../MemoryX.h"
class PopupMenuTable; class PopupMenuTable;
class Track; class Track;

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_TRACK_SELECT_HANDLE__ #define __AUDACITY_TRACK_SELECT_HANDLE__
#include "../../UIHandle.h" #include "../../UIHandle.h"
#include "../../MemoryX.h"
class wxMouseEvent; class wxMouseEvent;
class Track; class Track;

View File

@ -12,6 +12,7 @@ Paul Licameli split from TrackPanel.cpp
#define __AUDACITY_TRACK_VRULER_CONTROLS__ #define __AUDACITY_TRACK_VRULER_CONTROLS__
#include "CommonTrackPanelCell.h" #include "CommonTrackPanelCell.h"
#include "../../MemoryX.h"
class Track; class Track;
class wxDC; class wxDC;

View File

@ -12,6 +12,7 @@
#ifndef __AUDACITY_BUTTON__ #ifndef __AUDACITY_BUTTON__
#define __AUDACITY_BUTTON__ #define __AUDACITY_BUTTON__
#include "../MemoryX.h"
#include <vector> #include <vector>
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros

View File

@ -13,6 +13,7 @@
#ifndef __AUDACITY_SLIDER__ #ifndef __AUDACITY_SLIDER__
#define __AUDACITY_SLIDER__ #define __AUDACITY_SLIDER__
#include "../MemoryX.h"
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/timer.h> // member variable #include <wx/timer.h> // member variable

View File

@ -9,6 +9,7 @@
#ifndef __AUDACITY_BACKED_PANEL__ #ifndef __AUDACITY_BACKED_PANEL__
#define __AUDACITY_BACKED_PANEL__ #define __AUDACITY_BACKED_PANEL__
#include "../MemoryX.h"
#include <wx/dcmemory.h> // member variable #include <wx/dcmemory.h> // member variable
#include "wxPanelWrapper.h" // to inherit #include "wxPanelWrapper.h" // to inherit

View File

@ -11,6 +11,7 @@
#ifndef __AUDACITY_EXPANDING_TOOL_BAR__ #ifndef __AUDACITY_EXPANDING_TOOL_BAR__
#define __AUDACITY_EXPANDING_TOOL_BAR__ #define __AUDACITY_EXPANDING_TOOL_BAR__
#include "../MemoryX.h"
#include <vector> #include <vector>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/dragimag.h> // use macros and typedefs in this header #include <wx/dragimag.h> // use macros and typedefs in this header
@ -18,6 +19,7 @@
#include <wx/minifram.h> // to inherit #include <wx/minifram.h> // to inherit
#include "ImageRoll.h" #include "ImageRoll.h"
#include "wxPanelWrapper.h" // to inherit
#include <unordered_map> #include <unordered_map>

View File

@ -11,11 +11,13 @@
#ifndef __AUDACITY_WIDGETS_GRID__ #ifndef __AUDACITY_WIDGETS_GRID__
#define __AUDACITY_WIDGETS_GRID__ #define __AUDACITY_WIDGETS_GRID__
#include "../MemoryX.h"
#include <vector> #include <vector>
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/grid.h> // to inherit wxGridCellEditor #include <wx/grid.h> // to inherit wxGridCellEditor
#include "NumericTextCtrl.h" #include "NumericTextCtrl.h"
#include "../Internat.h"
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
class GridAx; class GridAx;

View File

@ -20,6 +20,7 @@
#include "../Audacity.h" #include "../Audacity.h"
#include "../MemoryX.h"
#include <vector> #include <vector>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/evtloop.h> // member variable #include <wx/evtloop.h> // member variable