blob: a882bb19286af6011d9039c853770cd8686f4067 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (C) 2021 The Qt Company Ltd.
// Copyright (C) 2019 Luxoft Sweden AB
// Copyright (C) 2018 Pelagicore AG
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef CRASHHANDLER_H
#define CRASHHANDLER_H
#include <QtAppManCommon/global.h>
#include <QtCore/QVariantMap>
QT_FORWARD_DECLARE_CLASS(QQmlEngine)
QT_BEGIN_NAMESPACE_AM
namespace CrashHandler {
void setCrashActionConfiguration(bool printBacktrace, bool printQmlStack, int waitForGdbAttach,
bool dumpCore, int stackFramesToIgnoreOnCrash,
int stackFramesToIgnoreOnException);
void setQmlEngine(QQmlEngine *engine);
}
QT_END_NAMESPACE_AM
#endif // CRASHHANDLER_H
|