- added legacy (< v1.0.0) import for patches

- added legacy (< v1.0.0) import for banks
This commit is contained in:
2023-05-03 17:59:08 +02:00
parent c9c06c9d97
commit 6bd4590a54
3 changed files with 230 additions and 178 deletions
+13 -8
View File
@@ -207,11 +207,11 @@ public:
XmlElement* getXmlFromBinary (const void* data, const int sizeInBytes);
const String getParameterNameXML (int index);
void patch2xml(XmlElement *xml, JaySynthSound const *patch);
void xml2patch(const XmlElement *xml, JaySynthSound *patch);
void patchEncodeXml(XmlElement *xml, JaySynthSound const *patch);
void patchDecodeXml(const XmlElement *xml, JaySynthSound *patch);
void bank2xml(XmlElement *xml);
void xml2bank(const XmlElement *xml);
void bankEncodeXml(XmlElement *xml);
void bankDecodeXml(const XmlElement *xml);
void getCurrentProgramStateInformation (MemoryBlock& destData);
void setCurrentProgramStateInformation (const void* data, int sizeInBytes);
@@ -219,10 +219,15 @@ public:
void getStateInformation (MemoryBlock& destData);
void setStateInformation (const void* data, int sizeInBytes);
void loadPatch (const File &file, int index);
void savePatch (const File &file, int index);
void loadBank (const File &file);
void saveBank (const File &file);
void loadPatchFromFile (const File &file, int index);
void savePatchToFile (const File &file, int index);
void loadBankFromFile (const File &file);
void saveBankToFile (const File &file);
void patchImportXml_legacy(const XmlElement& xml, JaySynthSound *patch);
void bankImportXml_legacy(const XmlElement& xml);
void bankImportXml (const XmlElement *xml);
void patchImportXml (const XmlElement *xml, JaySynthSound *patch);
void commitEditBuffer();
//==============================================================================