summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/plugin.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-10-29 19:21:48 +0200
committerRobin Gareus <robin@gareus.org>2016-10-29 19:57:43 +0200
commit3f739738062eb5fd646a1a88a61019b453bbda7f (patch)
tree20785d499e1bd18a99d8bc851989813c1ecced64 /libs/ardour/ardour/plugin.h
parentf8167ebe20ea5d6e4e8d376dfae1b211887977e9 (diff)
Prototype LV2 extension for plugins to provide Midnams
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r--libs/ardour/ardour/plugin.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h
index 612091191e..7d35ac7c2e 100644
--- a/libs/ardour/ardour/plugin.h
+++ b/libs/ardour/ardour/plugin.h
@@ -166,6 +166,11 @@ class LIBARDOUR_API Plugin : public PBD::StatefulDestructible, public Latent
virtual Display_Image_Surface* render_inline_display (uint32_t, uint32_t) { return NULL; }
PBD::Signal0<void> QueueDraw;
+ virtual bool has_midnam () { return false; }
+ virtual bool read_midnam () { return false; }
+ virtual std::string midnam_model () { return ""; }
+ PBD::Signal0<void> UpdateMidnam;
+
struct PresetRecord {
PresetRecord () : valid (false) {}
PresetRecord (const std::string& u, const std::string& l, bool s = true) : uri (u), label (l), user (s), valid (true) {}