Audacity  3.0.3
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 41 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 60 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 71 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 65 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 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 51 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 77 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: