mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-23 15:50:05 +02:00
36 lines
868 B
C++
36 lines
868 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
TempDirectory.h
|
|
|
|
Paul Licameli split from FileNames.h
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_TEMP_DIRECTORY__
|
|
#define __AUDACITY_TEMP_DIRECTORY__
|
|
|
|
#include "Audacity.h"
|
|
#include "audacity/Types.h"
|
|
|
|
namespace TempDirectory
|
|
{
|
|
wxString TempDir();
|
|
void ResetTempDir();
|
|
|
|
const FilePath &DefaultTempDir();
|
|
void SetDefaultTempDir( const FilePath &tempDir );
|
|
bool IsTempDirectoryNameOK( const FilePath & Name );
|
|
|
|
// Create a filename for an unsaved/temporary project file
|
|
wxString UnsavedProjectFileName();
|
|
|
|
bool FATFilesystemDenied(const FilePath &path,
|
|
const TranslatableString &msg,
|
|
wxWindow *window = nullptr);
|
|
|
|
};
|
|
|
|
#endif
|