score-addon-hardware/Hardware/Settings/Model.hpp

24 lines
491 B
C++
Raw Normal View History

#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)
QString m_Device = "None";
public:
Model(QSettings& set, const score::ApplicationContext& ctx);
SCORE_SETTINGS_PARAMETER_HPP(SCORE_ADDON_HARDWARE_EXPORT, QString, Device)
};
SCORE_SETTINGS_PARAMETER(Model, Device)
}
}