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