1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-04 16:14:00 +01:00

Use TrackFactory in more places...

... There should now be no direct allocation of Track subclasses with new,
except in those classes' own methods
This commit is contained in:
Paul Licameli
2016-03-14 18:11:09 -04:00
parent 1e641957ca
commit 5162ab5c5b
3 changed files with 14 additions and 14 deletions

View File

@@ -21,7 +21,7 @@
#include "Internat.h"
#include "widgets/Grid.h"
class DirManager;
class TrackFactory;
class TrackList;
class RowData;
class EmptyLabelRenderer;
@@ -35,7 +35,7 @@ class LabelDialog final : public wxDialog
public:
LabelDialog(wxWindow *parent,
DirManager *dirmanager,
TrackFactory &factory,
TrackList *tracks,
ViewInfo &viewinfo,
double rate,
@@ -76,7 +76,7 @@ class LabelDialog final : public wxDialog
RowDataArray mData;
DirManager *mDirManager;
TrackFactory &mFactory;
TrackList *mTracks;
ViewInfo *mViewInfo;
wxArrayString mTrackNames;