14#include <rapidjson/fwd.h>
50 const wxString& What() const noexcept;
66 const wxString& GetHelpPageId() const noexcept;
93 using Parameters = std::vector<std::tuple<ExportOptionID, ExportValue>>;
117 double t0,
double t1,
bool selectedOnly,
118 double rate,
unsigned channels,
120 const Tags* tags =
nullptr) = 0;
152 virtual std::unique_ptr<ExportOptionsEditor>
156 virtual std::vector<std::string> GetMimeTypes(
int formatIndex)
const;
169 virtual bool CheckFileName(wxFileName &filename,
int format = 0)
const;
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
wxFileNameWrapper mFileName
TranslatableString mMessage
Listener object that is used to report on option changes.
virtual std::unique_ptr< ExportProcessor > CreateProcessor(int format) const =0
virtual FormatInfo GetFormatInfo(int index) const =0
Returns FormatInfo structure for given index if it's valid, or a default one. FormatInfo::format isn'...
virtual int GetFormatCount() const =0
virtual std::unique_ptr< ExportOptionsEditor > CreateOptionsEditor(int formatIndex, ExportOptionsEditor::Listener *listener) const =0
Creates format-dependent options editor, that is used to create a valid set of parameters to be used ...
virtual void SetStatusString(const TranslatableString &str)=0
virtual bool IsCancelled() const =0
virtual void OnProgress(double progress)=0
virtual bool IsStopped() const =0
virtual ~ExportProcessorDelegate()
virtual ~ExportProcessor()
ExportProcessor(const ExportProcessor &)=delete
virtual ExportResult Process(ExportProcessorDelegate &delegate)=0
ExportProcessor()=default
std::vector< std::tuple< ExportOptionID, ExportValue > > Parameters
virtual bool Initialize(AudacityProject &project, const Parameters ¶meters, const wxFileNameWrapper &filename, double t0, double t1, bool selectedOnly, double rate, unsigned channels, MixerOptions::Downmix *mixerSpec=nullptr, const Tags *tags=nullptr)=0
Called before start processing.
ExportProcessor & operator=(const ExportProcessor &)=delete
A matrix of booleans, one row per input channel, column per output.
Holds a msgid for the translation catalog; may also bind format arguments.
Extend wxArrayString with move operations and construction and insertion fromstd::initializer_list.
TranslatableString GetMessage(const CloudSyncError &error)