Audacity 3.2.0
ExportUtils.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 ExportUtils.h
6
7 Dominic Mazzoni
8
9 Vitaly Sverchinsky split from ExportPlugin.h
10
11**********************************************************************/
12
13#pragma once
14
15#include "ExportTypes.h"
16#include "ExportPlugin.h"
17
18class TrackList;
19class WaveTrack;
20
21template <typename TrackType> struct TrackIterRange;
22
23class IMPORT_EXPORT_API ExportUtils final
24{
25public:
26
27 static TrackIterRange<const WaveTrack> FindExportWaveTracks(const TrackList& tracks, bool selectedOnly);
28
29 static ExportProcessor::Parameters ParametersFromEditor(const ExportOptionsEditor& editor);
30};
31
const auto tracks
Editor objects are used to retrieve a set of export options, and configure exporting parameters accor...
std::vector< std::tuple< ExportOptionID, ExportValue > > Parameters
Definition: ExportPlugin.h:93
A flat linked list of tracks supporting Add, Remove, Clear, and Contains, serialization of the list o...
Definition: Track.h:993
A Track that contains audio waveform data.
Definition: WaveTrack.h:227
Range between two TrackIters, usable in range-for statements, and with Visit member functions.
Definition: Track.h:825