Audacity  2.2.0
ExtImportItem Class Reference

#include <Import.h>

Public Attributes

wxArrayString filters
 
int divider
 
ImportPluginPtrArray filter_objects
 
wxArrayString extensions
 
wxArrayString mime_types
 

Member Data Documentation

int ExtImportItem::divider

The index of first unused filter in array 0 - divider is at the top of the list (in the list control it will be the highest item), all filters are unused -1 - divider is at the bottom of the list (in the list control it will be the lowest item), all filters are used

Referenced by ExtImportPrefs::DoOnPluginKeyDown(), ExtImportPrefs::DoOnRuleTableSelect(), Importer::Import(), ExtImportPrefs::SwapPluginRows(), and Importer::WriteImportItems().

wxArrayString ExtImportItem::extensions

File extensions. Each one is a string with simple wildcards, i.e. "*.wav".

Referenced by ExtImportPrefs::AddItemToTable(), Importer::Import(), ExtImportPrefs::OnRuleTableEdit(), and Importer::WriteImportItems().

ImportPluginPtrArray ExtImportItem::filter_objects

Array of pointers to import plugins (members of FormatList)

Referenced by ExtImportPrefs::DoOnPluginKeyDown(), ExtImportPrefs::DoOnRuleTableSelect(), Importer::Import(), and ExtImportPrefs::SwapPluginRows().

wxArrayString ExtImportItem::filters

Unique string ID exists for each filter, it is not translateable and can be stored in config. This ID is matched internally with a translated name of a filter. Unknown IDs will be presented and saved as-is. Unused filters will not be used for matching files, unless forced.

Referenced by ExtImportPrefs::DoOnRuleTableSelect(), ExtImportPrefs::SwapPluginRows(), and Importer::WriteImportItems().

wxArrayString ExtImportItem::mime_types

Mime-types. Each one is a string in form of "foo/bar-baz" or something like that.

Referenced by ExtImportPrefs::AddItemToTable(), Importer::Import(), ExtImportPrefs::OnRuleTableEdit(), and Importer::WriteImportItems().


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