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

Move default temporary directory from AudacityApp.h to FileNames

This commit is contained in:
Paul Licameli
2019-04-25 11:04:21 -04:00
parent a047fa6e7a
commit 757d90d3b9
5 changed files with 69 additions and 51 deletions

View File

@@ -36,6 +36,10 @@ public:
static wxString MkDir(const wxString &Str);
static wxString TempDir();
static const FilePath &DefaultTempDir();
static void SetDefaultTempDir( const FilePath &tempDir );
static bool IsTempDirectoryNameOK( const FilePath & Name );
// originally an ExportMultiple method. Append suffix if newName appears in otherNames.
static void MakeNameUnique(
FilePaths &otherNames, wxFileName &newName);