mirror of
https://codeberg.org/armin/sm-26.git
synced 2026-10-12 01:11:53 +02:00
23 lines
No EOL
390 B
C++
23 lines
No EOL
390 B
C++
#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
|