2 #include <score/plugins/UuidKey.hpp>
3 #include <score/serialization/DataStreamFwd.hpp>
4 #include <score/tools/Metadata.hpp>
6 #include <ossia/detail/flat_map.hpp>
7 #include <ossia/detail/small_vector.hpp>
8 #include <ossia/detail/variant.hpp>
13 #include <score_lib_device_export.h>
18 class ProtocolFactory;
23 QVariant deviceSpecificSettings;
28 return lhs.protocol == rhs.protocol && lhs.name == rhs.name
29 && lhs.deviceSpecificSettings == rhs.deviceSpecificSettings;
45 using DeviceResource = ossia::variant<
47 using DeviceResources = ossia::small_vector<DeviceResource, 2>;
48 using DeviceResourceMap = ossia::flat_map<QString, DeviceResources>;
53 SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_DEVICE_EXPORT,
Device::DeviceSettings);
55 Q_DECLARE_METATYPE(
Device::DeviceSettings)
56 W_REGISTER_ARGTYPE(
Device::DeviceSettings)
Manipulation of Devices from Qt.
Definition: AddressSettings.cpp:14
Definition: DeviceSettings.hpp:20
Definition: DeviceSettings.hpp:41
Definition: DeviceSettings.hpp:37
Definition: DeviceSettings.hpp:33