24 lines
487 B
C++
24 lines
487 B
C++
|
#pragma once
|
||
|
#include <score/plugins/settingsdelegate/SettingsDelegateModel.hpp>
|
||
|
|
||
|
#include <score_addon_hardware_export.h>
|
||
|
|
||
|
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)
|
||
|
}
|
||
|
}
|