Audacity  2.2.2
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 179 of file ImportPlugin.h.

Constructor & Destructor Documentation

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

Definition at line 182 of file ImportPlugin.h.

182  :
183  mFormatName(formatName),
184  mExtensions(extensions)
185  {
186  }
wxArrayString mExtensions
Definition: ImportPlugin.h:200

Member Function Documentation

wxString UnusableImportPlugin::GetPluginFormatDescription ( )
inline

Definition at line 188 of file ImportPlugin.h.

References mFormatName.

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

Definition at line 193 of file ImportPlugin.h.

References mExtensions.

194  {
195  return mExtensions.Index(extension, false) != wxNOT_FOUND;
196  }
wxArrayString mExtensions
Definition: ImportPlugin.h:200

Member Data Documentation

wxArrayString UnusableImportPlugin::mExtensions
private

Definition at line 200 of file ImportPlugin.h.

Referenced by SupportsExtension().

wxString UnusableImportPlugin::mFormatName
private

Definition at line 199 of file ImportPlugin.h.

Referenced by GetPluginFormatDescription().


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