Zrythm
v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
folder_track.h
1
// SPDX-FileCopyrightText: © 2024-2025 Alexandros Theodotou <alex@zrythm.org>
2
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4
#pragma once
5
6
#include "structure/tracks/track.h"
7
8
namespace
zrythm::structure::tracks
9
{
10
14
class
FolderTrack :
public
Track
15
{
16
Q_OBJECT
17
QML_ELEMENT
18
QML_UNCREATABLE (
""
)
19
20
public
:
21
FolderTrack (
FinalTrackDependencies
dependencies);
22
23
// ========================================================================
24
// QML Interface
25
// ========================================================================
26
27
// ========================================================================
28
29
private
:
30
friend
void
to_json (nlohmann::json &j,
const
FolderTrack &track)
31
{
32
to_json (j,
static_cast<
const
Track
&
>
(track));
33
}
34
friend
void
from_json (
const
nlohmann::json &j, FolderTrack &track);
35
36
friend
void
init_from (
37
FolderTrack &obj,
38
const
FolderTrack &other,
39
utils::ObjectCloneType
clone_type);
40
};
41
42
}
// namespace zrythm::structure::tracks
zrythm::structure::tracks::Track::Track
Track(Type type, PortType in_signal_type, PortType out_signal_type, TrackFeatures enabled_features, BaseTrackDependencies dependencies)
Constructor to be used by subclasses.
zrythm::utils::ObjectCloneType
ObjectCloneType
Definition
icloneable.h:19
zrythm::structure::tracks::FinalTrackDependencies
Definition
track.h:796
src
structure
tracks
folder_track.h
Generated by
1.15.0