File: utils.h

package info (click to toggle)
qt6-remoteobjects 6.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,812 kB
  • sloc: cpp: 20,883; sh: 29; makefile: 26
file content (18 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2017 Ford Motor Company
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef UTILS_H
#define UTILS_H

#include <QByteArray>

QT_BEGIN_NAMESPACE
class QJsonValue;
class QJsonArray;
struct AST;

QByteArray generateClass(const QJsonValue &cls, bool alwaysGenerateClass = false);
AST classList2AST(const QJsonArray &classes);
QT_END_NAMESPACE

#endif // UTILS_H