Loading...
Searching...
No Matches
JoystickProtocolFactory.hpp
1#pragma once
2
3#include <Explorer/DefaultProtocolFactory.hpp>
4
5namespace Protocols
6{
7
9{
10 SCORE_CONCRETE("2b9c9f9d-f0fa-41a0-8e7a-0eedd4c48b35")
11
12 QString prettyName() const noexcept override;
13 QString category() const noexcept override;
14 QUrl manual() const noexcept override;
15
16 Device::DeviceEnumerators
17 getEnumerators(const score::DocumentContext& ctx) const override;
18
19 Device::DeviceInterface* makeDevice(
20 const Device::DeviceSettings& settings,
21 const Explorer::DeviceDocumentPlugin& plugin,
22 const score::DocumentContext& ctx) override;
23
24 const Device::DeviceSettings& defaultSettings() const noexcept override;
25
26 Device::ProtocolSettingsWidget* makeSettingsWidget() override;
27
28 QVariant makeProtocolSpecificSettings(const VisitorVariant& visitor) const override;
29
30 void serializeProtocolSpecificSettings(
31 const QVariant& data, const VisitorVariant& visitor) const override;
32
33 bool checkCompatibility(
35 const Device::DeviceSettings& b) const noexcept override;
36};
37}
Definition DeviceInterface.hpp:66
Definition ProtocolSettingsWidget.hpp:22
Definition DefaultProtocolFactory.hpp:10
Definition JoystickProtocolFactory.hpp:9
Definition DeviceSettings.hpp:20
The VisitorVariant struct.
Definition VisitorInterface.hpp:26
Definition DocumentContext.hpp:18