#pragma once #include #include namespace Hardware { namespace Settings { class SCORE_ADDON_HARDWARE_EXPORT Model : public score::SettingsDelegateModel { W_OBJECT(Model) bool m_Enabled = false; public: Model(QSettings& set, const score::ApplicationContext& ctx); SCORE_SETTINGS_PARAMETER_HPP(SCORE_ADDON_HARDWARE_EXPORT, bool, Enabled) }; SCORE_SETTINGS_PARAMETER(Model, Enabled) } }