gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

editorInterface.h (680B)


      1 #pragma once
      2 
      3 namespace genericUI
      4 {
      5 	class EditorInterface
      6 	{
      7 	public:
      8 		virtual ~EditorInterface() = default;
      9 
     10 		virtual const char* getResourceByFilename(const std::string& _name, uint32_t& _dataSize) = 0;
     11 
     12 		virtual int getParameterIndexByName(const std::string& _name) = 0;
     13 		virtual juce::Value* getParameterValue(int _parameterIndex, uint8_t _part) = 0;
     14 
     15 		virtual bool bindParameter(juce::Slider& _target, int _parameterIndex) = 0;
     16 		virtual bool bindParameter(juce::Button& _target, int _parameterIndex) = 0;
     17 		virtual bool bindParameter(juce::ComboBox& _target, int _parameterIndex) = 0;
     18 		virtual bool bindParameter(juce::Label& _target, int _parameterIndex) = 0;
     19 	};
     20 }