plugins/score-plugin-vst/Vst/Settings.hpp
1 #pragma once
2 #include <Media/Effect/Settings/Model.hpp>
3 #include <Media/Effect/Settings/View.hpp>
4 #include <Vst/ApplicationPlugin.hpp>
5 
6 #include <score/plugins/settingsdelegate/SettingsDelegatePresenter.hpp>
7 
8 #include <verdigris>
9 
10 class QListWidget;
11 
12 namespace vst
13 {
14 
16 {
17  W_OBJECT(SettingsWidget)
18  SCORE_CONCRETE("849b6420-cdc9-47c3-9cac-74897336a77a")
19 public:
20  using View = SettingsWidget;
22 
23  explicit SettingsWidget();
24 
25  void setVstPaths(QStringList val);
26 
27  QString name() const noexcept override;
28  QWidget* make(const score::ApplicationContext& ctx) override;
29 
30 public:
31  void VstPathsChanged(QStringList arg_1) W_SIGNAL(VstPathsChanged, arg_1);
32 
33 private:
34  Model* m_model{};
35  QListWidget* m_VstPaths{};
36  QStringList m_curitems;
37 
39  Model& model(SettingsWidget* self);
40 };
41 
42 }
Definition: score-plugin-media/Media/Effect/Settings/Model.hpp:11
Definition: score-plugin-media/Media/Effect/Settings/View.hpp:30
Definition: SettingsCommandDispatcher.hpp:10
Definition: plugins/score-plugin-vst/Vst/Settings.hpp:16
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24