score-plugin-media/Media/Effect/Settings/Model.hpp
1 #pragma once
2 #include <score/plugins/ProjectSettings/ProjectSettingsModel.hpp>
3 #include <score/plugins/settingsdelegate/SettingsDelegateModel.hpp>
4 
5 #include <score_plugin_media_export.h>
6 
7 #include <verdigris>
8 namespace Media::Settings
9 {
10 class SCORE_PLUGIN_MEDIA_EXPORT Model : public score::SettingsDelegateModel
11 {
12  W_OBJECT(Model)
13 
14  QStringList m_VstPaths;
15  bool m_VstAlwaysOnTop{};
16 
17 public:
18  Model(QSettings& set, const score::ApplicationContext& ctx);
19 
20  SCORE_SETTINGS_PARAMETER_HPP(SCORE_PLUGIN_MEDIA_EXPORT, QStringList, VstPaths)
21  SCORE_SETTINGS_PARAMETER_HPP(SCORE_PLUGIN_MEDIA_EXPORT, bool, VstAlwaysOnTop)
22 };
23 
24 SCORE_SETTINGS_PARAMETER(Model, VstPaths)
25 }
Definition: score-plugin-media/Media/Effect/Settings/Model.hpp:11
Definition: SettingsDelegateModel.hpp:16
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24