Implement the plugin side of the GUI functions

This commit is contained in:
Robbert van der Helm
2022-09-29 19:26:49 +02:00
parent 48a3c76fe6
commit cd609fa90f
5 changed files with 242 additions and 2 deletions
+3 -1
View File
@@ -115,6 +115,7 @@ struct Descriptor {
struct SupportedPluginExtensions {
// Don't forget to add new extensions to below method
bool supports_audio_ports = false;
bool supports_gui = false;
bool supports_latency = false;
bool supports_note_ports = false;
bool supports_params = false;
@@ -125,11 +126,12 @@ struct SupportedPluginExtensions {
* Get a list of `<bool, extension_name>` tuples for the supported
* extensions. Used during logging.
*/
std::array<std::pair<bool, const char*>, 6> list() const noexcept;
std::array<std::pair<bool, const char*>, 7> list() const noexcept;
template <typename S>
void serialize(S& s) {
s.value1b(supports_audio_ports);
s.value1b(supports_gui);
s.value1b(supports_latency);
s.value1b(supports_note_ports);
s.value1b(supports_params);