25#include <wx/stattext.h>
39 , mPopulator{ move(populator) }
74 return XO(
"Preferences for Library");
79 return "Libraries_Preferences";
104 { {
wxT(
""),
wxT(
"MP3,FFmpeg") } },
static const auto PathStart
#define LIBRARY_PREFS_PLUGIN_SYMBOL
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
An explicitly nonlocalized string, not meant for the user to see.
A PrefsPanel used to select manage external libraries like the MP3 and FFmpeg encoding libraries.
ComponentInterfaceSymbol GetSymbol() const override
std::function< void(ShuttleGui &) > Populator
Type of function that adds to the Library preference page.
TranslatableString GetDescription() const override
void Populate()
Creates the dialog and its contents.
void PopulateOrExchange(ShuttleGui &S) override
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
LibraryPrefs(wxWindow *parent, wxWindowID winid)
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.
void Visit(const Visitors &visitors, const GroupItem< RegistryTraits > *pTopItem, const GroupItem< RegistryTraits > *pRegistry={}, typename RegistryTraits::ComputedItemContextType &computedItemContext=RegistryTraits::ComputedItemContextType::Instance)
PrefsPanel::Registration sAttachment
PopulatorItem(const Identifier &id, Populator populator)
static Registry::GroupItem< Traits > & Registry()
RegisteredControls(const Identifier &id, Populator populator, const Registry::Placement &placement={ wxEmptyString, {} })