PresetManager.h (487B)
1 #ifndef PRESETMANAGER_H_INCLUDED 2 #define PRESETMANAGER_H_INCLUDED 3 4 #include "JuceHeader.h" 5 6 class PresetManager : public chowdsp::PresetManager 7 { 8 public: 9 PresetManager (AudioProcessorValueTreeState& vts); 10 11 chowdsp::Preset loadUserPresetFromFile (const File& file) override; 12 void loadPresetState (const XmlElement* xml) override; 13 14 private: 15 void loadFactoryPresets(); 16 17 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PresetManager) 18 }; 19 20 #endif // PRESETMANAGER_H_INCLUDED