2 #include <Process/ProcessFactory.hpp>
4 #include <score/plugins/SerializableInterface.hpp>
6 #include <score/serialization/MimeVisitor.hpp>
12 inline constexpr
auto processdata()
14 return "application/x-score-processdata";
16 inline constexpr
auto processpreset()
18 return "application/x-score-processpreset";
20 inline constexpr
auto processcontrol()
22 return "application/x-score-processcontrol";
24 inline constexpr
auto layerdata()
26 return "application/x-score-layerdata";
28 inline constexpr
auto scenariodata()
30 return "application/x-score-scenariodata";
47 using MimeDataReader::MimeDataReader;
50 m_mime.setData(score::mime::processdata(), DataStreamReader::marshall(lst));
57 using MimeDataWriter::MimeDataWriter;
60 return DataStreamWriter::unmarshall<Process::ProcessData>(
61 m_mime.data(score::mime::processdata()));
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: MimeVisitor.hpp:22
Definition: MimeVisitor.hpp:32
Definition: MimeVisitor.hpp:7
Definition: MimeVisitor.hpp:9
Definition: ProcessMimeSerialization.hpp:38