45#ifndef __AUDACITY_IMPORTER__
46#define __AUDACITY_IMPORTER__
95 virtual std::unique_ptr<ImportFileHandle>
Open(
109using TrackHolders = std::vector< std::vector< std::shared_ptr<WaveTrack> > >;
122 void CreateProgress();
186 return mExtensions.Index(extension,
false) != wxNOT_FOUND;
wxString FileExtension
File extension, not including any leading dot.
std::vector< std::vector< std::shared_ptr< WaveTrack > > > TrackHolders
std::vector< TranslatableString > TranslatableStrings
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
An ImportFileHandle for data.
virtual ByteCount GetFileUncompressedBytes()=0
virtual TranslatableString GetFileDescription()=0
virtual wxInt32 GetStreamCount()=0
virtual ProgressResult Import(WaveTrackFactory *trackFactory, TrackHolders &outTracks, Tags *tags)=0
virtual const TranslatableStrings & GetStreamInfo()=0
unsigned long long ByteCount
virtual void SetStreamUsage(wxInt32 StreamID, bool Use)=0
std::unique_ptr< ProgressDialog > mProgress
Base class for FlacImportPlugin, LOFImportPlugin, MP3ImportPlugin, OggImportPlugin and PCMImportPlugi...
virtual TranslatableString GetPluginFormatDescription()=0
virtual wxString GetPluginStringID()=0
const FileExtensions mExtensions
virtual std::unique_ptr< ImportFileHandle > Open(const FilePath &Filename, AudacityProject *)=0
Abstract base class for an object holding data associated with points on a time axis.
Holds a msgid for the translation catalog; may also bind format arguments.
Used in place of a real plug in for plug ins that have not been compiled or are not available in this...
bool SupportsExtension(const FileExtension &extension)
UnusableImportPlugin(const TranslatableString &formatName, FileExtensions extensions)
TranslatableString GetPluginFormatDescription()
TranslatableString mFormatName
const FileExtensions mExtensions
Used to create or clone a WaveTrack, with appropriate context from the project that will own the trac...
A Track that contains audio waveform data.
Extend wxArrayString with move operations and construction and insertion fromstd::initializer_list.