From 77b3943b751bed43d230de6db322a750bfd1fc8e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 4 Apr 2013 21:19:58 +0200 Subject: New message system. New common midi input class. Some compiler warning fixes. New ListBoxBasic class used by both LustBox and ComboBox. New embossed font. --- src/midimapper.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/midimapper.cc') diff --git a/src/midimapper.cc b/src/midimapper.cc index ca0cc21..d4ff94e 100644 --- a/src/midimapper.cc +++ b/src/midimapper.cc @@ -33,3 +33,9 @@ int MidiMapper::lookup(int note) if(instrmap.find(instr) == instrmap.end()) return -1; return instrmap[instr]; } + +void MidiMapper::clear() +{ + midimap.clear(); + instrmap.clear(); +} -- cgit v1.2.3