I have some additions to the AU and VST wrapper code for preset management. I currently have these implemented by patching juce_AU_Wrapper.mm. It would be great if I could make my own subclass of JuceAU and not have to patch, but this seems impossible because the entry point is defined directly in the file (as JUCE_COMPONENT_ENTRY).
Jules, do you have an idea how this code can be extended?
Currently my best idea is to #ifdef out the JUCE_COMPONENT_ENTRY on AU and the pluginEntryPoint stuff on VST. Someone making subclasses would be responsible for adding their own entry point code to make a MyJuceAU / MyJuceVSTWrapper instead of the existing ones. But there are enough #ifdefs around already, I don’t like the added cruft.
You could also add hooks to extend individual methods, but this would take more coordinated effort.
My changes (preset management stuff) are probably useful ones that could be rolled into the trunk, but this doesn’t solve the problem of making the thing extensible in general.