1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 08:38:39 +02:00

Remove unneeded things from Project.h

This commit is contained in:
Paul Licameli 2019-06-02 14:14:01 -04:00
parent ac04a34d42
commit 327845b0ee
3 changed files with 3 additions and 29 deletions

View File

@ -20,11 +20,8 @@
#include "Audacity.h" #include "Audacity.h"
#include "Experimental.h"
#include "ClientData.h" #include "ClientData.h"
#include "Prefs.h" #include "Prefs.h"
#include "commands/CommandManagerWindowClasses.h"
#include "TrackPanelListener.h" #include "TrackPanelListener.h"
#include "AudioIOListener.h" #include "AudioIOListener.h"
@ -32,7 +29,6 @@
#include "toolbars/SpectralSelectionBarListener.h" #include "toolbars/SpectralSelectionBarListener.h"
#include <memory> #include <memory>
#include <wx/defs.h>
#include <wx/frame.h> // to inherit #include <wx/frame.h> // to inherit
#include "import/ImportRaw.h" // defines TrackHolders #include "import/ImportRaw.h" // defines TrackHolders
@ -44,10 +40,8 @@ const int AudacityProjectTimerID = 5200;
wxDECLARE_EXPORTED_EVENT(AUDACITY_DLL_API, wxDECLARE_EXPORTED_EVENT(AUDACITY_DLL_API,
EVT_PROJECT_STATUS_UPDATE, wxCommandEvent); EVT_PROJECT_STATUS_UPDATE, wxCommandEvent);
class wxMemoryDC;
class wxArrayString; class wxArrayString;
class wxWindow; class wxWindow;
class wxDialog;
class wxScrollEvent; class wxScrollEvent;
class wxScrollBar; class wxScrollBar;
class wxPanel; class wxPanel;
@ -56,30 +50,18 @@ class wxTimerEvent;
class AudacityProject; class AudacityProject;
class AutoSaveFile; class AutoSaveFile;
class Importer;
class ODLock; class ODLock;
class RecordingRecoveryHandler; class RecordingRecoveryHandler;
namespace ProjectFileIORegistry{ struct Entry; } namespace ProjectFileIORegistry{ struct Entry; }
class TrackList; class TrackList;
class TrackPanel;
class FreqWindow;
class MeterPanel; class MeterPanel;
// windows and frames
class AdornedRulerPanel;
class LyricsWindow;
struct AudioIOStartStreamOptions; struct AudioIOStartStreamOptions;
struct UndoState; struct UndoState;
class LWSlider;
class UndoManager;
enum class UndoPush : unsigned char; enum class UndoPush : unsigned char;
class Track;
class WaveClip;
AudacityProject *CreateNewAudacityProject(); AudacityProject *CreateNewAudacityProject();
AUDACITY_DLL_API AudacityProject *GetActiveProject(); AUDACITY_DLL_API AudacityProject *GetActiveProject();
@ -88,6 +70,7 @@ void GetDefaultWindowRect(wxRect *defRect);
void GetNextWindowPlacement(wxRect *nextRect, bool *pMaximized, bool *pIconized); void GetNextWindowPlacement(wxRect *nextRect, bool *pMaximized, bool *pIconized);
bool IsWindowAccessible(wxRect *requestedRect); bool IsWindowAccessible(wxRect *requestedRect);
class WaveTrack;
using WaveTrackArray = std::vector < std::shared_ptr < WaveTrack > >; using WaveTrackArray = std::vector < std::shared_ptr < WaveTrack > >;
@ -168,18 +151,7 @@ private:
static bool sbWindowRectAlreadySaved; static bool sbWindowRectAlreadySaved;
}; };
class EffectPlugs;
class CommandContext;
class Track; class Track;
class TrackHolder;
class TrackList;
class WaveClip;
class WaveTrack;
#include "./commands/CommandFlag.h"
#include "../include/audacity/EffectInterface.h"
class MenuManager;
// Container of various objects associated with the project, which is // Container of various objects associated with the project, which is
// responsible for destroying them // responsible for destroying them

View File

@ -83,6 +83,7 @@ CommandManager. It holds the callback for one command.
#include "CommandManager.h" #include "CommandManager.h"
#include "CommandContext.h" #include "CommandContext.h"
#include "CommandManagerWindowClasses.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/evtloop.h> #include <wx/evtloop.h>

View File

@ -61,6 +61,7 @@ greater use in future.
#include "../ViewInfo.h" #include "../ViewInfo.h"
#include "../WaveTrack.h" #include "../WaveTrack.h"
#include "../commands/Command.h" #include "../commands/Command.h"
#include "../commands/CommandFlag.h"
#include "../toolbars/ControlToolBar.h" #include "../toolbars/ControlToolBar.h"
#include "../widgets/AButton.h" #include "../widgets/AButton.h"
#include "../widgets/ProgressDialog.h" #include "../widgets/ProgressDialog.h"