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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user