Audacity 3.2.0
PluginRegistrationDialog.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 PluginRegistrationDialog.h
6
7 Paul Licameli split from PluginManager.cpp
8
9**********************************************************************/
10#ifndef __AUDACITY_PLUGIN_REGISTRATION_DIALOG__
11#define __AUDACITY_PLUGIN_REGISTRATION_DIALOG__
12
13#include "wxPanelWrapper.h" // to inherit
14#include "PluginDataModel.h"
15
16class ShuttleGui;
17class wxDataViewCtrl;
18class wxCommandEvent;
19
21{
22public:
25 PluginRegistrationDialog(wxWindow *parent, int defaultEffectCategory = -1);
26
27private:
28
29 void Populate();
31 void ReloadModel();
32
33 void OnSearchTextChanged(wxCommandEvent& evt);
34 void OnStateFilterValueChanged(wxCommandEvent& evt);
35 void OnTypeFilterValueChanged(wxCommandEvent& evt);
36 void OnCategoryFilterValueChanged(wxCommandEvent& evt);
37 void OnOK(wxCommandEvent & evt);
38 void OnCancel(wxCommandEvent & evt);
39 void OnRescan(wxCommandEvent & evt);
40
41 wxArrayString mPluginProviderIDs;
42
43 wxDataViewCtrl* mPluginList{};
44 wxObjectDataPtr<PluginDataModel> mPluginsModel;
45
46 DECLARE_EVENT_TABLE()
47};
48
49
50#endif
#define S(N)
Definition: ToChars.cpp:64
void PopulateOrExchange(ShuttleGui &S)
Defines the dialog and does data exchange with it.
void OnStateFilterValueChanged(wxCommandEvent &evt)
void OnCategoryFilterValueChanged(wxCommandEvent &evt)
wxObjectDataPtr< PluginDataModel > mPluginsModel
void OnTypeFilterValueChanged(wxCommandEvent &evt)
void OnCancel(wxCommandEvent &evt)
PluginRegistrationDialog(wxWindow *parent, int defaultEffectCategory=-1)
void OnRescan(wxCommandEvent &evt)
void OnOK(wxCommandEvent &evt)
void OnSearchTextChanged(wxCommandEvent &evt)
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640