Audacity 3.2.0
IncompatiblePluginsDialog.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 @file IncompatiblePluginsDialog.h
6
7 @author Vitaly Sverchinsky
8
9**********************************************************************/
10
11#pragma once
12
13#include <vector>
14#include <wx/string.h>
15#include "wxPanelWrapper.h"
16
17class wxStaticText;
18class wxTextCtrl;
19
20enum class ScanType
21{
22 Startup,
23 Manual
24};
25
29{
30 wxStaticText* mText{nullptr};
31 wxTextCtrl* mPluginList{nullptr};
32public:
33
34 IncompatiblePluginsDialog(wxWindow *parent, wxWindowID id, ScanType scanType,
35 const std::vector<wxString>& plugins = { },
36 const wxPoint& pos = wxDefaultPosition,
37 const wxSize& size = wxDefaultSize);
38
39 void SetPlugins(const std::vector<wxString>& plugins);
40
41private:
42 void OnPluginManagerClicked(wxCommandEvent&);
43 void OnContinueClicked(wxCommandEvent&);
44
46};
void OnContinueClicked(wxCommandEvent &)
void OnPluginManagerClicked(wxCommandEvent &)
void SetPlugins(const std::vector< wxString > &plugins)
IncompatiblePluginsDialog(wxWindow *parent, wxWindowID id, ScanType scanType, const std::vector< wxString > &plugins={ }, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)