diff Source/Mappings/PitchBend/TouchkeyPitchBendMappingFactory.h @ 36:0deac2806a7b

Preset support for the rest of the mappings.
author Andrew McPherson <andrewm@eecs.qmul.ac.uk>
date Fri, 21 Mar 2014 12:53:50 +0000
parents 353276611036
children 90ce403d0dc5
line wrap: on
line diff
--- a/Source/Mappings/PitchBend/TouchkeyPitchBendMappingFactory.h	Fri Mar 21 00:23:32 2014 +0000
+++ b/Source/Mappings/PitchBend/TouchkeyPitchBendMappingFactory.h	Fri Mar 21 12:53:50 2014 +0000
@@ -74,6 +74,10 @@
     bool hasExtendedEditor() { return false; }
     MappingEditorComponent* createExtendedEditor() { return nullptr; }
 
+    // ****** Preset Save/Load ******
+    XmlElement* getPreset();
+    bool loadPreset(XmlElement const* preset);
+    
 private:
     // ***** Private Methods *****
     void initializeMappingParameters(int noteNumber, TouchkeyPitchBendMapping *mapping);