Audacity 3.2.0
Classes | Namespaces | Typedefs | Functions
Export.h File Reference
#include <functional>
#include <vector>
#include <wx/filename.h>
#include "Identifier.h"
#include "FileNames.h"
#include "Registry.h"
#include "ExportPlugin.h"
Include dependency graph for Export.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ExportTaskBuilder
 

Namespaces

namespace  MixerOptions
 

Typedefs

using MixerSpec = MixerOptions::Downmix
 
using WaveTrackConstArray = std::vector< std::shared_ptr< const WaveTrack > >
 
using ExportPluginArray = std::vector< std::unique_ptr< ExportPlugin > >
 

Functions

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

Typedef Documentation

◆ ExportPluginArray

using ExportPluginArray = std::vector < std::unique_ptr< ExportPlugin > >

Definition at line 30 of file Export.h.

◆ MixerSpec

Definition at line 27 of file Export.h.

◆ WaveTrackConstArray

using WaveTrackConstArray = std::vector < std::shared_ptr < const WaveTrack > >

Definition at line 28 of file Export.h.

Function Documentation

◆ ShowDiskFullExportErrorDialog()

void IMPORT_EXPORT_API 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 IMPORT_EXPORT_API 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 IMPORT_EXPORT_API 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: