Audacity 3.2.0
|
Functions | |
void | DoExport (AudacityProject &project, const FileExtension &format) |
void | DoImport (const CommandContext &context, bool isRaw) |
void | OnNew (const CommandContext &) |
void | OnOpen (const CommandContext &context) |
void | OnProjectReset (const CommandContext &context) |
void | OnClose (const CommandContext &context) |
void | OnCompact (const CommandContext &context) |
void | OnSave (const CommandContext &context) |
void | OnSaveAs (const CommandContext &context) |
void | OnSaveCopy (const CommandContext &context) |
void | OnExportMp3 (const CommandContext &context) |
void | OnExportWav (const CommandContext &context) |
void | OnExportOgg (const CommandContext &context) |
void | OnExportAudio (const CommandContext &context) |
void | OnExportLabels (const CommandContext &context) |
void | OnImport (const CommandContext &context) |
void | OnImportLabels (const CommandContext &context) |
void | OnImportRaw (const CommandContext &context) |
void | OnExit (const CommandContext &WXUNUSED(context)) |
void | OnExportFLAC (const CommandContext &context) |
auto | FileMenu () |
auto | ExtraExportMenu () |
Variables | |
AttachedItem | sAttachment1 { Indirect(FileMenu()) } |
AttachedItem | sAttachment3 |
void anonymous_namespace{FileMenus.cpp}::DoExport | ( | AudacityProject & | project, |
const FileExtension & | format | ||
) |
Definition at line 43 of file FileMenus.cpp.
References FileHistory::Append(), AudacityMessageBox(), ExportProgressUI::ExceptionWrappedCall(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::extension, FileNames::FindDefaultPath(), ExportUtils::FindExportWaveTracks(), ExportPluginRegistry::FindFormat(), anonymous_namespace{ExportPCM.cpp}::format, ExportPluginRegistry::Get(), ProjectRate::Get(), TrackList::Get(), anonymous_namespace{TimeTrack.cpp}::GetRate(), FileHistory::Global(), gPrefs, ChannelGroup::NChannels(), ExportUtils::ParametersFromEditor(), ExportUtils::PerformInteractiveExport(), project, ExportTaskBuilder::SetFileName(), ExportTaskBuilder::SetNumChannels(), ExportTaskBuilder::SetParameters(), ExportTaskBuilder::SetPlugin(), ExportTaskBuilder::SetRange(), ExportTaskBuilder::SetSampleRate(), ExportProgressUI::Show(), ShowExportErrorDialog(), Stopped, Success, tracks, Verbatim(), FileNames::WritableLocationCheck(), and XO().
Referenced by OnExportAudio(), OnExportFLAC(), OnExportMp3(), OnExportOgg(), and OnExportWav().
void anonymous_namespace{FileMenus.cpp}::DoImport | ( | const CommandContext & | context, |
bool | isRaw | ||
) |
Definition at line 136 of file FileMenus.cpp.
References ProjectFileManager::AddImportedTracks(), FileNames::CompareNoCase(), Viewport::Get(), WaveTrackFactory::Get(), ProjectFileManager::Get(), GetProjectFrame(), ProjectFileManager::Import(), ImportRaw(), NewImportingSession, CommandContext::project, project, Importer::SetLastOpenType(), ProjectFileManager::ShowOpenDialog(), FileNames::UpdateDefaultPath(), and Setting< T >::Write().
Referenced by OnImport(), and OnImportRaw().
auto anonymous_namespace{FileMenus.cpp}::ExtraExportMenu | ( | ) |
Definition at line 547 of file FileMenus.cpp.
References AudioIONotBusyFlag(), MenuRegistry::Command, MenuRegistry::Menu, OnExportFLAC(), OnExportMp3(), OnExportOgg(), OnExportWav(), MenuRegistry::Section, WaveTracksExistFlag(), wxT(), and XXO().
auto anonymous_namespace{FileMenus.cpp}::FileMenu | ( | ) |
Definition at line 434 of file FileMenus.cpp.
References AlwaysEnabledFlag, AudioIONotBusyFlag(), MenuRegistry::Command, FileHistory::Global(), LabelTracksExistFlag(), MenuRegistry::Menu, OnClose(), OnExit(), OnExportAudio(), OnExportLabels(), OnImport(), OnImportLabels(), OnImportRaw(), OnNew(), OnOpen(), OnProjectReset(), OnSave(), OnSaveAs(), OnSaveCopy(), MenuRegistry::Section, MenuCreator::Special, WaveTracksExistFlag(), wxT(), and XXO().
void anonymous_namespace{FileMenus.cpp}::OnClose | ( | const CommandContext & | context | ) |
Definition at line 239 of file FileMenus.cpp.
References ProjectFileManager::Get(), GetProjectFrame(), CommandContext::project, project, and ProjectFileManager::SetMenuClose().
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnCompact | ( | const CommandContext & | context | ) |
Definition at line 247 of file FileMenus.cpp.
References ProjectFileManager::Compact(), ProjectFileManager::Get(), and CommandContext::project.
void anonymous_namespace{FileMenus.cpp}::OnExit | ( | const CommandContext & | WXUNUSEDcontext | ) |
Definition at line 418 of file FileMenus.cpp.
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnExportAudio | ( | const CommandContext & | context | ) |
Definition at line 291 of file FileMenus.cpp.
References DoExport(), CommandContext::project, and project.
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnExportFLAC | ( | const CommandContext & | context | ) |
Definition at line 425 of file FileMenus.cpp.
References DoExport(), and CommandContext::project.
Referenced by ExtraExportMenu().
void anonymous_namespace{FileMenus.cpp}::OnExportLabels | ( | const CommandContext & | context | ) |
Definition at line 297 of file FileMenus.cpp.
References _, AudacityMessageBox(), anonymous_namespace{ExportPCM.cpp}::format, LabelTrack::FormatForFileName(), TrackList::Get(), GetProjectFrame(), CommandContext::project, project, SelectFile(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::size(), LabelTrack::SubripFiles, FileNames::TextFiles, tracks, LabelTrack::WebVTTFiles, wxT(), and XO().
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnExportMp3 | ( | const CommandContext & | context | ) |
Definition at line 273 of file FileMenus.cpp.
References DoExport(), CommandContext::project, and project.
Referenced by ExtraExportMenu().
void anonymous_namespace{FileMenus.cpp}::OnExportOgg | ( | const CommandContext & | context | ) |
Definition at line 285 of file FileMenus.cpp.
References DoExport(), CommandContext::project, and project.
Referenced by ExtraExportMenu().
void anonymous_namespace{FileMenus.cpp}::OnExportWav | ( | const CommandContext & | context | ) |
Definition at line 279 of file FileMenus.cpp.
References DoExport(), CommandContext::project, and project.
Referenced by ExtraExportMenu().
void anonymous_namespace{FileMenus.cpp}::OnImport | ( | const CommandContext & | context | ) |
Definition at line 361 of file FileMenus.cpp.
References DoImport().
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnImportLabels | ( | const CommandContext & | context | ) |
Definition at line 366 of file FileMenus.cpp.
References FileNames::AllFiles, AudacityMessageBox(), anonymous_namespace{ExportPCM.cpp}::format, LabelTrack::FormatForFileName(), ProjectHistory::Get(), TrackList::Get(), Viewport::Get(), GetProjectFrame(), CommandContext::project, project, ProjectHistory::PushState(), SelectFile(), SelectUtilities::SelectNone(), LabelTrack::SubripFiles, FileNames::TextFiles, tracks, wxT(), and XO().
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnImportRaw | ( | const CommandContext & | context | ) |
Definition at line 413 of file FileMenus.cpp.
References DoImport().
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnNew | ( | const CommandContext & | ) |
Definition at line 188 of file FileMenus.cpp.
References ProjectManager::New().
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnOpen | ( | const CommandContext & | context | ) |
Definition at line 193 of file FileMenus.cpp.
References PluginManager::Get(), RealtimeEffectList::Get(), TrackList::Get(), PluginManager::GetPlugin(), PluginManager::IsPluginAvailable(), ProjectManager::OpenFiles(), CommandContext::project, and project.
Referenced by FileMenu(), and anonymous_namespace{ExportFFmpeg.cpp}::ExportOptionsFFmpegCustomEditor::PopulateUI().
void anonymous_namespace{FileMenus.cpp}::OnProjectReset | ( | const CommandContext & | context | ) |
Definition at line 233 of file FileMenus.cpp.
References ProjectManager::Get(), CommandContext::project, project, and ProjectManager::ResetProjectToEmpty().
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnSave | ( | const CommandContext & | context | ) |
Definition at line 252 of file FileMenus.cpp.
References ProjectFileManager::Get(), CommandContext::project, and project.
Referenced by FileMenu(), and audacity::cloud::audiocom::sync::ProjectCloudUIExtension::OnCloudStatusChanged().
void anonymous_namespace{FileMenus.cpp}::OnSaveAs | ( | const CommandContext & | context | ) |
Definition at line 259 of file FileMenus.cpp.
References ProjectFileManager::Get(), CommandContext::project, and project.
Referenced by FileMenu().
void anonymous_namespace{FileMenus.cpp}::OnSaveCopy | ( | const CommandContext & | context | ) |
Definition at line 266 of file FileMenus.cpp.
References ProjectFileManager::Get(), CommandContext::project, and project.
Referenced by FileMenu().
AttachedItem anonymous_namespace{FileMenus.cpp}::sAttachment1 { Indirect(FileMenu()) } |
Definition at line 545 of file FileMenus.cpp.
AttachedItem anonymous_namespace{FileMenus.cpp}::sAttachment3 |
Definition at line 565 of file FileMenus.cpp.