mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Add serialization support for PluginType
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user