Zrythm
v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
clip_launcher.h
1
// SPDX-FileCopyrightText: © 2025 Alexandros Theodotou <alex@zrythm.org>
2
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4
#pragma once
5
6
#include "structure/scenes/scene.h"
7
8
#include <QtQmlIntegration>
9
10
namespace
zrythm::structure::scenes
11
{
12
class
ClipLauncher :
public
QObject
13
{
14
Q_OBJECT
15
Q_PROPERTY (
zrythm::structure::scenes::SceneList
* scenes READ scenes CONSTANT)
16
QML_ELEMENT
17
QML_UNCREATABLE (
""
)
18
19
public
:
20
ClipLauncher (
21
arrangement::ArrangerObjectRegistry &object_registry,
22
const
tracks::TrackCollection
&track_collection,
23
QObject * parent =
nullptr
);
24
25
SceneList
* scenes ()
const
{
return
scene_list_.get (); }
26
27
// Scene management
28
Q_INVOKABLE
Scene
* addScene ();
29
30
private
:
31
utils::QObjectUniquePtr<SceneList>
scene_list_;
32
33
arrangement::ArrangerObjectRegistry &object_registry_;
34
const
tracks::TrackCollection
&track_collection_;
35
};
36
37
}
// namespace zrythm::structure::scenes
zrythm::structure::scenes::SceneList
Definition
scene.h:59
zrythm::structure::scenes::Scene
Definition
scene.h:16
zrythm::structure::tracks::TrackCollection
A collection of tracks that provides a QAbstractListModel interface.
Definition
track_collection.h:21
zrythm::utils::QObjectUniquePtr
A unique pointer for QObject objects that also works with QObject-based ownership.
Definition
qt.h:38
src
structure
scenes
clip_launcher.h
Generated by
1.15.0