Add serialization support for PluginType

This commit is contained in:
Robbert van der Helm
2020-11-30 22:53:08 +01:00
parent 67388dc2a6
commit 1142c908df
+5
View File
@@ -42,6 +42,11 @@ enum class LibArchitecture { dll_32, dll_64 };
*/
enum class PluginType { vst2, vst3, unknown };
template <typename S>
void serialize(S& s, PluginType& plugin_type) {
s.value4b(plugin_type);
}
/**
* Determine the architecture of a `.dll` file based on the file header.
*