C
Qt Cluster: Rendering and Recovery from Main UI Failure
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
// This file is part of the Qt Safe Renderer module
#ifndef CRASHER_H
#define CRASHER_H
#include <QObject>
class Crasher : public QObject
{
Q_OBJECT
public:
Crasher(QObject *parent=nullptr);
Q_INVOKABLE void crash();
signals:
void crashChanged(bool crash, const QString &zone = QString());
};
#endif // CRASHER_H