1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-05 16:20:10 +01:00
Files
audacity/src/TempDirectory.h
2021-08-24 16:57:24 -04:00

37 lines
979 B
C++

/**********************************************************************
Tenacity
TempDirectory.h
Paul Licameli split from FileNames.h
**********************************************************************/
#ifndef __AUDACITY_TEMP_DIRECTORY__
#define __AUDACITY_TEMP_DIRECTORY__
#include "Identifier.h"
class TranslatableString;
class wxWindow;
namespace TempDirectory
{
TENACITY_DLL_API wxString TempDir();
TENACITY_DLL_API void ResetTempDir();
TENACITY_DLL_API const FilePath &DefaultTempDir();
TENACITY_DLL_API void SetDefaultTempDir( const FilePath &tempDir );
TENACITY_DLL_API bool IsTempDirectoryNameOK( const FilePath & Name );
// Create a filename for an unsaved/temporary project file
TENACITY_DLL_API wxString UnsavedProjectFileName();
TENACITY_DLL_API bool FATFilesystemDenied(const FilePath &path,
const TranslatableString &msg,
wxWindow *window = nullptr);
};
#endif