Audacity 3.2.0
Public Member Functions | List of all members
anonymous_namespace{ImportMIDI.cpp}::MIDIImportPlugin Class Referencefinal
Inheritance diagram for anonymous_namespace{ImportMIDI.cpp}::MIDIImportPlugin:
Collaboration diagram for anonymous_namespace{ImportMIDI.cpp}::MIDIImportPlugin:

Public Member Functions

 MIDIImportPlugin ()
 ~MIDIImportPlugin () override
wxString GetPluginStringID () override
TranslatableString GetPluginFormatDescription () override
std::unique_ptr< ImportFileHandleOpen (const FilePath &fileName, AudacityProject *project) override
- Public Member Functions inherited from ImportPlugin
virtual wxString GetPluginStringID ()=0
virtual TranslatableString GetPluginFormatDescription ()=0
virtual FileExtensions GetSupportedExtensions ()
virtual TranslatableString FailureHint () const
 User visible message suggesting what to do when a file type isn't recognized; default empty string. More...
bool SupportsExtension (const FileExtension &extension)
virtual std::unique_ptr< ImportFileHandleOpen (const FilePath &Filename, AudacityProject *)=0
virtual ~ImportPlugin ()

Additional Inherited Members

- Protected Member Functions inherited from ImportPlugin
 ImportPlugin (FileExtensions supportedExtensions)
- Protected Attributes inherited from ImportPlugin
const FileExtensions mExtensions

Detailed Description

Definition at line 236 of file ImportMIDI.cpp.

Constructor & Destructor Documentation

◆ MIDIImportPlugin()

anonymous_namespace{ImportMIDI.cpp}::MIDIImportPlugin::MIDIImportPlugin ( )

Definition at line 239 of file ImportMIDI.cpp.

240 : ImportPlugin(FileExtensions(exts.begin(), exts.end()))
241 {}
wxArrayStringEx FileExtensions
Definition: Identifier.h:225
ImportPlugin(FileExtensions supportedExtensions)

◆ ~MIDIImportPlugin()

anonymous_namespace{ImportMIDI.cpp}::MIDIImportPlugin::~MIDIImportPlugin ( )

Definition at line 242 of file ImportMIDI.cpp.


Member Function Documentation

◆ GetPluginFormatDescription()

TranslatableString anonymous_namespace{ImportMIDI.cpp}::MIDIImportPlugin::GetPluginFormatDescription ( )

Implements ImportPlugin.

Definition at line 246 of file ImportMIDI.cpp.

246{ return DESC; }

References anonymous_namespace{ImportMIDI.cpp}::DESC.

◆ GetPluginStringID()

wxString anonymous_namespace{ImportMIDI.cpp}::MIDIImportPlugin::GetPluginStringID ( )

Implements ImportPlugin.

Definition at line 244 of file ImportMIDI.cpp.

244{ return wxT("portsmf"); }

References wxT().

Here is the call graph for this function:

◆ Open()

std::unique_ptr< ImportFileHandle > anonymous_namespace{ImportMIDI.cpp}::MIDIImportPlugin::Open ( const FilePath fileName,
AudacityProject project 

Implements ImportPlugin.

Definition at line 248 of file ImportMIDI.cpp.

250 {
251 return std::make_unique<MIDIImportFileHandle>(fileName);
252 }

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