HTTPProtocolFactory.hpp
1 #pragma once
2 #include <Explorer/DefaultProtocolFactory.hpp>
3 
4 namespace Protocols
5 {
7 {
8  SCORE_CONCRETE("171095cd-6815-4930-be40-5ffe131eb775")
9  // Implement with OSSIA::Device
10  QString prettyName() const noexcept override;
11  QString category() const noexcept override;
12  QUrl manual() const noexcept override;
13 
14  Device::DeviceEnumerators
15  getEnumerators(const score::DocumentContext& ctx) const override;
16 
17  Device::DeviceInterface* makeDevice(
18  const Device::DeviceSettings& settings,
19  const Explorer::DeviceDocumentPlugin& plugin,
20  const score::DocumentContext& ctx) override;
21  const Device::DeviceSettings& defaultSettings() const noexcept override;
22 
23  Device::ProtocolSettingsWidget* makeSettingsWidget() override;
24 
25  QVariant makeProtocolSpecificSettings(const VisitorVariant& visitor) const override;
26 
27  void serializeProtocolSpecificSettings(
28  const QVariant& data, const VisitorVariant& visitor) const override;
29 
30  bool checkCompatibility(
31  const Device::DeviceSettings& a,
32  const Device::DeviceSettings& b) const noexcept override;
33 };
34 }
Definition: DeviceInterface.hpp:66
Definition: ProtocolSettingsWidget.hpp:22
Definition: DefaultProtocolFactory.hpp:10
Definition: HTTPProtocolFactory.hpp:7
Definition: DeviceSettings.hpp:20
The VisitorVariant struct.
Definition: VisitorInterface.hpp:26
Definition: DocumentContext.hpp:18