![]() |
Audacity 3.2.0
|
#include "Export.h"
#include <wx/bmpbuttn.h>
#include <wx/dcclient.h>
#include <wx/file.h>
#include <wx/filectrl.h>
#include <wx/filename.h>
#include <wx/simplebook.h>
#include <wx/sizer.h>
#include <wx/slider.h>
#include <wx/statbox.h>
#include <wx/stattext.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/timer.h>
#include <wx/dcmemory.h>
#include <wx/window.h>
#include "sndfile.h"
#include "widgets/FileDialog/FileDialog.h"
#include "AllThemeResources.h"
#include "BasicUI.h"
#include "Mix.h"
#include "Prefs.h"
#include "../prefs/ImportExportPrefs.h"
#include "Project.h"
#include "ProjectHistory.h"
#include "../ProjectSettings.h"
#include "../ProjectWindow.h"
#include "../ProjectWindows.h"
#include "../ShuttleGui.h"
#include "../TagsEditor.h"
#include "Theme.h"
#include "../WaveTrack.h"
#include "../widgets/AudacityMessageBox.h"
#include "../widgets/Warning.h"
#include "../widgets/HelpSystem.h"
#include "AColor.h"
#include "FileNames.h"
#include "widgets/ProgressDialog.h"
#include "wxFileNameWrapper.h"
Go to the source code of this file.
Classes | |
struct | anonymous_namespace{Export.cpp}::ExporterItem |
Namespaces | |
namespace | anonymous_namespace{Export.cpp} |
Typedefs | |
using | anonymous_namespace{Export.cpp}::ExportPluginFactories = std::vector< Exporter::ExportPluginFactory > |
Enumerations | |
enum | { ID_MIXERPANEL = 10001 , ID_SLIDER_CHANNEL } |
Functions | |
wxDEFINE_EVENT (AUDACITY_FILE_SUFFIX_EVENT, wxCommandEvent) | |
static Registry::GroupItem & | anonymous_namespace{Export.cpp}::sRegistry () |
ExportPluginFactories & | anonymous_namespace{Export.cpp}::sFactories () |
TranslatableString | AudacityExportCaptionStr () |
TranslatableString | AudacityExportMessageStr () |
void | ShowExportErrorDialog (wxString ErrorCode, TranslatableString message, const TranslatableString &caption, bool allowReporting) |
void | ShowDiskFullExportErrorDialog (const wxFileNameWrapper &fileName) |
Variables | |
const auto | anonymous_namespace{Export.cpp}::PathStart = wxT("Exporters") |
anonymous enum |
Enumerator | |
---|---|
ID_MIXERPANEL | |
ID_SLIDER_CHANNEL |
Definition at line 1361 of file Export.cpp.
TranslatableString AudacityExportCaptionStr | ( | ) |
Definition at line 1503 of file Export.cpp.
References XO.
Referenced by Exporter::ExamineTracks().
TranslatableString AudacityExportMessageStr | ( | ) |
Definition at line 1507 of file Export.cpp.
References XO.
void ShowDiskFullExportErrorDialog | ( | const wxFileNameWrapper & | fileName | ) |
Definition at line 1533 of file Export.cpp.
References BasicUI::ShowErrorDialog(), FileException::WriteFailureMessage(), and XO.
Referenced by ExportFFmpeg::EncodeAudioFrame(), ExportFLAC::Export(), ExportMP3::Export(), and ExportOGG::Export().
void ShowExportErrorDialog | ( | wxString | ErrorCode, |
TranslatableString | message = AudacityExportMessageStr() , |
||
const TranslatableString & | caption = AudacityExportCaptionStr() , |
||
bool | allowReporting = true |
||
) |
We have many Export errors that are essentially anonymous and are distinguished only by an error code number. Rather than repeat the code, we have it just once.
Definition at line 1520 of file Export.cpp.
References TranslatableString::Format(), and BasicUI::ShowErrorDialog().
Referenced by ExportCL::CheckFileName(), ExportFFmpeg::EncodeAudioFrame(), Exporter::ExamineTracks(), ExportFFmpeg::Export(), ExportFLAC::Export(), ExportMP3::Export(), ExportOGG::Export(), ExportPCM::Export(), and ExportFFmpeg::Finalize().
wxDEFINE_EVENT | ( | AUDACITY_FILE_SUFFIX_EVENT | , |
wxCommandEvent | |||
) |