3 #include <Device/Protocol/DeviceSettings.hpp>
4 #include <Device/Protocol/ProtocolFactoryInterface.hpp>
6 #include <QQmlListProperty>
8 #include <unordered_map>
13 class DeviceDocumentPlugin;
17 struct DeviceSettings;
19 class ProtocolFactory;
20 class DeviceEnumerator;
32 , settings{std::move(b)}
40 W_PROPERTY(QString, name MEMBER name)
60 W_SIGNAL(deviceRemoved, factory, name)
62 QQmlListProperty<JS::DeviceIdentifier> devices();
64 W_PROPERTY(QQmlListProperty<JS::DeviceIdentifier>, devices READ devices)
66 bool enumerate() {
return m_enumerate; }
67 void setEnumerate(
bool b);
68 void enumerateChanged(
bool b) W_SIGNAL(enumerateChanged, b)
69 W_PROPERTY(
bool, enumerate READ enumerate WRITE setEnumerate NOTIFY enumerateChanged)
78 std::unordered_map<Device::ProtocolFactory*, Device::DeviceEnumerators>
81 std::vector<DeviceIdentifier*> m_raw_list;
87 Q_DECLARE_METATYPE(JS::GlobalDeviceEnumerator*)
Definition: ProtocolFactoryInterface.hpp:47
Definition: DeviceEnumerator.hpp:44
Manipulation of Devices from Qt.
Definition: AddressSettings.cpp:14
Definition: DeviceSettings.hpp:20
Definition: DeviceEnumerator.hpp:26
Definition: DocumentContext.hpp:18