Audacity 3.2.0
|
#include <Import.h>
Public Attributes | |
wxArrayString | filters |
int | divider |
std::vector< ImportPlugin * > | filter_objects |
wxArrayString | extensions |
wxArrayString | mime_types |
int ExtImportItem::divider |
The index of first unused filter in @filters 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 64 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 75 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 69 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 translatable 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 55 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 81 of file Import.h.
Referenced by ExtImportPrefs::AddItemToTable(), Importer::Import(), ExtImportPrefs::OnRuleTableEdit(), and Importer::WriteImportItems().