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:
parent
ac04a34d42
commit
327845b0ee
@ -20,11 +20,8 @@
|
||||
|
||||
#include "Audacity.h"
|
||||
|
||||
#include "Experimental.h"
|
||||
|
||||
#include "ClientData.h"
|
||||
#include "Prefs.h"
|
||||
#include "commands/CommandManagerWindowClasses.h"
|
||||
|
||||
#include "TrackPanelListener.h"
|
||||
#include "AudioIOListener.h"
|
||||
@ -32,7 +29,6 @@
|
||||
#include "toolbars/SpectralSelectionBarListener.h"
|
||||
|
||||
#include <memory>
|
||||
#include <wx/defs.h>
|
||||
#include <wx/frame.h> // to inherit
|
||||
|
||||
#include "import/ImportRaw.h" // defines TrackHolders
|
||||
@ -44,10 +40,8 @@ const int AudacityProjectTimerID = 5200;
|
||||
wxDECLARE_EXPORTED_EVENT(AUDACITY_DLL_API,
|
||||
EVT_PROJECT_STATUS_UPDATE, wxCommandEvent);
|
||||
|
||||
class wxMemoryDC;
|
||||
class wxArrayString;
|
||||
class wxWindow;
|
||||
class wxDialog;
|
||||
class wxScrollEvent;
|
||||
class wxScrollBar;
|
||||
class wxPanel;
|
||||
@ -56,30 +50,18 @@ class wxTimerEvent;
|
||||
|
||||
class AudacityProject;
|
||||
class AutoSaveFile;
|
||||
class Importer;
|
||||
class ODLock;
|
||||
class RecordingRecoveryHandler;
|
||||
namespace ProjectFileIORegistry{ struct Entry; }
|
||||
class TrackList;
|
||||
|
||||
class TrackPanel;
|
||||
class FreqWindow;
|
||||
class MeterPanel;
|
||||
|
||||
// windows and frames
|
||||
class AdornedRulerPanel;
|
||||
class LyricsWindow;
|
||||
|
||||
struct AudioIOStartStreamOptions;
|
||||
struct UndoState;
|
||||
|
||||
class LWSlider;
|
||||
class UndoManager;
|
||||
enum class UndoPush : unsigned char;
|
||||
|
||||
class Track;
|
||||
class WaveClip;
|
||||
|
||||
|
||||
AudacityProject *CreateNewAudacityProject();
|
||||
AUDACITY_DLL_API AudacityProject *GetActiveProject();
|
||||
@ -88,6 +70,7 @@ void GetDefaultWindowRect(wxRect *defRect);
|
||||
void GetNextWindowPlacement(wxRect *nextRect, bool *pMaximized, bool *pIconized);
|
||||
bool IsWindowAccessible(wxRect *requestedRect);
|
||||
|
||||
class WaveTrack;
|
||||
using WaveTrackArray = std::vector < std::shared_ptr < WaveTrack > >;
|
||||
|
||||
|
||||
@ -168,18 +151,7 @@ private:
|
||||
static bool sbWindowRectAlreadySaved;
|
||||
};
|
||||
|
||||
class EffectPlugs;
|
||||
class CommandContext;
|
||||
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
|
||||
// responsible for destroying them
|
||||
|
@ -83,6 +83,7 @@ CommandManager. It holds the callback for one command.
|
||||
#include "CommandManager.h"
|
||||
|
||||
#include "CommandContext.h"
|
||||
#include "CommandManagerWindowClasses.h"
|
||||
|
||||
#include <wx/defs.h>
|
||||
#include <wx/evtloop.h>
|
||||
|
@ -61,6 +61,7 @@ greater use in future.
|
||||
#include "../ViewInfo.h"
|
||||
#include "../WaveTrack.h"
|
||||
#include "../commands/Command.h"
|
||||
#include "../commands/CommandFlag.h"
|
||||
#include "../toolbars/ControlToolBar.h"
|
||||
#include "../widgets/AButton.h"
|
||||
#include "../widgets/ProgressDialog.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user