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
10
namespace
zrythm::gui
11
{
12
13
class
AlertManager :
public
QObject
14
{
15
Q_OBJECT
16
QML_ELEMENT
17
18
public
:
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
src
gui
backend
alert_manager.h
Generated by
1.15.0