Mercurial > hg > touchkeys
comparison 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 |
comparison
equal
deleted
inserted
replaced
35:3f948746885a | 36:0deac2806a7b |
---|---|
72 bool hasBasicEditor() { return true; } | 72 bool hasBasicEditor() { return true; } |
73 MappingEditorComponent* createBasicEditor(); | 73 MappingEditorComponent* createBasicEditor(); |
74 bool hasExtendedEditor() { return false; } | 74 bool hasExtendedEditor() { return false; } |
75 MappingEditorComponent* createExtendedEditor() { return nullptr; } | 75 MappingEditorComponent* createExtendedEditor() { return nullptr; } |
76 | 76 |
77 // ****** Preset Save/Load ****** | |
78 XmlElement* getPreset(); | |
79 bool loadPreset(XmlElement const* preset); | |
80 | |
77 private: | 81 private: |
78 // ***** Private Methods ***** | 82 // ***** Private Methods ***** |
79 void initializeMappingParameters(int noteNumber, TouchkeyPitchBendMapping *mapping); | 83 void initializeMappingParameters(int noteNumber, TouchkeyPitchBendMapping *mapping); |
80 void setBendParameters(); | 84 void setBendParameters(); |
81 | 85 |