Audacity 3.2.0
|
Go to the source code of this file.
Namespaces | |
namespace | FileNames |
Macros | |
#define | OSINPUT(X) VerifyFilename(X, true) |
#define | OSOUTPUT(X) VerifyFilename(X, false) |
Typedefs | |
using | FileTypes = std::vector< FileNames::FileType > |
Functions | |
WX_INIT_API FilePath | SelectFile (FileNames::Operation op, const TranslatableString &message, const FilePath &default_path, const FilePath &default_filename, const FileExtension &default_extension, const FileTypes &fileTypes, int flags, wxWindow *parent) |
WX_INIT_API char * | VerifyFilename (const wxString &s, bool input=true) |
Protect against Unicode to multi-byte conversion failures on Windows. More... | |
Audacity: A Digital Audio Editor
Paul Licameli split from FileNames.h
Definition in file SelectFile.h.
#define OSINPUT | ( | X | ) | VerifyFilename(X, true) |
Definition at line 47 of file SelectFile.h.
#define OSOUTPUT | ( | X | ) | VerifyFilename(X, false) |
Definition at line 48 of file SelectFile.h.
using FileTypes = std::vector< FileNames::FileType > |
Definition at line 23 of file SelectFile.h.
WX_INIT_API FilePath SelectFile | ( | FileNames::Operation | op, |
const TranslatableString & | message, | ||
const FilePath & | default_path, | ||
const FilePath & | default_filename, | ||
const FileExtension & | default_extension, | ||
const FileTypes & | fileTypes, | ||
int | flags, | ||
wxWindow * | parent | ||
) |
Definition at line 17 of file SelectFile.cpp.
References FileSelector(), FileNames::FormatWildcard(), TranslatableString::Translation(), FileNames::WithDefaultPath(), and wxT().
Referenced by AudioUnitEffect::ExportPresets(), BasicEffectUIServices::ExportPresets(), VSTEffect::ExportPresets(), VST3Effect::ExportPresets(), AudioUnitEffect::ImportPresets(), BasicEffectUIServices::ImportPresets(), VST3Effect::ImportPresets(), VSTEffect::ImportPresetsNC(), TimerRecordDialog::OnAutoSavePathButton_Click(), ExportOptionsCLEditor::OnBrowse(), FindFFmpegDialog::OnBrowse(), FindDialog::OnBrowse(), KeyConfigPrefs::OnExport(), ContrastDialog::OnExport(), FrequencyPlotDialog::OnExport(), LabelDialog::OnExport(), anonymous_namespace{FileMenus.cpp}::OnExportLabels(), anonymous_namespace{ExportMIDI.cpp}::OnExportMIDI(), KeyConfigPrefs::OnImport(), LabelDialog::OnImport(), anonymous_namespace{FileMenus.cpp}::OnImportLabels(), anonymous_namespace{ImportMIDI.cpp}::OnImportMIDI(), TagsEditorDialog::OnLoad(), BenchmarkDialog::OnSave(), TagsEditorDialog::OnSave(), anonymous_namespace{LogWindow.cpp}::OnSave(), MacroCommands::ReadMacro(), ProjectFileManager::SaveAs(), ProjectFileManager::SaveCopy(), ShowDiagnostics(), VerifyFilename(), and MacroCommands::WriteMacro().
WX_INIT_API char * VerifyFilename | ( | const wxString & | s, |
bool | input = true |
||
) |
Protect against Unicode to multi-byte conversion failures on Windows.
Definition at line 45 of file SelectFile.cpp.
References FileNames::AllFiles, AudacityMessageBox(), mFilename, name, SelectFile(), and XO().