mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-04 16:14:00 +01:00
Track factory cleanup (#646)
* Don't need TrackFactory to make LabelTrack * Don't need TrackFactory to make NoteTrack * Don't need TrackFactory to make TimeTrack, or ZoomInfo in the factory * Remove some forward declarations * Rename TrackFactory as WaveTrackFactory, move it out of Track.cpp
This commit is contained in:
@@ -23,7 +23,6 @@ class AudacityProject;
|
||||
class ChoiceEditor;
|
||||
class Grid;
|
||||
class NumericEditor;
|
||||
class TrackFactory;
|
||||
class TrackList;
|
||||
class RowData;
|
||||
class EmptyLabelRenderer;
|
||||
@@ -39,7 +38,6 @@ class LabelDialog final : public wxDialogWrapper
|
||||
|
||||
LabelDialog(wxWindow *parent,
|
||||
AudacityProject &project,
|
||||
TrackFactory &factory,
|
||||
TrackList *tracks,
|
||||
|
||||
// if NULL edit all tracks, else this one only:
|
||||
@@ -104,7 +102,6 @@ class LabelDialog final : public wxDialogWrapper
|
||||
|
||||
RowDataArray mData;
|
||||
|
||||
TrackFactory &mFactory;
|
||||
TrackList *mTracks;
|
||||
LabelTrack *mSelectedTrack {};
|
||||
int mIndex { -1 };
|
||||
|
||||
Reference in New Issue
Block a user