summaryrefslogtreecommitdiff
path: root/src/midimapper.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-10-30 17:42:19 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2018-10-30 17:42:19 +0100
commit793495a6be9e9fffa8f7ec0e1d3ee4b055c93371 (patch)
tree837a68c7d839443cdf55673eca84168794e90725 /src/midimapper.cc
parent5780c16004944fd29f8a37bf40a877cb15e51488 (diff)
Added dynamic midnam support.
Diffstat (limited to 'src/midimapper.cc')
-rw-r--r--src/midimapper.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/midimapper.cc b/src/midimapper.cc
index ab3d8d7..9243ecf 100644
--- a/src/midimapper.cc
+++ b/src/midimapper.cc
@@ -51,3 +51,8 @@ void MidiMapper::swap(instrmap_t& instrmap, midimap_t& midimap)
std::swap(this->instrmap, instrmap);
std::swap(this->midimap, midimap);
}
+
+const midimap_t& MidiMapper::getMap()
+{
+ return midimap;
+}