mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 00:03:52 +02:00
Add ComponentInterface to PrefsPanel
This is so that we can have plug-in prefs panels loaded from a dll, and introspect what we have.
This commit is contained in:
@@ -239,6 +239,21 @@ TracksPrefs::~TracksPrefs()
|
||||
{
|
||||
}
|
||||
|
||||
ComponentInterfaceSymbol TracksPrefs::GetSymbol()
|
||||
{
|
||||
return TRACKS_PREFS_PLUGIN_SYMBOL;
|
||||
}
|
||||
|
||||
wxString TracksPrefs::GetDescription()
|
||||
{
|
||||
return _("Preferences for Tracks");
|
||||
}
|
||||
|
||||
wxString TracksPrefs::HelpPageName()
|
||||
{
|
||||
return "Tracks_Preferences";
|
||||
}
|
||||
|
||||
void TracksPrefs::Populate()
|
||||
{
|
||||
// Keep view choices and codes in proper correspondence --
|
||||
@@ -392,11 +407,6 @@ bool TracksPrefs::Commit()
|
||||
return true;
|
||||
}
|
||||
|
||||
wxString TracksPrefs::HelpPageName()
|
||||
{
|
||||
return "Tracks_Preferences";
|
||||
}
|
||||
|
||||
PrefsPanel *TracksPrefsFactory::operator () (wxWindow *parent, wxWindowID winid)
|
||||
{
|
||||
wxASSERT(parent); // to justify safenew
|
||||
|
||||
Reference in New Issue
Block a user