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 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// Mock ArrangerObject with public constructor
10class MockArrangerObject : public zrythm::structure::arrangement::ArrangerObject
11{
12 Q_OBJECT
13 QML_ELEMENT
14
15public:
16 using ArrangerObjectFeatures =
17 structure::arrangement::ArrangerObject::ArrangerObjectFeatures;
18
19 MockArrangerObject (
20 Type type,
21 const zrythm::dsp::TempoMap &tempo_map,
22 ArrangerObjectFeatures features = ArrangerObjectFeatures::Bounds,
23 QObject * parent = nullptr)
24 : ArrangerObject (type, tempo_map, features, parent)
25 {
26 }
27};
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.