SpoutInput.hpp
1 #pragma once
2 
3 #include <Device/Protocol/DeviceInterface.hpp>
4 #include <Device/Protocol/DeviceSettings.hpp>
5 
6 #include <Gfx/GfxInputDevice.hpp>
7 #include <Gfx/SharedInputSettings.hpp>
8 
9 #include <ossia/gfx/texture_parameter.hpp>
10 #include <ossia/network/base/device.hpp>
11 #include <ossia/network/base/protocol.hpp>
12 
13 #include <QLineEdit>
14 class QComboBox;
15 namespace Gfx::Spout
16 {
17 using InputSettings = Gfx::SharedInputSettings;
19 {
20  SCORE_CONCRETE("3c995cb6-052b-4c52-a8fd-841b33b81b29")
21 public:
22  QString prettyName() const noexcept override;
23  QUrl manual() const noexcept override;
24  Device::DeviceEnumerators getEnumerators(const score::DocumentContext& ctx) const override;
25 
26  Device::DeviceInterface* makeDevice(
27  const Device::DeviceSettings& settings,
28  const Explorer::DeviceDocumentPlugin& plugin,
29  const score::DocumentContext& ctx) override;
30  const Device::DeviceSettings& defaultSettings() const noexcept override;
31 
32  Device::ProtocolSettingsWidget* makeSettingsWidget() override;
33 };
34 
36 {
37 public:
38  InputSettingsWidget(QWidget* parent = nullptr);
39 
40  Device::DeviceSettings getSettings() const override;
41 };
42 }
Definition: DeviceInterface.hpp:66
Definition: ProtocolSettingsWidget.hpp:22
Definition: SharedInputSettings.hpp:26
Definition: SharedInputSettings.hpp:51
Definition: SpoutInput.hpp:19
Definition: SpoutInput.hpp:36
Definition: DeviceSettings.hpp:20
Definition: SharedInputSettings.hpp:21
Definition: DocumentContext.hpp:18