Zrythm
v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
arranger_object_test.h
1
// SPDX-FileCopyrightText: © 2025-2026 Alexandros Theodotou <alex@zrythm.org>
2
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4
#pragma once
5
6
#include "dsp/tempo_map.h"
7
#include "structure/arrangement/arranger_object.h"
8
9
namespace
zrythm
10
{
11
// Mock ArrangerObject with public constructor
12
class
MockArrangerObject :
public
structure::arrangement::ArrangerObject
13
{
14
Q_OBJECT
15
QML_ELEMENT
16
17
public
:
18
using
ArrangerObjectFeatures =
19
structure::arrangement::ArrangerObject::ArrangerObjectFeatures;
20
21
MockArrangerObject (
22
Type
type,
23
const
dsp::TempoMap &tempo_map,
24
ArrangerObjectFeatures features = ArrangerObjectFeatures::Bounds,
25
QObject * parent =
nullptr
)
26
:
ArrangerObject
(type, tempo_map, features, parent)
27
{
28
}
29
};
30
}
zrythm::structure::arrangement::ArrangerObject
Base class for all objects in the arranger.
Definition
arranger_object.h:32
zrythm::structure::arrangement::ArrangerObject::ArrangerObject
ArrangerObject(Type type, const dsp::TempoMap &tempo_map, ArrangerObjectFeatures features, QObject *parent=nullptr) noexcept
Construct a new ArrangerObject.
zrythm::structure::arrangement::ArrangerObject::Type
Type
The type of the object.
Definition
arranger_object.h:53
tests
unit
structure
arrangement
arranger_object_test.h
Generated by
1.16.1