Audacity  2.3.1
Public Member Functions | Private Attributes | List of all members
UnusableImportPlugin Class Reference

Used in place of a real plug in for plug ins that have not been compiled or are not available in this version of Audacity. Has enough information to identify the file extensions that would be used, but little else. More...

#include <ImportPlugin.h>

Public Member Functions

 UnusableImportPlugin (const wxString &formatName, wxArrayString extensions)
 
wxString GetPluginFormatDescription ()
 
bool SupportsExtension (const wxString &extension)
 

Private Attributes

wxString mFormatName
 
wxArrayString mExtensions
 

Detailed Description

Used in place of a real plug in for plug ins that have not been compiled or are not available in this version of Audacity. Has enough information to identify the file extensions that would be used, but little else.

Definition at line 181 of file ImportPlugin.h.

Constructor & Destructor Documentation

UnusableImportPlugin::UnusableImportPlugin ( const wxString &  formatName,
wxArrayString  extensions 
)
inline

Definition at line 184 of file ImportPlugin.h.

184  :
185  mFormatName(formatName),
186  mExtensions(extensions)
187  {
188  }
wxArrayString mExtensions
Definition: ImportPlugin.h:202

Member Function Documentation

wxString UnusableImportPlugin::GetPluginFormatDescription ( )
inline

Definition at line 190 of file ImportPlugin.h.

References mFormatName.

191  {
192  return mFormatName;
193  }
bool UnusableImportPlugin::SupportsExtension ( const wxString &  extension)
inline

Definition at line 195 of file ImportPlugin.h.

References mExtensions.

196  {
197  return mExtensions.Index(extension, false) != wxNOT_FOUND;
198  }
wxArrayString mExtensions
Definition: ImportPlugin.h:202

Member Data Documentation

wxArrayString UnusableImportPlugin::mExtensions
private

Definition at line 202 of file ImportPlugin.h.

Referenced by SupportsExtension().

wxString UnusableImportPlugin::mFormatName
private

Definition at line 201 of file ImportPlugin.h.

Referenced by GetPluginFormatDescription().


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