1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef JSONGENERATOR
5#define JSONGENERATOR
6
7#include "logging.h"
8#include "package.h"
9
10#include <QtCore/qtextstream.h>
11#include <QtCore/qlist.h>
12
13namespace JsonGenerator {
14
15void generate(QTextStream &out, const QList<Package> &packages, LogLevel logLevel);
16
17} // namespace JsonGenerator
18
19#endif // JSONGENERATOR
20

source code of qttools/src/qtattributionsscanner/jsongenerator.h