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