diff --git a/src/plugins/score-plugin-jit/Bytebeat/Bytebeat.cpp b/src/plugins/score-plugin-jit/Bytebeat/Bytebeat.cpp index 0dc326aac1..a75df0ba55 100644 --- a/src/plugins/score-plugin-jit/Bytebeat/Bytebeat.cpp +++ b/src/plugins/score-plugin-jit/Bytebeat/Bytebeat.cpp @@ -310,4 +310,11 @@ EffectProcessFactory_T::descriptor(QString d) const noexcept { return Metadata::get(); } + +template <> +Process::Descriptor EffectProcessFactory_T::descriptor( + const Process::ProcessModel& d) const noexcept +{ + return descriptor(d.effect()); +} } diff --git a/src/plugins/score-plugin-jit/Bytebeat/Bytebeat.hpp b/src/plugins/score-plugin-jit/Bytebeat/Bytebeat.hpp index b41466feb5..df46b98e36 100644 --- a/src/plugins/score-plugin-jit/Bytebeat/Bytebeat.hpp +++ b/src/plugins/score-plugin-jit/Bytebeat/Bytebeat.hpp @@ -86,6 +86,10 @@ EffectProcessFactory_T::customConstructionData() const noexc template <> Process::Descriptor EffectProcessFactory_T::descriptor(QString d) const noexcept; + +template <> +Process::Descriptor EffectProcessFactory_T::descriptor( + const Process::ProcessModel& d) const noexcept; } class QPlainTextEdit; namespace Jit diff --git a/src/plugins/score-plugin-jit/JitCpp/AvndJit.cpp b/src/plugins/score-plugin-jit/JitCpp/AvndJit.cpp index fde6579c9e..9ea7d4fe08 100644 --- a/src/plugins/score-plugin-jit/JitCpp/AvndJit.cpp +++ b/src/plugins/score-plugin-jit/JitCpp/AvndJit.cpp @@ -482,6 +482,12 @@ EffectProcessFactory_T::descriptor(QString d) const noexcept return Metadata::get(); } +template <> +Process::Descriptor EffectProcessFactory_T::descriptor( + const Process::ProcessModel& d) const noexcept +{ + return descriptor(d.effect()); +} } namespace AvndJit { diff --git a/src/plugins/score-plugin-jit/JitCpp/AvndJit.hpp b/src/plugins/score-plugin-jit/JitCpp/AvndJit.hpp index 1505c5955f..a4bf93b29b 100644 --- a/src/plugins/score-plugin-jit/JitCpp/AvndJit.hpp +++ b/src/plugins/score-plugin-jit/JitCpp/AvndJit.hpp @@ -102,6 +102,10 @@ QString EffectProcessFactory_T::customConstructionData() const n template <> Process::Descriptor EffectProcessFactory_T::descriptor(QString d) const noexcept; + +template <> +Process::Descriptor EffectProcessFactory_T::descriptor( + const Process::ProcessModel& d) const noexcept; } namespace AvndJit diff --git a/src/plugins/score-plugin-jit/JitCpp/JitModel.cpp b/src/plugins/score-plugin-jit/JitCpp/JitModel.cpp index 8c5f1affa1..2f942d4809 100644 --- a/src/plugins/score-plugin-jit/JitCpp/JitModel.cpp +++ b/src/plugins/score-plugin-jit/JitCpp/JitModel.cpp @@ -471,7 +471,14 @@ EffectProcessFactory_T::descriptor(QString d) const noexcep return Metadata::get(); } +template <> +Process::Descriptor EffectProcessFactory_T::descriptor( + const Process::ProcessModel& d) const noexcept +{ + return descriptor(d.effect()); } +} + namespace Execution { diff --git a/src/plugins/score-plugin-jit/JitCpp/JitModel.hpp b/src/plugins/score-plugin-jit/JitCpp/JitModel.hpp index 7d33936406..8f9cefe895 100644 --- a/src/plugins/score-plugin-jit/JitCpp/JitModel.hpp +++ b/src/plugins/score-plugin-jit/JitCpp/JitModel.hpp @@ -100,6 +100,10 @@ EffectProcessFactory_T::customConstructionData() const noex template <> Process::Descriptor EffectProcessFactory_T::descriptor(QString d) const noexcept; + +template <> +Process::Descriptor EffectProcessFactory_T::descriptor( + const Process::ProcessModel& d) const noexcept; } namespace Execution diff --git a/src/plugins/score-plugin-jit/Texgen/Texgen.cpp b/src/plugins/score-plugin-jit/Texgen/Texgen.cpp index 308cbcf7e4..7b79a8a7e4 100644 --- a/src/plugins/score-plugin-jit/Texgen/Texgen.cpp +++ b/src/plugins/score-plugin-jit/Texgen/Texgen.cpp @@ -280,4 +280,10 @@ EffectProcessFactory_T::descriptor(QString d) const noexcept return Metadata::get(); } +template <> +Process::Descriptor EffectProcessFactory_T::descriptor( + const Process::ProcessModel& d) const noexcept +{ + return descriptor(d.effect()); +} } diff --git a/src/plugins/score-plugin-jit/Texgen/Texgen.hpp b/src/plugins/score-plugin-jit/Texgen/Texgen.hpp index 4ab36d9a9f..19d3dd9685 100644 --- a/src/plugins/score-plugin-jit/Texgen/Texgen.hpp +++ b/src/plugins/score-plugin-jit/Texgen/Texgen.hpp @@ -90,6 +90,9 @@ EffectProcessFactory_T::customConstructionData() const noexcep template <> Process::Descriptor EffectProcessFactory_T::descriptor(QString d) const noexcept; +template <> +Process::Descriptor EffectProcessFactory_T::descriptor( + const Process::ProcessModel& d) const noexcept; } class QPlainTextEdit; namespace Jit