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
9namespace zrythm
10{
11// Mock ArrangerObject with public constructor
12class MockArrangerObject : public structure::arrangement::ArrangerObject
13{
14 Q_OBJECT
15 QML_ELEMENT
16
17public:
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}
Base class for all objects in the arranger.
ArrangerObject(Type type, const dsp::TempoMap &tempo_map, ArrangerObjectFeatures features, QObject *parent=nullptr) noexcept
Construct a new ArrangerObject.