Audacity  2.2.0
ImportPlugin Class Referenceabstract

Base class for FlacImportPlugin, LOFImportPlugin, MP3ImportPlugin, OggImportPlugin and PCMImportPlugin. Gives API for sound file import. More...

#include <ImportPlugin.h>

Inheritance diagram for ImportPlugin:
LOFImportPlugin PCMImportPlugin

Public Member Functions

virtual wxString GetPluginStringID ()=0
 
virtual wxString GetPluginFormatDescription ()=0
 
virtual wxArrayString GetSupportedExtensions ()
 
bool SupportsExtension (const wxString &extension)
 
virtual std::unique_ptr
< ImportFileHandle
Open (const wxString &Filename)=0
 
virtual ~ImportPlugin ()
 

Protected Member Functions

 ImportPlugin (wxArrayString supportedExtensions)
 

Protected Attributes

wxArrayString mExtensions
 

Detailed Description

Base class for FlacImportPlugin, LOFImportPlugin, MP3ImportPlugin, OggImportPlugin and PCMImportPlugin. Gives API for sound file import.

Constructor & Destructor Documentation

virtual ImportPlugin::~ImportPlugin ( )
inlinevirtual
ImportPlugin::ImportPlugin ( wxArrayString  supportedExtensions)
inlineprotected

Member Function Documentation

virtual wxString ImportPlugin::GetPluginFormatDescription ( )
pure virtual

Implemented in LOFImportPlugin, and PCMImportPlugin.

virtual wxString ImportPlugin::GetPluginStringID ( )
pure virtual

Implemented in LOFImportPlugin, and PCMImportPlugin.

Referenced by Importer::Import().

virtual wxArrayString ImportPlugin::GetSupportedExtensions ( )
inlinevirtual

References mExtensions.

virtual std::unique_ptr<ImportFileHandle> ImportPlugin::Open ( const wxString &  Filename)
pure virtual

Implemented in LOFImportPlugin, and PCMImportPlugin.

bool ImportPlugin::SupportsExtension ( const wxString &  extension)
inline

References mExtensions.

Member Data Documentation

wxArrayString ImportPlugin::mExtensions
protected

The documentation for this class was generated from the following file: