1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Import functions return containers of smart pointers to new tracks

This commit is contained in:
Paul Licameli
2016-03-02 12:52:13 -05:00
parent bc5519a0e2
commit 824ff647f8
16 changed files with 303 additions and 333 deletions

View File

@@ -41,6 +41,8 @@
#include <wx/intl.h>
#include <wx/dcclient.h>
#include "import/ImportRaw.h" // defines TrackHolders
const int AudacityProjectTimerID = 5200;
class wxWindow;
@@ -235,7 +237,8 @@ class AUDACITY_DLL_API AudacityProject final : public wxFrame,
bool Import(const wxString &fileName, WaveTrackArray *pTrackArray = NULL);
void AddImportedTracks(const wxString &fileName,
Track **newTracks, int numTracks);
TrackHolders &&newTracks);
void LockAllBlocks();
void UnlockAllBlocks();
bool Save(bool overwrite = true, bool fromSaveAs = false, bool bWantSaveCompressed = false);