Audacity 3.2.0
MirProjectInterface.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 MirProjectInterface.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
13#include "MirTypes.h"
14#include <optional>
15
16namespace MIR
17{
19{
20public:
21 virtual ~ProjectInterface() = default;
22 virtual bool ViewIsBeatsAndMeasures() const = 0;
24 double newTempo, std::optional<MIR::TimeSignature> timeSignature) = 0;
25 virtual double GetTempo() const = 0;
26 virtual bool
27 ShouldBeReconfigured(double newTempo, bool isSingleFileImport) = 0;
28 virtual void OnClipsSynchronized() = 0;
29};
30} // namespace MIR
virtual bool ShouldBeReconfigured(double newTempo, bool isSingleFileImport)=0
virtual void OnClipsSynchronized()=0
virtual void ReconfigureMusicGrid(double newTempo, std::optional< MIR::TimeSignature > timeSignature)=0
virtual bool ViewIsBeatsAndMeasures() const =0
virtual double GetTempo() const =0
virtual ~ProjectInterface()=default