Audacity 3.2.0
|
#include <ImportPlugin.h>
Public Member Functions | |
ImportFileHandleEx (const FilePath &filename) | |
FilePath | GetFilename () const override |
void | Cancel () override |
void | Stop () override |
Public Member Functions inherited from ImportFileHandle | |
virtual | ~ImportFileHandle () |
virtual FilePath | GetFilename () const =0 |
virtual TranslatableString | GetErrorMessage () const |
virtual TranslatableString | GetFileDescription ()=0 |
virtual ByteCount | GetFileUncompressedBytes ()=0 |
virtual wxInt32 | GetStreamCount ()=0 |
virtual const TranslatableStrings & | GetStreamInfo ()=0 |
virtual void | SetStreamUsage (wxInt32 StreamID, bool Use)=0 |
virtual void | Import (ImportProgressListener &progressListener, WaveTrackFactory *trackFactory, TrackHolders &outTracks, Tags *tags, std::optional< LibFileFormats::AcidizerTags > &acidTags)=0 |
virtual void | Cancel ()=0 |
virtual void | Stop ()=0 |
Protected Member Functions | |
void | BeginImport () |
bool | IsCancelled () const noexcept |
bool | IsStopped () const noexcept |
Private Attributes | |
FilePath | mFilename |
bool | mCancelled {false} |
bool | mStopped {false} |
Additional Inherited Members | |
Public Types inherited from ImportFileHandle | |
using | ByteCount = unsigned long long |
Definition at line 158 of file ImportPlugin.h.
ImportFileHandleEx::ImportFileHandleEx | ( | const FilePath & | filename | ) |
Definition at line 41 of file ImportPlugin.cpp.
|
protected |
Definition at line 63 of file ImportPlugin.cpp.
References mCancelled, and mStopped.
Referenced by AUPImportFileHandle::Import(), FLACImportFileHandle::Import(), anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle::Import(), OggImportFileHandle::Import(), OpusImportFileHandle::Import(), PCMImportFileHandle::Import(), and WavPackImportFileHandle::Import().
|
overridevirtual |
Implements ImportFileHandle.
Definition at line 51 of file ImportPlugin.cpp.
References mCancelled, and mStopped.
|
overridevirtual |
Implements ImportFileHandle.
Definition at line 46 of file ImportPlugin.cpp.
References mFilename.
Referenced by AUPImportFileHandle::HandleImport(), AUPImportFileHandle::HandleProject(), AUPImportFileHandle::Import(), OggImportFileHandle::Import(), PCMImportFileHandle::Import(), FLACImportFileHandle::Init(), AUPImportFileHandle::Open(), and anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle::Open().
|
protectednoexcept |
Definition at line 69 of file ImportPlugin.cpp.
References mCancelled.
Referenced by AUPImportFileHandle::Import(), FLACImportFileHandle::Import(), anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle::Import(), OggImportFileHandle::Import(), OpusImportFileHandle::Import(), PCMImportFileHandle::Import(), WavPackImportFileHandle::Import(), OpusImportFileHandle::NotifyImportFailed(), and MyFLACFile::write_callback().
|
protectednoexcept |
Definition at line 74 of file ImportPlugin.cpp.
References mStopped.
Referenced by AUPImportFileHandle::Import(), FLACImportFileHandle::Import(), OggImportFileHandle::Import(), OpusImportFileHandle::Import(), PCMImportFileHandle::Import(), WavPackImportFileHandle::Import(), OpusImportFileHandle::NotifyImportFailed(), and MyFLACFile::write_callback().
|
overridevirtual |
Implements ImportFileHandle.
Definition at line 57 of file ImportPlugin.cpp.
References mCancelled, and mStopped.
|
private |
Definition at line 161 of file ImportPlugin.h.
Referenced by BeginImport(), Cancel(), IsCancelled(), and Stop().
|
private |
Definition at line 160 of file ImportPlugin.h.
Referenced by GetFilename(), and FLACImportFileHandle::Init().
|
private |
Definition at line 162 of file ImportPlugin.h.
Referenced by BeginImport(), Cancel(), IsStopped(), and Stop().