Zrythm v2.0.0-alpha.1+31.4967fd053471
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
timeline_editor.h
1// SPDX-FileCopyrightText: © 2020, 2023-2025 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#pragma once
5
6#include "structure/project/editor_settings.h"
7
8#include <QtQmlIntegration/qqmlintegration.h>
9
10#include <nlohmann/json_fwd.hpp>
11
12namespace zrythm::utils
13{
14class IObjectRegistry;
15}
16
17namespace zrythm::structure::project
18{
19
20class TimelineEditor : public EditorSettings
21{
22 Q_OBJECT
23 QML_ELEMENT
24 QML_UNCREATABLE ("")
25
26public:
27 TimelineEditor (
28 const utils::IObjectRegistry &registry,
29 QObject * parent = nullptr);
30
31private:
32 friend void init_from (
33 TimelineEditor &obj,
34 const TimelineEditor &other,
35 utils::ObjectCloneType clone_type);
36 friend void to_json (nlohmann::json &j, const TimelineEditor &p);
37 friend void from_json (const nlohmann::json &j, TimelineEditor &p);
38};
39
40}
Abstract interface for a UUID-keyed object registry.
String utilities.