Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
midi_group_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
8namespace zrythm::structure::tracks
9{
10class MidiGroupTrack : public Track
11{
12 Q_OBJECT
13 QML_ELEMENT
14 QML_UNCREATABLE ("")
15
16public:
17 MidiGroupTrack (FinalTrackDependencies dependencies);
18
19 friend void init_from (
20 MidiGroupTrack &obj,
21 const MidiGroupTrack &other,
22 utils::ObjectCloneType clone_type);
23
24 // ========================================================================
25 // QML Interface
26 // ========================================================================
27
28 // ========================================================================
29
30private:
31 friend void to_json (nlohmann::json &j, const MidiGroupTrack &track)
32 {
33 to_json (j, static_cast<const Track &> (track));
34 }
35 friend void from_json (const nlohmann::json &j, MidiGroupTrack &track)
36 {
37 from_json (j, static_cast<Track &> (track));
38 }
39};
40}
Track(Type type, PortType in_signal_type, PortType out_signal_type, TrackFeatures enabled_features, BaseTrackDependencies dependencies)
Constructor to be used by subclasses.