47 parameters.emplace_back(option.
id, value);
62 static std::vector<ExportHookElement> hooks;
72 hooks.begin(), hooks.end(), priority,
73 [](
Priority priority,
const ExportHookElement& element)
74 { return priority > element.priority; }),
83 for (
auto& hook : hooks)
std::variant< bool, int, double, std::string > ExportValue
A type of option values (parameters) used by exporting plugins.
wxString FileExtension
File extension, not including any leading dot.
declares abstract base class Track, TrackList, and iterators over TrackList
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Editor objects are used to retrieve a set of export options, and configure exporting parameters accor...
virtual bool GetValue(ExportOptionID id, ExportValue &value) const =0
virtual bool GetOption(int index, ExportOption &option) const =0
virtual int GetOptionsCount() const =0
std::vector< std::tuple< ExportOptionID, ExportValue > > Parameters
static TrackIterRange< const WaveTrack > FindExportWaveTracks(const TrackList &tracks, bool selectedOnly)
static void PerformInteractiveExport(AudacityProject &project, const FileExtension &format, AudiocomTrace trace, bool selectedOnly)
std::function< ExportHookResult(AudacityProject &, const FileExtension &, AudiocomTrace, bool)> ExportHook
static ExportProcessor::Parameters ParametersFromEditor(const ExportOptionsEditor &editor)
static bool HasSelectedAudio(const AudacityProject &project)
static void RegisterExportHook(ExportHook hook, Priority=DEFAULT_EXPORT_HOOK_PRIORITY)
A flat linked list of tracks supporting Add, Remove, Clear, and Contains, serialization of the list o...
static TrackList & Get(AudacityProject &project)
NotifyingSelectedRegion selectedRegion
static ViewInfo & Get(AudacityProject &project)
A Track that contains audio waveform data.
bool GetMute() const override
May vary asynchronously.
bool GetSolo() const override
May vary asynchronously.
A type that provides a description of an exporting option. Isn't allowed to change except non-type re...
ExportOptionID id
Internal option id.
Range between two TrackIters, usable in range-for statements, and with Visit member functions.
ExportUtils::ExportHook hook
ExportUtils::Priority priority