1 | // Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies). |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #include "qsceneexporter_p.h" |
5 | |
6 | #include <private/renderlogging_p.h> |
7 | |
8 | QT_BEGIN_NAMESPACE |
9 | |
10 | namespace Qt3DRender { |
11 | |
12 | QSceneExporter::QSceneExporter() : QObject() |
13 | { |
14 | } |
15 | |
16 | QSceneExporter::~QSceneExporter() |
17 | { |
18 | } |
19 | |
20 | QStringList QSceneExporter::errors() const |
21 | { |
22 | return m_errors; |
23 | } |
24 | |
25 | void QSceneExporter::logError(const QString &error) |
26 | { |
27 | m_errors.append(t: error); |
28 | emit errorsChanged(errors: m_errors); |
29 | } |
30 | |
31 | void QSceneExporter::logInfo(const QString &info) |
32 | { |
33 | qCDebug(Render::Io) << info; |
34 | } |
35 | |
36 | } // namespace Qt3DRender |
37 | |
38 | QT_END_NAMESPACE |
39 | |
40 | #include "moc_qsceneexporter_p.cpp" |
41 |