Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
chord_preset_pack_manager.h File Reference

Chord preset pack manager. More...

#include "zrythm-config.h"
#include <stdbool.h>
#include "settings/chord_preset_pack.h"
Include dependency graph for chord_preset_pack_manager.h:

Go to the source code of this file.

Data Structures

struct  ChordPresetPackManager
 Chord preset pack manager. More...
 

Macros

#define CHORD_PRESET_PACK_MANAGER   (ZRYTHM->chord_preset_pack_manager)
 

Functions

ChordPresetPackManagerchord_preset_pack_manager_new (bool scan_for_packs)
 Creates a new chord preset pack manager.
 
int chord_preset_pack_manager_get_num_packs (const ChordPresetPackManager *self)
 
ChordPresetPackchord_preset_pack_manager_get_pack_at (const ChordPresetPackManager *self, int idx)
 
NONNULL ChordPresetPackchord_preset_pack_manager_get_pack_for_preset (ChordPresetPackManager *self, const ChordPreset *pset)
 
int chord_preset_pack_manager_get_pack_index (ChordPresetPackManager *self, ChordPresetPack *pack)
 
int chord_preset_pack_manager_get_pset_index (ChordPresetPackManager *self, ChordPreset *pset)
 Returns the preset index in its pack.
 
void chord_preset_pack_manager_add_preset (ChordPresetPackManager *self, ChordPresetPack *pack, const ChordPreset *pset, bool serialize)
 Add a copy of the given preset.
 
void chord_preset_pack_manager_add_pack (ChordPresetPackManager *self, const ChordPresetPack *pack, bool serialize)
 Add a copy of the given pack.
 
void chord_preset_pack_manager_delete_pack (ChordPresetPackManager *self, ChordPresetPack *pack, bool serialize)
 
void chord_preset_pack_manager_delete_preset (ChordPresetPackManager *self, ChordPreset *pset, bool serialize)
 
WARN_UNUSED_RESULT bool chord_preset_pack_manager_serialize (ChordPresetPackManager *self, GError **error)
 Serializes the chord presets.
 
void chord_preset_pack_manager_free (const ChordPresetPackManager *self)
 

Detailed Description

Chord preset pack manager.

Definition in file chord_preset_pack_manager.h.