Fully implement the state extension

This commit is contained in:
Robbert van der Helm
2022-09-27 15:12:38 +02:00
parent 225b5d7ef6
commit 7305178654
14 changed files with 130 additions and 7 deletions
+3 -1
View File
@@ -118,13 +118,14 @@ struct SupportedPluginExtensions {
bool supports_latency = false;
bool supports_note_ports = false;
bool supports_params = false;
bool supports_state = false;
bool supports_tail = false;
/**
* Get a list of `<bool, extension_name>` tuples for the supported
* extensions. Used during logging.
*/
std::array<std::pair<bool, const char*>, 5> list() const noexcept;
std::array<std::pair<bool, const char*>, 6> list() const noexcept;
template <typename S>
void serialize(S& s) {
@@ -132,6 +133,7 @@ struct SupportedPluginExtensions {
s.value1b(supports_latency);
s.value1b(supports_note_ports);
s.value1b(supports_params);
s.value1b(supports_state);
s.value1b(supports_tail);
}
};