forked from Sneeds-Feed-and-Seed/sneedacity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTempDirectory.h
36 lines (24 loc) · 1023 Bytes
/
TempDirectory.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**********************************************************************
Sneedacity: A Digital Audio Editor
TempDirectory.h
Paul Licameli split from FileNames.h
**********************************************************************/
#ifndef __SNEEDACITY_TEMP_DIRECTORY__
#define __SNEEDACITY_TEMP_DIRECTORY__
#include "Identifier.h"
class TranslatableString;
class wxWindow;
namespace TempDirectory
{
SNEEDACITY_DLL_API wxString TempDir();
SNEEDACITY_DLL_API void ResetTempDir();
SNEEDACITY_DLL_API const FilePath &DefaultTempDir();
SNEEDACITY_DLL_API void SetDefaultTempDir( const FilePath &tempDir );
SNEEDACITY_DLL_API bool IsTempDirectoryNameOK( const FilePath & Name );
// Create a filename for an unsaved/temporary project file
SNEEDACITY_DLL_API wxString UnsavedProjectFileName();
SNEEDACITY_DLL_API bool FATFilesystemDenied(const FilePath &path,
const TranslatableString &msg,
wxWindow *window = nullptr);
};
#endif