Audacity  2.2.2
Public Attributes | List of all members
ExtImportItem Class Reference

#include <Import.h>

Public Attributes

wxArrayString filters
 
int divider
 
std::vector< ImportPlugin * > filter_objects
 
wxArrayString extensions
 
wxArrayString mime_types
 

Detailed Description

Definition at line 49 of file Import.h.

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

Definition at line 68 of file Import.h.

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".

Definition at line 79 of file Import.h.

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

std::vector<ImportPlugin*> ExtImportItem::filter_objects

Array of pointers to import plugins (members of FormatList)

Definition at line 73 of file Import.h.

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.

Definition at line 59 of file Import.h.

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.

Definition at line 85 of file Import.h.

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


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