audacia/src/TempDirectory.h
Paul Licameli 406b23cae7 More uses of AUDACITY_DLL_API...
... in many places where the function call will later need to be between
modules (or libraries, or the executable) and the annotation will be a necessity
to keep the linkage working on Windows.

That's all that this sweeping commit does.
2021-05-10 10:46:55 -04:00

37 lines
982 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/Types.h"
class wxWindow;
namespace TempDirectory
{
AUDACITY_DLL_API wxString TempDir();
AUDACITY_DLL_API void ResetTempDir();
AUDACITY_DLL_API const FilePath &DefaultTempDir();
AUDACITY_DLL_API void SetDefaultTempDir( const FilePath &tempDir );
AUDACITY_DLL_API bool IsTempDirectoryNameOK( const FilePath & Name );
// Create a filename for an unsaved/temporary project file
AUDACITY_DLL_API wxString UnsavedProjectFileName();
AUDACITY_DLL_API bool FATFilesystemDenied(const FilePath &path,
const TranslatableString &msg,
wxWindow *window = nullptr);
};
#endif