Audacity 3.2.0
TempDirectory.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 TempDirectory.h
6
7 Paul Licameli split from FileNames.h
8
9 **********************************************************************/
10
11#ifndef __AUDACITY_TEMP_DIRECTORY__
12#define __AUDACITY_TEMP_DIRECTORY__
13
14
15#include "BasicUI.h"
16
18class wxWindow;
19
20#include "Identifier.h"
21
23{
24 FILES_API wxString TempDir();
25 FILES_API void ResetTempDir();
26
27 FILES_API const FilePath &DefaultTempDir();
28 FILES_API void SetDefaultTempDir( const FilePath &tempDir );
29 FILES_API bool IsTempDirectoryNameOK( const FilePath & Name );
30
31 // Create a filename for an unsaved/temporary project file
32 FILES_API wxString UnsavedProjectFileName();
33
34 FILES_API bool FATFilesystemDenied(const FilePath &path,
35 const TranslatableString &msg,
36 const BasicUI::WindowPlacement &placement = {});
37};
38
39#endif
Toolkit-neutral facade for basic user interface services.
wxString FilePath
Definition: Project.h:20
Subclasses may hold information such as a parent window pointer for a dialog.
Definition: BasicUI.h:29
Holds a msgid for the translation catalog; may also bind format arguments.
FILES_API bool FATFilesystemDenied(const FilePath &path, const TranslatableString &msg, const BasicUI::WindowPlacement &placement={})
FILES_API wxString UnsavedProjectFileName()
FILES_API bool IsTempDirectoryNameOK(const FilePath &Name)
FILES_API wxString TempDir()
FILES_API void ResetTempDir()
FILES_API void SetDefaultTempDir(const FilePath &tempDir)
FILES_API const FilePath & DefaultTempDir()