1 | // Copyright (C) 2016 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef QQMLPARSERSTATUS_H |
5 | #define QQMLPARSERSTATUS_H |
6 | |
7 | #include <QtQml/qtqmlglobal.h> |
8 | #include <QtCore/qobject.h> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | |
13 | class Q_QML_EXPORT QQmlParserStatus |
14 | { |
15 | public: |
16 | QQmlParserStatus(); |
17 | virtual ~QQmlParserStatus(); |
18 | |
19 | virtual void classBegin()=0; |
20 | virtual void componentComplete()=0; |
21 | |
22 | private: |
23 | friend class QQmlComponent; |
24 | friend class QQmlComponentPrivate; |
25 | friend class QQmlEnginePrivate; |
26 | friend class QQmlObjectCreator; |
27 | QQmlParserStatus **d; |
28 | }; |
29 | |
30 | #define QQmlParserStatus_iid "org.qt-project.Qt.QQmlParserStatus" |
31 | Q_DECLARE_INTERFACE(QQmlParserStatus, QQmlParserStatus_iid) |
32 | |
33 | QT_END_NAMESPACE |
34 | |
35 | #endif // QQMLPARSERSTATUS_H |
36 |