summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-10-30 17:37:50 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2018-10-30 17:37:50 +0100
commit75b19928e264ed5a58077498fd61f71e99dc400d (patch)
treed03c7d8239074566b8b30c95c8b02772bf875da7 /plugin.h
parentdfe71a21e5a190e5228964265c62416779454bec (diff)
Add interface to set midnam data from the outside
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin.h b/plugin.h
index f541255..e1d8d69 100644
--- a/plugin.h
+++ b/plugin.h
@@ -120,6 +120,9 @@ public:
virtual std::size_t getNumberOfAudioOutputs() = 0;
+ //! Call this method to set midnam data for midi input
+ virtual void setMidnamData(const std::vector<std::pair<int, std::string>>& midnam) {}
+
//! Get unique plugin id.
virtual std::string getId() = 0;