1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-28 08:13:54 +01: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:
James Crook
2019-04-15 13:01:24 +01:00
parent ca0bf0c12d
commit 3b312f9d1b
46 changed files with 474 additions and 103 deletions

View File

@@ -20,11 +20,16 @@ class wxChoice;
class ShuttleGui;
class wxArrayStringEx;
#define DEVICE_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Device") }
class DevicePrefs final : public PrefsPanel
{
public:
DevicePrefs(wxWindow * parent, wxWindowID winid);
virtual ~DevicePrefs();
virtual ComponentInterfaceSymbol GetSymbol();
virtual wxString GetDescription();
bool Commit() override;
wxString HelpPageName() override;
void PopulateOrExchange(ShuttleGui & S) override;