1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

Move functions into new file TrackUtilities.cpp ...

... so that other files do not have link dependency on TrackMenus.cpp

The new project enlargest the big s.c.c. by 1, to 25
This commit is contained in:
Paul Licameli
2019-06-21 19:52:19 -04:00
parent 02e620d35f
commit d2f386a329
9 changed files with 318 additions and 280 deletions

View File

@@ -33,6 +33,7 @@ Paul Licameli split from AudacityProject.cpp
#include "ProjectWindow.h"
#include "SelectUtilities.h"
#include "TrackPanel.h"
#include "TrackUtilities.h"
#include "UndoManager.h"
#include "WaveTrack.h"
#include "wxFileNameWrapper.h"
@@ -736,7 +737,7 @@ void ProjectManager::ResetProjectToEmpty() {
auto &viewInfo = ViewInfo::Get( project );
SelectUtilities::DoSelectAll( project );
TrackActions::DoRemoveTracks( project );
TrackUtilities::DoRemoveTracks( project );
// A new DirManager.
DirManager::Reset( project );