score-plugin-remotecontrol/RemoteControl/Settings/Model.hpp
1 #pragma once
2 #include <score/plugins/settingsdelegate/SettingsDelegateModel.hpp>
3 
4 #include <score_plugin_remotecontrol_export.h>
5 
6 namespace RemoteControl
7 {
8 namespace Settings
9 {
10 class SCORE_PLUGIN_REMOTECONTROL_EXPORT Model : public score::SettingsDelegateModel
11 {
12  W_OBJECT(Model)
13  bool m_Enabled = false;
14 
15 public:
16  Model(QSettings& set, const score::ApplicationContext& ctx);
17 
18  SCORE_SETTINGS_PARAMETER_HPP(SCORE_PLUGIN_REMOTECONTROL_EXPORT, bool, Enabled)
19 };
20 
21 SCORE_SETTINGS_PARAMETER(Model, Enabled)
22 
23 }
24 }
Definition: score-plugin-remotecontrol/RemoteControl/Settings/Model.hpp:11
Definition: SettingsDelegateModel.hpp:16
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24