Audacity 3.2.0
Functions
Export.cpp File Reference
#include "Export.h"
#include <numeric>
#include "BasicUI.h"
#include "ExportPluginRegistry.h"
#include "Mix.h"
#include "Project.h"
#include "WaveTrack.h"
#include "wxFileNameWrapper.h"
#include "StretchingSequence.h"
#include "ExportUtils.h"
Include dependency graph for Export.cpp:

Go to the source code of this file.

Functions

void ShowDiskFullExportErrorDialog (const wxFileNameWrapper &fileName)
 
void ShowExportErrorDialog (const TranslatableString &message, const TranslatableString &caption, bool allowReporting)
 
void ShowExportErrorDialog (const TranslatableString &message, const TranslatableString &caption, const ManualPageID &helpPageId, bool allowReporting)
 

Function Documentation

◆ ShowDiskFullExportErrorDialog()

void ShowDiskFullExportErrorDialog ( const wxFileNameWrapper fileName)

Definition at line 135 of file Export.cpp.

136{
138 XO("Warning"),
140 "Error:_Disk_full_or_not_writable"
141 );
142}
XO("Cut/Copy/Paste")
static TranslatableString WriteFailureMessage(const wxFileName &fileName)
void ShowErrorDialog(const WindowPlacement &placement, const TranslatableString &dlogTitle, const TranslatableString &message, const ManualPageID &helpPage, const ErrorDialogOptions &options={})
Show an error dialog with a link to the manual for further help.
Definition: BasicUI.h:272

References BasicUI::ShowErrorDialog(), FileException::WriteFailureMessage(), and XO().

Referenced by ExportProgressUI::ExceptionWrappedCall().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShowExportErrorDialog() [1/2]

void ShowExportErrorDialog ( const TranslatableString message,
const TranslatableString caption,
bool  allowReporting 
)

Definition at line 144 of file Export.cpp.

147{
148 ShowExportErrorDialog(message, caption, {}, allowReporting);
149}
void ShowExportErrorDialog(const TranslatableString &message, const TranslatableString &caption, bool allowReporting)
Definition: Export.cpp:144

References ShowExportErrorDialog().

Referenced by anonymous_namespace{FileMenus.cpp}::DoExport(), ExportProgressUI::ExceptionWrappedCall(), TimerRecordDialog::ExecutePostRecordActions(), ExportOptionsCLEditor::IsValidCommand(), ExportAudioDialog::OnExport(), and ShowExportErrorDialog().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShowExportErrorDialog() [2/2]

void ShowExportErrorDialog ( const TranslatableString message,
const TranslatableString caption,
const ManualPageID helpPageId,
bool  allowReporting 
)

Definition at line 151 of file Export.cpp.

155{
156 using namespace BasicUI;
157 ShowErrorDialog( {},
158 caption,
159 message,
160 helpPageId,
161 ErrorDialogOptions { allowReporting ? ErrorDialogType::ModalErrorReport : ErrorDialogType::ModalError });
162}
Options for variations of error dialogs; the default is for modal dialogs.
Definition: BasicUI.h:52

References BasicUI::ShowErrorDialog().

Here is the call graph for this function: