2 #include <ossia/detail/config.hpp>
3 #if defined(OSSIA_PROTOCOL_EVDEV)
4 #include <Explorer/DefaultProtocolFactory.hpp>
9 class EvdevProtocolFactory final :
public DefaultProtocolFactory
11 SCORE_CONCRETE(
"cc093ece-7de2-4459-b17e-507c1f3cc52b")
13 QString prettyName() const noexcept override;
14 QString category() const noexcept override;
15 QUrl manual() const noexcept override;
18 getEnumerators(const
score::DocumentContext& ctx) const override;
20 Device::DeviceInterface* makeDevice(
21 const
Device::DeviceSettings& settings, const Explorer::DeviceDocumentPlugin& plug,
22 const
score::DocumentContext& ctx) override;
24 const
Device::DeviceSettings& defaultSettings() const noexcept override;
26 Device::ProtocolSettingsWidget* makeSettingsWidget() override;
28 QVariant makeProtocolSpecificSettings(const
VisitorVariant& visitor) const override;
30 void serializeProtocolSpecificSettings(
31 const QVariant& data, const
VisitorVariant& visitor) const override;
33 bool checkCompatibility(
34 const
Device::DeviceSettings& a,
35 const
Device::DeviceSettings& b) const noexcept override;
Manipulation of Devices from Qt.
Definition: AddressSettings.cpp:14
Base toolkit upon which the software is built.
Definition: Application.cpp:90
The VisitorVariant struct.
Definition: VisitorInterface.hpp:26