From 21a0b7ace085ec506950d357ca8958c19dd1060c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Mar 2012 16:43:01 +0000 Subject: Use combo box for plugin controls for ports marked as lv2:enumeration. git-svn-id: svn://localhost/ardour2/branches/3.0@11745 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/plugin.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/ardour/ardour/plugin.h') diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index ec185b3a31..d73fef2f53 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -84,6 +84,11 @@ class Plugin : public PBD::StatefulDestructible, public Latent struct ParameterDescriptor { + /* XXX: it would probably be nice if this initialised everything */ + ParameterDescriptor () + : enumeration (false) + {} + /* essentially a union of LADSPA and VST info */ bool integer_step; @@ -98,6 +103,7 @@ class Plugin : public PBD::StatefulDestructible, public Latent float largestep; bool min_unbound; bool max_unbound; + bool enumeration; }; XMLNode& get_state (); -- cgit v1.2.3