Zrythm
v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
midi_bus_track.h
1
// SPDX-FileCopyrightText: © 2018-2020, 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
{
13
class
MidiBusTrack :
public
Track
14
{
15
Q_OBJECT
16
QML_ELEMENT
17
QML_UNCREATABLE (
""
)
18
19
public
:
20
MidiBusTrack (
FinalTrackDependencies
dependencies);
21
22
friend
void
init_from (
23
MidiBusTrack &obj,
24
const
MidiBusTrack &other,
25
utils::ObjectCloneType
clone_type);
26
27
private
:
28
friend
void
to_json (nlohmann::json &j,
const
MidiBusTrack &track)
29
{
30
to_json (j,
static_cast<
const
Track
&
>
(track));
31
}
32
friend
void
from_json (
const
nlohmann::json &j, MidiBusTrack &track)
33
{
34
from_json (j,
static_cast<
Track
&
>
(track));
35
}
36
};
37
}
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
midi_bus_track.h
Generated by
1.15.0