Audacity 3.2.0
|
#include "SelectFile.h"
#include "FileNames.h"
#include "FileDialog/FileDialog.h"
#include "AudacityMessageBox.h"
Go to the source code of this file.
Functions | |
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) |
char * | VerifyFilename (const wxString &s, bool input) |
Protect against Unicode to multi-byte conversion failures on Windows. More... | |
Variables | |
static wxCharBuffer | mFilename |
Audacity: A Digital Audio Editor
Paul Licameli split from FileNames.cpp
Definition in file SelectFile.cpp.
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().
char * VerifyFilename | ( | const wxString & | s, |
bool | input | ||
) |
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().
|
static |
Definition at line 38 of file SelectFile.cpp.
Referenced by VerifyFilename().