Audacity 3.2.0
Classes | Namespaces | Macros | Functions
FileNames.h File Reference
#include <wx/dir.h>
#include "Identifier.h"
#include "Prefs.h"
Include dependency graph for FileNames.h:

Go to the source code of this file.

Classes

struct  FileNames::FileType
 

Namespaces

namespace  FileNames
 

Macros

#define PLATFORM_MAX_PATH   260
 
#define PLATFORM_MAX_PATH   PATH_MAX
 
#define PLATFORM_MAX_PATH   MAX_PATH
 

Functions

FILES_API wxString FileNames::FormatWildcard (const FileTypes &fileTypes)
 
FILES_API bool FileNames::DoCopyFile (const FilePath &file1, const FilePath &file2, bool overwrite=true)
 
FILES_API bool FileNames::HardLinkFile (const FilePath &file1, const FilePath &file2)
 
FILES_API wxString FileNames::MkDir (const wxString &Str)
 
FILES_API const FilePathsFileNames::AudacityPathList ()
 A list of directories that should be searched for Audacity files (plug-ins, help files, etc.). More...
 
FILES_API void FileNames::SetAudacityPathList (FilePaths list)
 
FILES_API void FileNames::MakeNameUnique (FilePaths &otherNames, wxFileName &newName)
 
FILES_API wxString FileNames::LowerCaseAppNameInPath (const wxString &dirIn)
 
FILES_API FilePath FileNames::CacheDir ()
 Audacity user cache directory. More...
 
FILES_API FilePath FileNames::ConfigDir ()
 Audacity user config directory. More...
 
FILES_API FilePath FileNames::DataDir ()
 Audacity user data directory. More...
 
FILES_API FilePath FileNames::StateDir ()
 Audacity user state directory. More...
 
FILES_API FilePath FileNames::ResourcesDir ()
 
FILES_API FilePath FileNames::HtmlHelpDir ()
 
FILES_API FilePath FileNames::HtmlHelpIndexFile (bool quick)
 
FILES_API FilePath FileNames::LegacyChainDir ()
 
FILES_API FilePath FileNames::MacroDir ()
 
FILES_API FilePath FileNames::NRPDir ()
 
FILES_API FilePath FileNames::NRPFile ()
 
FILES_API FilePath FileNames::Configuration ()
 
FILES_API FilePath FileNames::PluginRegistry ()
 
FILES_API FilePath FileNames::PluginSettings ()
 
FILES_API FilePath FileNames::BaseDir ()
 
FILES_API FilePath FileNames::ModulesDir ()
 
FILES_API FilePath FileNames::PlugInDir ()
 The user plug-in directory (not a system one) More...
 
FILES_API FilePath FileNames::PathFromAddr (void *addr)
 
FILES_API bool FileNames::IsPathAvailable (const FilePath &Path)
 
FILES_API wxFileNameWrapper FileNames::DefaultToDocumentsFolder (const wxString &preference)
 
FILES_API wxString FileNames::PreferenceKey (FileNames::Operation op, FileNames::PathType type)
 
FILES_API FilePath FileNames::FindDefaultPath (Operation op)
 
FILES_API void FileNames::UpdateDefaultPath (Operation op, const FilePath &path)
 
template<typename F >
FilePath FileNames::WithDefaultPath (Operation op, const FilePath &defaultPath, F function)
 
FILES_API void FileNames::AddUniquePathToPathList (const FilePath &path, FilePaths &pathList)
 
FILES_API void FileNames::AddMultiPathsToPathList (const wxString &multiPathString, FilePaths &pathList)
 
FILES_API void FileNames::FindFilesInPathList (const wxString &pattern, const FilePaths &pathList, FilePaths &results, int flags=wxDIR_FILES)
 
FILES_API bool FileNames::WritableLocationCheck (const FilePath &path, const TranslatableString &message)
 Check location on writable access and return true if checked successfully. More...
 
FILES_API int FileNames::CompareNoCase (const wxString &first, const wxString &second)
 
FILES_API wxString FileNames::CreateUniqueName (const wxString &prefix, const wxString &suffix=wxEmptyString)
 
FILES_API wxString FileNames::UnsavedProjectExtension ()
 
FILES_API bool FileNames::IsOnFATFileSystem (const FilePath &path)
 
FILES_API wxString FileNames::AbbreviatePath (const wxFileName &fileName)
 Give enough of the path to identify the device. (On Windows, drive letter plus ':') More...
 

Macro Definition Documentation

◆ PLATFORM_MAX_PATH [1/3]

#define PLATFORM_MAX_PATH   260

Definition at line 42 of file FileNames.h.

◆ PLATFORM_MAX_PATH [2/3]

#define PLATFORM_MAX_PATH   PATH_MAX

Definition at line 42 of file FileNames.h.

◆ PLATFORM_MAX_PATH [3/3]

#define PLATFORM_MAX_PATH   MAX_PATH

Definition at line 42 of file FileNames.h.