10#ifndef __SETTINGS_CHORD_PRESET_PACK_MANAGERH__
11#define __SETTINGS_CHORD_PRESET_PACK_MANAGERH__
13#include "zrythm-config.h"
23#define CHORD_PRESET_PACK_MANAGER (gZrythm->chord_preset_pack_manager)
49chord_preset_pack_manager_get_pack_at (
54chord_preset_pack_manager_get_pack_for_preset (
59chord_preset_pack_manager_get_pack_index (
91chord_preset_pack_manager_delete_pack (
97chord_preset_pack_manager_delete_preset (
107WARN_UNUSED_RESULT
bool
void chord_preset_pack_manager_add_preset(ChordPresetPackManager *self, ChordPresetPack *pack, const ChordPreset *pset, bool serialize)
Add a copy of the given preset.
WARN_UNUSED_RESULT bool chord_preset_pack_manager_serialize(ChordPresetPackManager *self, GError **error)
Serializes the chord presets.
int chord_preset_pack_manager_get_pset_index(ChordPresetPackManager *self, ChordPreset *pset)
Returns the preset index in its pack.
ChordPresetPackManager * chord_preset_pack_manager_new(bool scan_for_packs)
Creates a new chord preset pack manager.
void chord_preset_pack_manager_add_pack(ChordPresetPackManager *self, const ChordPresetPack *pack, bool serialize)
Add a copy of the given pack.
Chord preset pack manager.
GPtrArray * pset_packs
Scanned preset packs.
A preset of chord descriptors.