Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
alert_manager.h
1// SPDX-FileCopyrightText: © 2024 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#pragma once
5
6#include <QObject>
7#include <QString>
8#include <QtQmlIntegration>
9
10namespace zrythm::gui
11{
12
13class AlertManager : public QObject
14{
15 Q_OBJECT
16 QML_ELEMENT
17
18public:
19 explicit AlertManager (QObject * parent = nullptr);
20
21 Q_INVOKABLE void showAlert (const QString &title, const QString &message);
22
23 Q_SIGNAL void alertRequested (const QString &title, const QString &message);
24};
25
26} // namespace zrythm::gui