Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
automation_editor.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2019-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __SCHEMAS_GUI_BACKEND_AUTOMATION_EDITOR_H__
11#define __SCHEMAS_GUI_BACKEND_AUTOMATION_EDITOR_H__
12
14#include "utils/yaml.h"
15
16typedef struct AutomationEditor_v1
17{
18 int schema_version;
19 EditorSettings_v1 editor_settings;
21
22static const cyaml_schema_field_t automation_editor_fields_schema_v1[] = {
23 YAML_FIELD_INT (AutomationEditor_v1, schema_version),
24 YAML_FIELD_MAPPING_EMBEDDED (
26 editor_settings,
27 editor_settings_fields_schema_v1),
28
29 CYAML_FIELD_END
30};
31
32static const cyaml_schema_value_t automation_editor_schema_v1 = {
33 YAML_VALUE_PTR (AutomationEditor_v1, automation_editor_fields_schema_v1),
34};
35
36#endif
Editor settings schema.
YAML utils.