13#ifndef __SETTINGS_CHORD_PRESET_PACK_H__
14#define __SETTINGS_CHORD_PRESET_PACK_H__
16#include "zrythm-config.h"
29#define CHORD_PRESET_PACK_SCHEMA_VERSION 1
51static const cyaml_schema_field_t chord_preset_pack_fields_schema[] = {
62static const cyaml_schema_value_t chord_preset_pack_schema = {
67chord_preset_pack_new (
const char * name,
bool is_standard);
70chord_preset_pack_contains_name (
const ChordPresetPack * self,
const char * name);
73chord_preset_pack_contains_preset (
103chord_preset_pack_destroy_cb (
void * self);
void chord_preset_pack_add_preset(ChordPresetPack *self, const ChordPreset *pset)
#define YAML_VALUE_PTR(cc, fields_schema)
Schema to be used as a pointer.
#define YAML_FIELD_DYN_PTR_ARRAY_VAR_COUNT_OPT(owner, member, schema)
Dynamic-width (reallocated) array of pointers with variable count, nullable.
ChordPreset ** presets
Presets.
bool is_standard
Whether this is a standard preset pack (not user-defined).
A preset of chord descriptors.