sm-26/Source/Presets.h

23 lines
390 B
C
Raw Normal View History

#pragma once
#include "SynthParams.h"
namespace sm26 {
class PresetStore
{
public:
static const Preset* all();
static int count();
static const Preset* get(int index);
static int indexOf(const char* name);
static const Preset* findByIndex(int clampedIndex);
static String fullLabel(const Preset& p);
private:
static Preset* table();
};
} // namespace sm26