1 | // Copyright (C) 2017 Ford Motor Company |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 |
3 | |
4 | #ifndef UTILS_H |
5 | #define UTILS_H |
6 | |
7 | #include <QByteArray> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | class QJsonValue; |
11 | class QJsonArray; |
12 | struct AST; |
13 | |
14 | QByteArray generateClass(const QJsonValue &cls, bool alwaysGenerateClass = false); |
15 | AST classList2AST(const QJsonArray &classes); |
16 | QT_END_NAMESPACE |
17 | |
18 | #endif // UTILS_H |
19 |