27 if(mFormatIndex >= (*mPluginIt)->GetFormatCount())
59 { {
wxT(
""),
wxT(
"PCM,MP3,OGG,Opus,FLAC,WavPack,FFmpeg,MP2,CommandLine") } },
71std::tuple<ExportPlugin*, int>
76 const auto [plugin, formatIndex] = t;
77 if(plugin->GetFormatInfo(formatIndex).format.IsSameAs(
format, compareWithCase))
ConstIterator & operator++()
std::function< std::unique_ptr< ExportPlugin >() > Factory
std::tuple< ExportPlugin *, int > FindFormat(const wxString &format, bool compareWithCase=false) const
Returns first pair of [exportPlugin, formatIndex], such that: exportPlugin->GetFormatInfo(formatIndex...
static ExportPluginRegistry & Get()
An explicitly nonlocalized string, not meant for the user to see.
void Visit(const Visitors &visitors, const GroupItem< RegistryTraits > *pTopItem, const GroupItem< RegistryTraits > *pRegistry={}, typename RegistryTraits::ComputedItemContextType &computedItemContext=RegistryTraits::ComputedItemContextType::Instance)
static Registry::GroupItem< Traits > & Registry()
ExportPluginRegistryItem(const Identifier &id, Factory factory)
RegisteredPlugin(const Identifier &id, const Factory &, const Registry::Placement &placement={ wxEmptyString, {} })