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 CPPCODEGENERATOR_H
5#define CPPCODEGENERATOR_H
6
7QT_BEGIN_NAMESPACE
8class QJsonArray;
9class QIODevice;
10
11class CppCodeGenerator
12{
13public:
14 CppCodeGenerator(QIODevice *outputDevice);
15
16 void generate(const QJsonArray &classList, bool alwaysGenerateClass = false);
17
18private:
19 QIODevice *m_outputDevice;
20};
21
22QT_END_NAMESPACE
23
24#endif // CPPCODEGENERATOR_H
25

source code of qtremoteobjects/tools/repc/cppcodegenerator.h