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

#include <Import.h>

Collaboration diagram for ExtImportItem:
[legend]

Public Attributes

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

Detailed Description

Definition at line 45 of file Import.h.

Member Data Documentation

◆ divider

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().

◆ extensions

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().

◆ filter_objects

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().

◆ filters

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().

◆ mime_types

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().


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