blob: 6c60c89b2e15c0e3e326fd29d966aa01509fcf70 (
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
|
// Copyright (C) 2017 Ford Motor Company
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef CPPCODEGENERATOR_H
#define CPPCODEGENERATOR_H
QT_BEGIN_NAMESPACE
class QJsonArray;
class QIODevice;
class CppCodeGenerator
{
public:
CppCodeGenerator(QIODevice *outputDevice);
void generate(const QJsonArray &classList, bool alwaysGenerateClass = false);
private:
QIODevice *m_outputDevice;
};
QT_END_NAMESPACE
#endif // CPPCODEGENERATOR_H
|