Define the Ack message in serialization/common.h

We're going to need this for VST2 audio processing.
This commit is contained in:
Robbert van der Helm
2021-06-10 13:38:46 +02:00
parent 503d8248c2
commit 23d99411c8
2 changed files with 9 additions and 9 deletions
-9
View File
@@ -69,15 +69,6 @@ std::u16string tchar_pointer_to_u16string(const Steinberg::Vst::TChar* string,
const Steinberg::Vst::TChar* u16string_to_tchar_pointer(
const std::u16string& string) noexcept;
/**
* Empty struct for when we have send a response to some operation without any
* result values.
*/
struct Ack {
template <typename S>
void serialize(S&) {}
};
/**
* Both `TUID` (`int8_t[16]`) and `FIDString` (`char*`) are hard to work with
* because you can't just copy them. So when serializing/deserializing them