summaryrefslogtreecommitdiff
path: root/pluginlv2.h
diff options
context:
space:
mode:
Diffstat (limited to 'pluginlv2.h')
-rw-r--r--pluginlv2.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pluginlv2.h b/pluginlv2.h
index 86a661e..10f816e 100644
--- a/pluginlv2.h
+++ b/pluginlv2.h
@@ -36,11 +36,16 @@
#include <lv2/lv2plug.in/ns/extensions/ui/ui.h>
#define DISPLAY_INTERFACE
+#define MIDNAME_INTERFACE
#ifdef DISPLAY_INTERFACE
#include "inline-display.h"
#endif
+#ifdef MIDNAME_INTERFACE
+#include "midnam_lv2.h"
+#endif
+
enum class LV2Ports
{
FreeWheel = 0,
@@ -256,6 +261,13 @@ private:
uint32_t max_h);
#endif
+#ifdef MIDNAME_INTERFACE
+ LV2_Midnam* midnam{nullptr};
+ static char* MidnamFile (LV2_Handle instance);
+ static char* MidnamModel (LV2_Handle instance);
+ static void MidnamFree (char*);
+#endif
+
bool active{false};
//