50 SCORE_INTERFACE(
ProtocolFactory,
"3f69d72e-318d-42dc-b48c-a806036592f1")
56 static const constexpr auto osc =
"Network";
57 static const constexpr auto audio =
"Audio";
58 static const constexpr auto video =
"Video";
59 static const constexpr auto web =
"Web";
60 static const constexpr auto hardware =
"Hardware";
61 static const constexpr auto software =
"Software";
62 static const constexpr auto lights =
"Lights";
63 static const constexpr auto util =
"Utilities";
68 EditingReloadsEverything = (1 << 0)
71 virtual Flags flags() const noexcept;
73 virtual QString prettyName() const noexcept = 0;
74 virtual QString category() const noexcept = 0;
75 virtual QUrl manual() const noexcept;
79 virtual
int visualPriority() const noexcept;
81 virtual DeviceEnumerators getEnumerators(const
score::DocumentContext& ctx) const;
85 const Explorer::DeviceDocumentPlugin& plugin, const
score::DocumentContext& ctx)
95 const
score::DocumentContext& ctx, QWidget*)
101 virtual
void serializeProtocolSpecificSettings(
105 template <typename T>
106 void serializeProtocolSpecificSettings_T(
109 score::serialize_dyn(visitor, data.value<T>());
113 virtual QVariant makeProtocolSpecificSettings(
const VisitorVariant& visitor)
const = 0;
115 template <
typename T>
116 QVariant makeProtocolSpecificSettings_T(
const VisitorVariant& vis)
const
118 return QVariant::fromValue(score::deserialize_dyn<T>(vis));
124 virtual bool checkResourcesAvailable(
128 virtual bool checkCompatibility(