17#include <wx/tokenzr.h>
39using TrackHolders = std::vector< std::vector< std::shared_ptr<WaveTrack> > >;
91 std::unique_ptr<ImportPlugin>,
147 void ReadImportItems();
152 void WriteImportItems();
159 void StringToList(wxString &
str, wxString &delims, wxArrayString &list, wxStringTokenizerMode mod = wxTOKEN_RET_EMPTY_ALL);
171 std::unique_ptr<ExtImportItem> CreateDefaultImportItem();
207 const wxPoint& pos = wxDefaultPosition,
208 const wxSize&
size = wxDefaultSize,
209 long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER );
218 void OnOk( wxCommandEvent &event );
219 void OnCancel( wxCommandEvent &event );
222 DECLARE_EVENT_TABLE()
AUDACITY_DLL_API BoolSetting NewImportingSession
std::vector< std::vector< std::shared_ptr< WaveTrack > > > TrackHolders
std::vector< std::unique_ptr< ExtImportItem > > ExtImportItems
bool(* progress_callback_t)(void *userData, float percent)
std::vector< std::unique_ptr< UnusableImportPlugin > > UnusableImportPluginList
std::vector< ImportPlugin * > ImportPluginList
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
This specialization of Setting for bool adds a Toggle method to negate the saved value.
std::vector< ImportPlugin * > filter_objects
std::vector< FileType > FileTypes
An explicitly nonlocalized string, not meant for the user to see.
An ImportFileHandle for data.
Base class for FlacImportPlugin, LOFImportPlugin, MP3ImportPlugin, OggImportPlugin and PCMImportPlugi...
void OnOk(wxCommandEvent &event)
virtual ~ImportStreamDialog()
ImportStreamDialog(ImportFileHandle *_mFile, wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
void OnCancel(wxCommandEvent &event)
Class which actually imports the auido, using functions defined in ImportPCM.cpp, ImportMP3_*....
static Importer mInstance
ExtImportItems mExtImportItems
Importer(const Importer &) PROHIBITED
ExtImportItems & GetImportItems()
Importer & operator=(Importer &) PROHIBITED
Generates classes whose instances register items at construction.
Abstract base class for an object holding data associated with points on a time axis.
Holds a msgid for the translation catalog; may also bind format arguments.
Used in place of a real plug in for plug ins that have not been compiled or are not available in this...
Used to create or clone a WaveTrack, with appropriate context from the project that will own the trac...
A Track that contains audio waveform data.
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
std::unique_ptr< ImportPlugin > mpPlugin
Common abstract base class for items that group other items.